[Step-2] Add already watched ts buffer to recording (1 Viewer)

gemx

Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Since this feature is now in SVN for a long time and has never worked completely, i decided to take the chance to complete this feature.

    For a short introduction, you can check the previous thread here https://forum.team-mediaportal.com/...dd-already-watched-ts-buffer-recording-71001/

    How to test:
    - Replace the attached TvPlugin.dll (you need to have at least RC 2 installed)
    - Start MP Config with parameters "/avoidversioncheck /debugoptions" and enable the feature under "TV" -> "DebugOptions
    PLEASE NOTE THAT ENABLING THE NOTFIERS ISN'T NECESSARY ANYMORE
    - Enable debug logging
    - Start MP with parameter "/avoidversioncheck"
    - Report your findings

    This is now completely redesigned and doesn't rely on the tv notifier anymore.

    If you encounter any bugs please at least post your "mediaportal.log" and "error.log"
     

    Attachments

    • TvPlugin.rar
      30.6 KB
    • Add already watched ts buffer to recording.diff
      30.8 KB

    bibo456

    Portal Pro
    July 22, 2008
    55
    2
    Home Country
    France France
    Hi !

    First of all, thank you for your work.

    Secondly, could you tell me how you do this : enable the feature under "TV" -> "DebugOptions. I can't find this option. :sorry:

    I am ready to perform tests.
    see you

    :D
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    You have to start MP Config with parameter "/debugoptions" :D
     

    Wbunaarf

    Portal Pro
    December 9, 2005
    534
    103
    Sweden
    Home Country
    Sweden Sweden
    Unfortunately I haven't had much time to test lately, but I just sneaked away for 10 minutes... I applied the patch to the latest svn (25839) and... It worked! A correctly named folder with the relevant part of the buffer was created. Hopefully I can test more tomorrow night, but I just wanted to give you a quick heads up.

    //Johannes
     

    Wbunaarf

    Portal Pro
    December 9, 2005
    534
    103
    Sweden
    Home Country
    Sweden Sweden
    I've now installed my patched build (25859) on my main machine as well. A program started at 18.05, and I had it running. At about 18.14 I realised that I had to record it and started a manual recording. I just had the opportunity to check the result, but while the directory for the buffer was created it unfortunately didn't contain a file. I've attached logs.

    Btw, could you please compile a new version of recordingbuffermerger with updated path?

    Thanks.

    //Johannes
     

    Wbunaarf

    Portal Pro
    December 9, 2005
    534
    103
    Sweden
    Home Country
    Sweden Sweden
    Another set of logs. The show started at 21.00, but I didn't start the recording until 22.16. This time files were copied, but...

    Code:
    C:\Users\htpcuser>dir /s "\\xl302\xl302c\Recordings\Trångt i kistan"
     Volymen i enhet \\xl302\xl302c har ingen etikett.
     Volymens serienummer är 7408-66BD
    
     Innehåll i katalogen \\xl302\xl302c\Recordings\Trångt i kistan
    
    2010-05-29  00:35    <KAT>          .
    2010-05-29  00:35    <KAT>          ..
    2010-05-28  22:33       883 009 680 Trångt i kistan - SVT1 SydNytt - 2010-05-28 - 21_00.ts
    2010-05-28  22:16             1 124 Trångt i kistan - SVT1 SydNytt - 2010-05-28 - 21_00.xml
    2010-05-28  22:16    <KAT>          Trångt i kistan - SVT1 SydNytt - 2010-05-28 - 21_00_tsbuffers
                   2 fil(er)         883 010 804 byte
    
     Innehåll i katalogen \\xl302\xl302c\Recordings\Trångt i kistan\Trångt i kistan
    - SVT1 SydNytt - 2010-05-28 - 21_00_tsbuffers
    
    2010-05-28  22:16    <KAT>          .
    2010-05-28  22:16    <KAT>          ..
    2010-05-28  22:16       387 753 400 live2-0.ts.tsbuffer10.ts
    2010-05-28  22:16       387 753 400 live2-0.ts.tsbuffer11.ts
    2010-05-28  22:17       387 753 400 live2-0.ts.tsbuffer12.ts
    2010-05-28  22:16       387 753 400 live2-0.ts.tsbuffer8.ts
    2010-05-28  22:16       387 753 400 live2-0.ts.tsbuffer9.ts
                   5 fil(er)       1 938 767 000 byte
    
         Totalt antal filer:
                   7 fil(er)       2 821 777 804 byte
                   5 katalog(er)  35 209 408 512 byte ledigt

    It copied data from 5 buffer files, but rather than copying the whole files (I have the filesize set to 1GB) it seems as it only copied the same amount of data from the last four files as from the first one?

    //Johannes
     

    Wbunaarf

    Portal Pro
    December 9, 2005
    534
    103
    Sweden
    Home Country
    Sweden Sweden
    I don't have any logs for this one at the moment, but it seems as if buffer files are sometimes copied even for scheduled recordings.

    //Johannes
     

    Users who are viewing this thread

    Top Bottom