[Approved] Patch allow to set prerecordinterval by user for video thumbs (1 Viewer)

regeszter

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

    this is a small patch for allow user to set the prerecordinterval (in minutes) (or just set an interval) in configuration.exe instead of the hardcoded value. The ffmpeg will made the picture from movie start+this value. If the movie smaller than this value, MP will be use 5 sec (still hardcoded) as fallback.

    The binaries made from latest master (1.4pre release).

    configuration.PNG
     

    Attachments

    • GuiThumbs.cs.patch
      19.6 KB
    • VideoThumbCreator.cs.patch
      2.4 KB
    • binaries from 1.4-pre.zip
      2.3 MB
    Last edited by a moderator:

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Home Country
    Germany Germany
    Great idea.

    The value is measured in seconds or minutes? (perhaps you should ad this info to the GUI)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi,

    You sure '(aOmitCredits)' is not used anymore ? (i remember that it was used for TV Side but like now TV handle is own thumbnail generation maybe it's ok)
    Can you confirm it ?
    Thanks :)
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    I not sure only hope. ;) The part of the thumbnail generation source code litle bit mess. I will debug it.
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    as I see the TV server uses TvEngine3\TVLibrary\TvThumbnails\VideoThumbCreator.cs for thumbnail generation.
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Yes, it will be include in 1.5. So I think, the rejected is not the best tag for this thread.
     

    Users who are viewing this thread

    Top Bottom