Thumbnailer - creates automaticly thumbnails from videos and tv recordings (2 Viewers)

Do you need a plugin for creating thumbnails?


  • Total voters
    185

MoPhat

Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    Thumbnailer.jpg

    What does tthis process plugin?

    - creating "folder.jpg" if its needed and only one file are in the folder
    - picture size from the thumbnails are adjustable
    - own MTN parameter
    - video time where the thumb is taken can be entered
    - tv recording time where the thumb is taken can be entered
    - creates a small and a big file for tv thumbs
    - handles up to 4 video and 1 tv recording folder(s)
    - needs minimum resources
    - it just works

    Attached are the plugin, just copy the thumbnailer.dll in the folder "C:\Program Files\Team MediaPortal\MediaPortal\plugins\process" and configure it in the plugin panel of your mp config.


    Log:

    29.06.2009.
    - V3.0 released
    - Code redesign (video section)
    - MTN parameters

    16.06.2009
    - V2.0 released
    - Using now the MTN.exe > h264 working!
    - Thumb creating at backgroundworker task
    - Checks all 1/2 hour if new files are there

    24.03.2009
    - TV thumbs DOESN'T needs to have a hidden attribute > REMOVED!

    19.03.2009
    - TV thumbs needs to have a hidden attribute... why i don't know... changed

    18.03.2009
    - Creates the thumbs in a own process
    - Creates a thumb for tv recordings with a L at the filename end
    - Ability to enter the file extensions for processing

    05.08.2008
    - tv recording thumbs
    - own offset for tv recordings and videos
    - initial start delay

    thx
    MoPhat
     

    Attachments

    • Thumbnailer.rar
      30.6 KB

    MoPhat

    Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    Spragleknas

    Yes i have seen this... but i need a solution that the thumbnails are created automaticly if a file is copied/changed/deleted etc... and there are no source code :(

    i copy the code after a few testings to a process plugin so that the thumbs are created in the background of MP :D

    have you tryed the test app, and works at your machine?

    thx
    MoPhat
     

    diskeeper

    Portal Pro
    January 5, 2007
    6,109
    421
    Dortmund
    Home Country
    Germany Germany
    super, läuft gut.:D
    was mir noch fehlt ist die angabe des thumb-ordner.

    ps: und dann müsste noch "jemand" das #TV.RecordedTV.thumb wieder umstellen vom chanel-logo
    auf die bilder, dann hätten wir ja das wieder was früher schonmal ging.

    :sorry:no english:sorry:
     

    MoPhat

    Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    diskeeper

    Hi habe heute gerade mal den Code von TvPlugin angeschaut und den auskommentierten Code von der Thumb erzeugung gefunden (!)...

    Werde dies mal mit den Änderungen kompilieren und mal testen ob dies funktioniert ;)

    Ähhh, wozu benötigst du einen "thumb-ordner"???
    Die Bilder werden immer dort hin gelegt wo die Video Datei ist.

    thx
    MoPhat
     

    Darre

    Portal Pro
    April 21, 2007
    925
    80
    Home Country
    Norway Norway
    Really cool, will make it better to browse files that arent IMDB'able or working in TV-series plugin =) I'll have a look when I'm done moving.
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    Since this is the English part of the forum:
    super, is good.: thx:
    I was still missing is the indication of the thumb-folder.

    ps: and then would have to be "someone" # TV.RecordedTV.thumb change again, chanel-logo
    in the pictures, then yes we would have again what the past ever went.

    @diskeeper

    Hi have today just the code of TvPlugin viewed and auskommentierten code from the Thumb generation found (!)...

    Will this change with the times and compile times to test whether this works;)

    Ähhh what you need to get a "thumb-folder"?
    The images are always laid out where the video file.
    - Google translate
     

    diskeeper

    Portal Pro
    January 5, 2007
    6,109
    421
    Dortmund
    Home Country
    Germany Germany
    Ähhh, wozu benötigst du einen "thumb-ordner"???
    Die Bilder werden immer dort hin gelegt wo die Video Datei ist.

    naja, die funktion das von den aufnahmen ein bild erzeugt wird gab es ja schon mal in mp.
    diese bilder wurden, wenn ich mich recht erinnere, in einem speziellen thumb-ordner abgelegt.
    war bzw. ist im pfad
    C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Team MediaPortal\MediaPortal\thumbs\tv\Recorded
    ja noch vorhanden und falls das mal wieder so werden sollte müsste man den pfad ja angeben.

    well, the function of the recordings that a picture is created, there were times already in mp.
    these pictures, if I remember correctly, in a special thumb folders stored.
    was or is in the path
    C: \ Documents and Settings \ All Users \ Application Data \ Team Media Portal \ Media Portal \ thumbs \ tv \ Recorded
    still exist and if so which again should be the path should be yes.
    for Spragleknas, goggle translate:D
     

    MoPhat

    Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    diskeeper

    I have found the code place where are the thumbs displayed in the tv recordings, its in the file TvRecorded.cs from TvPlugin on Line 791

    it sould instead of this:

    Code:
    string strLogo = Utils.GetCoverArt(Thumbs.TVRecorded, Utils.SplitFilename(Path.ChangeExtension(aRecording.FileName, Utils.GetThumbExtension())));

    be this:

    Code:
    string strLogo = Thumbs.TVRecorded + @"\" + Utils.SplitFilename(aRecording.FileName).Replace(".mpg", ".png").Replace(".ts", ".png");

    ...and shure the thumbs should be under the folder "..\Team MediaPortal\MediaPortal\thumbs\tv\Recorded"


    i can compile the plugin but the list is every time empty :confused:
    the list ist also empty if i download the latest svn and do only compile it with vs2005 pro...(!?)

    that do i'am wrong - or how to compile the tvplugin correctly?

    thx
    MoPhat
     

    Users who are viewing this thread

    Top Bottom