TV Recordings Thumb Offset not working (1 Viewer)

wonkyd

Retired Team Member
  • Premium Supporter
  • August 29, 2007
    791
    177
    Home Country
    United Kingdom United Kingdom
    I've set a offset value of 15 for TV recordings in TV Server config however it doesn't seem to be working as thumbs are still being generated from much earlier in the recording. Anyone else got this working?

    Thanks
     

    AtTimesPerplexed

    MP Donator
  • Premium Supporter
  • May 8, 2011
    127
    48
    Home Country
    New Zealand New Zealand
    The offset in Videos works, but in TV recordings it doesn't. It uses a hardcoded value of 60 seconds instead.
    Code:
    [2013-10-17 23:37:02,147] [Log    ] [25      ] [INFO ] - ThumbProcessor.DoWork: Creating thumb for D:\Recorded TV\Nikita\Nikita - 3x13 - 2013-10-17.ts
    [2013-10-17 23:37:02,147] [Log    ] [25      ] [DEBUG] - TvThumbnails.VideoThumbCreator: preGapSec: 60
    [2013-10-17 23:37:02,853] [Log    ] [25      ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Inspecting media : D:\Recorded TV\Nikita\Nikita - 3x13 - 2013-10-17.ts
    [2013-10-17 23:37:02,853] [Log    ] [25      ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: VideoDuration    : 4252680
    [2013-10-17 23:37:02,854] [Log    ] [25      ] [DEBUG] - D:\Recorded TV\Nikita\Nikita - 3x13 - 2013-10-17.ts duration is 4252, TimeIntBwThumbs is 1876
    [2013-10-17 23:37:06,910] [Log    ] [25      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation -loglevel quiet -ss 60 -i "D:\Recorded TV\Nikita\Nikita - 3x13 - 2013-10-17.ts" -y -ss 3 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an "C:\Windows\TEMP\Nikita - 3x13 - 2013-10-17_0.jpg"
    [2013-10-17 23:37:06,924] [Log    ] [25      ] [DEBUG] - CreateTileThumb: before Saving thumb! tmpFile: C:\Windows\TEMP\tmp52E7.tmp
    [2013-10-17 23:37:06,930] [Log    ] [25      ] [DEBUG] - CreateTileThumb: Saving thumb!
    [2013-10-17 23:37:06,962] [Log    ] [25      ] [DEBUG] - CreateTileThumb: after Saving thumb!
    [2013-10-17 23:37:07,062] [Log    ] [25      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation success C:\Windows\TEMP\Nikita - 3x13 - 2013-10-17.jpg
    [2013-10-17 23:37:07,594] [Log    ] [25      ] [INFO ] - ThumbProcessor.DoWork: Thumbnail successfully created for - D:\Recorded TV\Nikita\Nikita - 3x13 - 2013-10-17.ts
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    Maybe this is a dump question but have you set the pre-record value in TVServer config (it is different to Videos)?
    =Thumbnails_generation_TVServer.png


    Gonna try to confirm this myself.
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    It uses a hardcoded value of 60 seconds instead.

    Confirmed.
    I attached the TVService log.

    Example (I set the time in config to 10 (minutes)):
    Code:
    [2013-10-18 00:03:38,486] [Log    ] [22      ] [INFO ] - ThumbProcessor.DoWork: Creating thumb for D:\test\Der Hundeprofi - VOX - 2013-08-03.ts
    [2013-10-18 00:03:38,486] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: preGapSec: 60
    [2013-10-18 00:03:38,612] [Log    ] [22      ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: Inspecting media : D:\test\Der Hundeprofi - VOX - 2013-08-03.ts
    [2013-10-18 00:03:38,613] [Log    ] [22      ] [DEBUG] - MediaInfoWrapper.MediaInfoWrapper: VideoDuration    : 4919560
    [2013-10-18 00:03:38,613] [Log    ] [22      ] [DEBUG] - D:\test\Der Hundeprofi - VOX - 2013-08-03.ts duration is 4919, TimeIntBwThumbs is 971
    [2013-10-18 00:03:39,036] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation -loglevel quiet -ss 60 -i "D:\test\Der Hundeprofi - VOX - 2013-08-03.ts" -y -ss 3 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an "C:\Windows\TEMP\Der Hundeprofi - VOX - 2013-08-03_0.jpg"
    [2013-10-18 00:03:39,462] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation -loglevel quiet -ss 1031 -i "D:\test\Der Hundeprofi - VOX - 2013-08-03.ts" -y -ss 3 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an "C:\Windows\TEMP\Der Hundeprofi - VOX - 2013-08-03_1.jpg"
    [2013-10-18 00:03:39,856] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation -loglevel quiet -ss 2002 -i "D:\test\Der Hundeprofi - VOX - 2013-08-03.ts" -y -ss 3 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an "C:\Windows\TEMP\Der Hundeprofi - VOX - 2013-08-03_2.jpg"
    [2013-10-18 00:03:40,314] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation -loglevel quiet -ss 2973 -i "D:\test\Der Hundeprofi - VOX - 2013-08-03.ts" -y -ss 3 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an "C:\Windows\TEMP\Der Hundeprofi - VOX - 2013-08-03_3.jpg"
    [2013-10-18 00:03:40,333] [Log    ] [22      ] [DEBUG] - CreateTileThumb: before Saving thumb! tmpFile: C:\Windows\TEMP\tmp8AE0.tmp
    [2013-10-18 00:03:40,336] [Log    ] [22      ] [DEBUG] - CreateTileThumb: Saving thumb!
    [2013-10-18 00:03:40,360] [Log    ] [22      ] [DEBUG] - CreateTileThumb: after Saving thumb!
    [2013-10-18 00:03:40,461] [Log    ] [22      ] [DEBUG] - TvThumbnails.VideoThumbCreator: thumb creation success C:\Windows\TEMP\Der Hundeprofi - VOX - 2013-08-03.jpg
     

    regeszter

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

    I can confirm this. The the value is named in setuptv as TVThumbnailsTimeOffset but the tvservice find it as TimeOffset.

    Can somebody test it? TvThumbnails.zip
     

    Attachments

    • TvThumbnails.zip
      15.5 KB
    • 0001-Bug-TV-Recordings-Thumb-Offset-not-working.patch
      1.2 KB
    Last edited:

    Users who are viewing this thread

    Similar threads

    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    I used to run the TVService under the "NT Service\TVService" account to follow least privileges principal (not exposing my whole...
    Replies
    3
    Views
    2K
    @CyberSimian Sorry, I missed your last post. I ended up doing a clean install on the client and all is well now. It still doesn't let me go back in time when I change channels but it does continue operating from that point on. I'm ok with that. Thanks for your help! EDIT: I now downgraded the server (as I did with the client above)...
    @CyberSimian Sorry, I missed your last post. I ended up doing a clean install on the client and all is well now. It still doesn't...
    When I first start watching a TV program the timeshift functions works perfectly. I can shift back and forth in time and it works...
    Replies
    11
    Views
    3K
    MP1 MP2 MP2 - V2.3 EPG has stopped DE
    The only configuration that is certain to work is when the MP client and MP server are from the same release. It is sometimes possible to use MP clients from a release that is different to the MP server, but whether it works depends on the specific changes that were made between the two releases. -- from CyberSimian in the UK
    The only configuration that is certain to work is when the MP client and MP server are from the same release. It is sometimes...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Replies
    10
    Views
    5K
    Are the media/video folders on the Mint host?
    Are the media/video folders on the Mint host?
    I've used Mediaportal for years on a Windows Host with restricted online-access. Lately I reinstalled...
    Replies
    1
    Views
    1K
    MP1 MP2 MP2 - V2.5 No Thumbnails for TV recordings DE
    I know, missing thumbnails for TV recordings have been discussed before. But even after tryping to follow possible solutions provided by the forum, the problem persists. In short, I am running MP 2.5 on a Win11 system with the skin blue vision (I also tried WMC but same issue). When recording TV shows no thumbnails are created. I have...
    I know, missing thumbnails for TV recordings have been discussed before. But even after tryping to follow possible solutions...
    I know, missing thumbnails for TV recordings have been discussed before. But even after tryping to follow possible solutions...
    Replies
    0
    Views
    904
    Top Bottom