Thumbnailer - creates automaticly thumbnails from videos and tv recordings

Discussion in 'MediaPortal 1 Plugins' started by MoPhat, June 18, 2008.

?

Do you need a plugin for creating thumbnails?

  1. Yes

    85.9%
  2. No

    4.9%
  3. I dont know

    9.2%
  1. MoPhat
    • Premium Supporter

    MoPhat Retired Team Member

    Joined:
    June 17, 2007
    Messages:
    816
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Berg
    Ratings:
    +114 / 0
    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
     

    Attached Files:

    • Like Like x 14
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
  4. MoPhat
    • Premium Supporter

    MoPhat Retired Team Member

    Joined:
    June 17, 2007
    Messages:
    816
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Berg
    Ratings:
    +114 / 0
    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
     
  5. MoPhat
    • Premium Supporter

    MoPhat Retired Team Member

    Joined:
    June 17, 2007
    Messages:
    816
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Berg
    Ratings:
    +114 / 0
    Home Country:
    Switzerland Switzerland
    Check post #1, release attached.

    MoPhat
     
  6. diskeeper

    diskeeper Portal Pro

    Joined:
    January 5, 2007
    Messages:
    6,109
    Likes Received:
    400
    Gender:
    Male
    Location:
    Dortmund
    Ratings:
    +417 / 0
    Home Country:
    Germany Germany
    Show System Specs
    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:
     
  7. MoPhat
    • Premium Supporter

    MoPhat Retired Team Member

    Joined:
    June 17, 2007
    Messages:
    816
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Berg
    Ratings:
    +114 / 0
    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
     
  8. Darre

    Darre Portal Pro

    Joined:
    April 21, 2007
    Messages:
    925
    Likes Received:
    80
    Ratings:
    +80 / 0
    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.
     
  9. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
    Since this is the English part of the forum:
    - Google translate
     
  10. diskeeper

    diskeeper Portal Pro

    Joined:
    January 5, 2007
    Messages:
    6,109
    Likes Received:
    400
    Gender:
    Male
    Location:
    Dortmund
    Ratings:
    +417 / 0
    Home Country:
    Germany Germany
    Show System Specs
    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.

    for Spragleknas, goggle translate:D
     
  11. MoPhat
    • Premium Supporter

    MoPhat Retired Team Member

    Joined:
    June 17, 2007
    Messages:
    816
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Berg
    Ratings:
    +114 / 0
    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 (Text):
    1. string strLogo = Utils.GetCoverArt(Thumbs.TVRecorded, Utils.SplitFilename(Path.ChangeExtension(aRecording.FileName, Utils.GetThumbExtension())));
    be this:

    Code (Text):
    1. 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
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!