Picture Thumbnail Generation rework

Discussion in 'Area 51 - Testing Area' started by Sebastiii, April 12, 2013.

  1. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,256
    Likes Received:
    6,210
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,211 / 9
    Home Country:
    France France
    Show System Specs
    Hi,

    Related to this Mantis : -->> 4322 <<--
    Branch related -->> here <<--
    Link for Full Installer : -->> here <<--

    Actual Thumbnail Picture Generation is quite slow, we try to speed up it and that need some testing and report.

    2013.04.12 : Attached bin can be used on 1.3Final.
    • Configuration.exe / Configuration.exe.config / Core.dll / fontEngine.dll / Microsoft.WindowsAPICodePack.dll / Microsoft.WindowsAPICodePack.Shell.dll -->> Should go to "C:\Program Files (x86)\Team MediaPortal\MediaPortal"
    • WindowPlugins.dll -->> "C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\Windows"

    What need testing :
    • See if generation works from MP Config / GUI Setting / from MyPictures
    • See if Video/Picture thumbnail works.
    Thanks :)


     

    Attached Files:

    Last edited: April 20, 2013
    • Like Like x 6
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Created thumbs from Config:
    [2013-04-14 16:25:28,341] [Config ] [PicturesScan] [DEBUG] - Pictures Configuration : Creation of selected thumb for '2512' files, took 19,7520002 seconds (y)
     
    Last edited: April 14, 2013
    • Like Like x 1
  4. burzelmann
    • Premium Supporter

    burzelmann MP Donator

    Joined:
    September 21, 2010
    Messages:
    88
    Likes Received:
    8
    Ratings:
    +8 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Thank you for reworking this part of MP. It was indeed quite unuseable before. Now here is my log entry after generating thumbnails.
    Code (Text):
    1. 2013-04-19 14:29:18.062043 [Debug][PicturesScan(7)]: Pictures Configuration : Creation of selected thumb for '53958' files, took 269,3335176 seconds
    Thumbs were generated from a folder on my NAS (connected via Gbit).
     
    • Like Like x 1
  5. elliottmc
    • Team MediaPortal

    elliottmc Retired Team Member

    Joined:
    August 7, 2005
    Messages:
    14,927
    Likes Received:
    4,011
    Gender:
    Male
    Location:
    Cardiff, UK
    Ratings:
    +5,503 / 13
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    This is now sorted and will be included in the next release
     
    • Like Like x 2
  6. skorz
    • Premium Supporter

    skorz MP Donator

    Joined:
    December 19, 2011
    Messages:
    242
    Likes Received:
    33
    Gender:
    Male
    Location:
    Deutschland
    Ratings:
    +47 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Not sure if this is the right place, but there is a problem creating thumbs for album in the music section. logs attached, mostly this:

    Code (Text):
    1. [2013-04-26 12:01:24,279] [Config ] [9      ] [INFO ] - MusicDatabase: Could not extract thumbnail from D:\Musik\Frank Sinatra - Best Of\026 - Frank Sinatra - Come Rain Or Come Shine.flac
    2. [2013-04-26 12:01:24,279] [Config ] [9      ] [INFO ] - GUIPictures: No thumbnail created for -- C:\Users\Mike\AppData\Local\Temp\bykjnmiv.wsx
    3. [2013-04-26 12:01:24,279] [Config ] [9      ] [INFO ] - MusicDatabase: Could not extract thumbnail from D:\Musik\Frank Sinatra - Best Of\026 - Frank Sinatra - Come Rain Or Come Shine.flac
    4. [2013-04-26 12:01:24,279] [Config ] [9      ] [ERROR] - Util: FileDelete(string strFile) error: Der Prozess kann nicht auf die Datei "C:\Users\Mike\AppData\Local\Temp\bykjnmiv.wsx" zugreifen, da sie von einem anderen Prozess verwendet wird.
    5. [2013-04-26 12:01:24,310] [Config ] [9      ] [INFO ] - GUIPictures: No thumbnail created for -- C:\Users\Mike\AppData\Local\Temp\we3h14cr.31x
    I have to say, i have installed the 1,4 test version from scythe42 // https://forum.team-mediaportal.com/threads/scythe42s-fixes-for-1-4-0.118345/

    So, is there a dirty fix or i have to wait for merge this fix with the 1.4 testfile?
     

    Attached Files:

    • Unbenannt.png
      Unbenannt.png
      File size:
      46.8 KB
      Uploaded:
      April 26, 2013
      Views:
      143
    Last edited: April 26, 2013
  7. elliottmc
    • Team MediaPortal

    elliottmc Retired Team Member

    Joined:
    August 7, 2005
    Messages:
    14,927
    Likes Received:
    4,011
    Gender:
    Male
    Location:
    Cardiff, UK
    Ratings:
    +5,503 / 13
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    First question - does this work fine with 1.3.0 ?

    Second question - why are you trying to generate thumbs from C:\Users\Mike\AppData\Local\Temp ?

    Third question - can MP play a .wsx file, and is there a thumb in the file? Not sure why GUIPictures is trying to create a thumb. Have you added the folder as a picture share?

    Fourth question - what is a .31x file ?

    And finally, can MP extract thumbs from .flac files, and are you sure there is a thumb in there to extract?
     
  8. skorz
    • Premium Supporter

    skorz MP Donator

    Joined:
    December 19, 2011
    Messages:
    242
    Likes Received:
    33
    Gender:
    Male
    Location:
    Deutschland
    Ratings:
    +47 / 0
    Home Country:
    Germany Germany
    Show System Specs
    1) Never had Problems with 1.30 final
    2) have no plan :)
    3) dont know why it generates .wsx or .31x files..
    4) never seen before..
    5) all flacs are tagged fine and it worked before (i did install the testversion)

    i did noticed, thumbnail creation also did not work for the last pictures..
     
    Last edited: April 26, 2013
  9. elliottmc
    • Team MediaPortal

    elliottmc Retired Team Member

    Joined:
    August 7, 2005
    Messages:
    14,927
    Likes Received:
    4,011
    Gender:
    Male
    Location:
    Cardiff, UK
    Ratings:
    +5,503 / 13
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Your log has

    GUIPictures: No thumbnail created for -- C:\Users\Mike\AppData\Local\Temp\bykjnmiv.wsx

    so it seems that MP is trying to create a thumb for the .wsx file in the folder, not trying to save to the folder. Something is definitely wrong.

    Please post your 'MediaPortal.xml' file.
     
  10. skorz
    • Premium Supporter

    skorz MP Donator

    Joined:
    December 19, 2011
    Messages:
    242
    Likes Received:
    33
    Gender:
    Male
    Location:
    Deutschland
    Ratings:
    +47 / 0
    Home Country:
    Germany Germany
    Show System Specs
    You mean from "\ProgramData\Team MediaPortal"?

    here it is:
     

    Attached Files:

  11. elliottmc
    • Team MediaPortal

    elliottmc Retired Team Member

    Joined:
    August 7, 2005
    Messages:
    14,927
    Likes Received:
    4,011
    Gender:
    Male
    Location:
    Cardiff, UK
    Ratings:
    +5,503 / 13
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Okay, I can see no reason why MP would be looking in C:\Users\Mike\AppData\Local\Temp

    You have

    [2013-04-26 12:00:38,742] [Config ] [MusicScan] [INFO ] - MusicDatabase: adding share D:\Hˆrspiele for scanning - available disk space: 38911 MB

    I wonder if the special character in the folder name is causing a problem. Try removing this share and see if it makes a difference.

    Apart from that, try mp3 files, or maybe post one of the flac files here to see if it works for someone else.
     
    • Like Like x 1
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!