Thumbnailer - creates automaticly thumbnails from videos and tv recordings

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

?

Do you need a plugin for creating thumbnails?

Yes 158 vote(s) 85.9%
No 9 vote(s) 4.9%
I dont know 17 vote(s) 9.2%
    • Team MediaPortal

    MoPhat MP Donator

    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:

    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    System Specs
    • Team MediaPortal

    MoPhat Thread Starter MP Donator

    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
    • Team MediaPortal

    MoPhat Thread Starter MP Donator

    Check post #1, release attached.

    MoPhat
  1. diskeeper Portal Pro

    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:
    • Team MediaPortal

    MoPhat Thread Starter MP Donator

    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
  2. Darre Portal Pro

    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.
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    System Specs
    Since this is the English part of the forum:
    - Google translate
  3. diskeeper Portal Pro

    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
    • Team MediaPortal

    MoPhat Thread Starter MP Donator

    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

Share This Page

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

Running the latest version?
V1.2.3 - released April 2012
Releasenews | Download
Changelog
 | Requirements
opensource-logoTeam-MediaPortal 
About
Contact |  Press
Partners