[solved] Stopping LiveTV / MultiFileWriter: failed to create file (1 Viewer)

JackTramiel

MP Donator
  • Premium Supporter
  • November 22, 2006
    1,400
    79
    42
    Recklinghausen
    Germany Germany
    Country flag
    Hi. Since some time i have a problem with stopping live tv.

    There are a lot of errors in the tswriter.log.

    [2014-06-04 15:41:13,145] [64289b8] [16d8] - MultiFileWriter: failed to create file \\Server\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 15:47:00,366] [64289b8] [16d8] - MultiFileWriter: failed to create file \\Server\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 15:47:00,366] [64289b8] [16d8] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 15:47:00,967] [64289b8] [16d8] - MultiFileWriter: failed to create file \\Server\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 15:47:00,967] [64289b8] [16d8] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 15:47:01,568] [64289b8] [16d8] - MultiFileWriter: failed to create file \\Server\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 15:47:01,568] [64289b8] [16d8] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 15:47:02,169] [64289b8] [16d8] - MultiFileWriter: failed to create file \\Server\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 15:47:02,169] [64289b8] [16d8] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 15:47:02,669] [64289b8] [16d8] - Recorder:pid a6 Continuity error... 0 ( prev d ) - bad signal?

    My timeshift folder was on a RAM drive. Because i saw some "Device (200:40000) Stream 1 dropped data" messages in my event viewer i opened a ticket at digital devices support.
    They suggested to try another drive, so i switched to a hdd. Same issue.

    I am running 1.8pre since 2 days, but the issue was there before.
     
    Last edited:

    JackTramiel

    MP Donator
  • Premium Supporter
  • November 22, 2006
    1,400
    79
    42
    Recklinghausen
    Germany Germany
    Country flag
    DD Support advised me to try MS Codecs insted of LAV.

    Just for my understanding, how can a codec on the client side create issues on the timeshift file on the server side?
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    Hi,

    this is not a codec issue. Why do you use unc path for recordings and timeshift inside the tvserver?
     

    JackTramiel

    MP Donator
  • Premium Supporter
  • November 22, 2006
    1,400
    79
    42
    Recklinghausen
    Germany Germany
    Country flag
    Never knew this and thought technicaly there should be no difference. I ll try the absolute path.
     

    JackTramiel

    MP Donator
  • Premium Supporter
  • November 22, 2006
    1,400
    79
    42
    Recklinghausen
    Germany Germany
    Country flag
    Did not help. Is there anything else i could try?

    [2014-06-04 22:04:46,630] [66b89b8] [129c] - MultiFileWriter: failed to create file I:\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 22:10:10,576] [66b89b8] [129c] - MultiFileWriter: failed to create file I:\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 22:10:10,576] [66b89b8] [129c] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 22:10:11,176] [66b89b8] [129c] - MultiFileWriter: failed to create file I:\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 22:10:11,176] [66b89b8] [129c] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 22:10:11,777] [66b89b8] [129c] - MultiFileWriter: failed to create file I:\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 22:10:11,777] [66b89b8] [129c] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 22:10:12,378] [66b89b8] [129c] - MultiFileWriter: failed to create file I:\timeshifttest\live8-0.ts.tsbuffer1.ts
    [2014-06-04 22:10:12,378] [66b89b8] [129c] - Failed to reopen old file. It's currently in use. Dropping data!
    [2014-06-04 22:10:12,878] [66b89b8] [129c] - Recorder:pid a3 Continuity error... 0 ( prev d ) - bad signal?
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,219
    New Zealand New Zealand
    Country flag
    Agree with regeszter: full logs please. :)
    Also, as the message says: is it possible that some other application (like security software or even MP) could be using/accessing these files and preventing deletion?
    Alternatively, are you sure the user account that the TV service is using has permission to delete files from that location?
     

    JackTramiel

    MP Donator
  • Premium Supporter
  • November 22, 2006
    1,400
    79
    42
    Recklinghausen
    Germany Germany
    Country flag
    Trying to collect full logs right now. Theres a good chance it will take some hours to get the issue, it happens randomly.
    Guess it wouldnt be enough to manually start timeshift to gather logs? Usually no one is watching tv over the day.

    There is no security software running. Only software i installed lately was mpextended and a bunch of windows updates.

    Shouldnt be a permission issue. Everyone has full permissions on media and timeshift folders.
    I am using the same user account for all clients and the Server, set to admin privileges.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    D wintv doesn’t stop recording on time Newcomers Forum 2
    toricred Using TMM, How to Stop Importer From Going to The Movie Database for Data General 1
    mickb [solved] Mediaportal Stops working General Support 5
    D [solved] Movie artwork download stopped working Submit: Bug Reports 9
    M MP 2.2.3 Unable to play .ts recordings and MediaPortal stops working for TV viewing General 31
    ajs [solved] 4982: Why this error hard stop when Mediaportal start? MediaPortal 1 3
    rsbrux IR has stopped working Remotes 4
    2BitSculptor MP 1.23.. music stops playing General Support 6
    M MP1 stops responding after Starting Plugins General Support 14
    fredco [solved] Large import not working Moving Pictures 15
    W Recordings will not stop General Support 8
    S [solved] Live TV playing stopped General 13
    R [solved] Watching a record during recording stops sometimes 2.2 Archive 30
    N [confirm] Calling RemoveScheduleForProgramAsync does not stop the recording if it is currently in progress MediaPortal 2 1
    N [confirm] Playing a recording, then pressing stop does not leave cursor on the recording MediaPortal 2 21
    N [will not fix] Changed settings do not take effect until MP2-Client is stopped and restarted. Submit: Bug Reports 4
    D Skip to end/live during dvbip recording causes it to stop playing instead. General Support 15
    Glith Sound stops working after first playback 1.21 88
    Patrik-See [solved] MediaPortal 2.2 Fernseher bleibt schwarz nach TV Sender Stop Allgemeines Support- und Diskussionsforum 2
    C [solved] how to stop recording? General 3
    B Server service on the service monitor keeps stopping randomly. Client can't see server status. 2.2 Archive 5
    A TV playback intermittently stops on clients Television (MyTV frontend and TV-Server) 4
    M Scan channels stopped working on Windows 10 Installation, configuration support 1
    Alberto83 [no Bug] Watched status not retained when rewatching an episode and stopping. Archive 49
    M Music playback stops after certain files 1.19 0
    Similar threads

























    Top Bottom