The list of TV recordings automatically erased (1 Viewer)

atlantic

MP Donator
  • Premium Supporter
  • January 9, 2008
    473
    123
    Rennes
    Home Country
    France France
    MediaPortal Version: 1.5.0

    Description
    Hi guys,

    MP 1.5.1
    Windows Seven 64b up to date.
    NAS Synology on Ethernet.

    My TV recordings folder is on my NAS Synology.
    When this NAS is idle for 30mn, it goes into stanby.
    When I start my htpc (from stanby), the NAS wake up too.
    If I wait about 30sec before to go in the Menu "My recordings", it's ok, the list of my TV recordings is there.
    On the other hand, if I don't wait this laps of time this list is empty (erased).
    I am then forced to do "import data base" in TVserver to recover it.

    I reproduced the issue : 06.12.2013 at 10:13.
    Here the logs.

    Mediaportal.log
    2013-12-06 10:13:16,108] [Log ] [DeleteInvalidRecordings] [DEBUG] - DeleteInvalidRecordings() - finished after '59' ms., deletedrecordings = 'True'
    Tvservice.log
    [2013-12-06 10:13:16,051] [Log ] [6 ] [DEBUG] - Deleting invalid recordings

    Steps to Reproduce:
    - Tv recording folder on a NAS
    - HTPC and NAS stanby
    - Resume HTPC from stanby, then NAS resume from stanby too
    - HTPC : go immediately to the Menu "my recordings"
    - The list is empty.

    Patch Available here https://forum.team-mediaportal.com/...tomatically-erased.123177/page-2#post-1054005

    Attached files for 1.6.0 Final
    1.7.0 Pre-release will follow.
     

    Attachments

    • TvPlugin_1.6.0_Recording_Cleanup.zip
      186 KB
    • TvPlugin_1.7.0_Recording_Cleanup.zip
      179 KB
    Last edited by a moderator:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I have look the code ;) but TV3 is in code freeze but i can said :
    Going to TV Recorded section (auto cleanup delete recording or not yet ready stored recordings (i.e on wakeup NAS for ex).)
    There is a button in side menu to do manual cleanup.
    So i think for you, we need to disable this auto cleanup and you have to do manual cleanup if you delete recording files outside of MP client :).

    I can make a bin for it :)
     

    atlantic

    MP Donator
  • Premium Supporter
  • January 9, 2008
    473
    123
    Rennes
    Home Country
    France France
    Hi Sebastiii,

    First test, first success!!!
    Your file works as I want.
    I resumed from standby my htpc, it woke up my NAS.
    Immediately on my htpc, I went into the recordings section and my list was still there.
    Well done Sebastiii. Thanks!
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Great :)
    On SMP skin (but should be available on other skin), we have a cleanup button, so we can always cleanup recorded manually :p
     

    Users who are viewing this thread

    Top Bottom