Kodi Community Forum

Full Version: XBMC-CVS_2006-10-03-T3CH: Music Albums Thumbnails Still Missing Beyond 4096+
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Folks,

I have rescanned my entire audio collection and noticed that the album thumbnails stop being generated beyond 4096 files - ..\UserData\Thumbnails\Music.

Ref:
http://forum.xbmc.org/showthread.php?tid=21737



As a side note, I added the thumbnails (.TBN) files to each folder in audio collection. Assuming a thumbnail file was present, would it be possible for the library view (database) to:

1) Add the .TBN name & path in the library database for the Album view

2) Ignore the Album cover in the ID3 tag and use the .TBN of the folder as the default thumbnail for the songs in the folder



Here are some particulars on how my audio collection is organized.

Audio File Contents (All files)
~~~~~~~~~~~~~~~~~
Track Number
Artist Name
Song Title
Album Title
Year
Genre
200x200x96 Album cover (.jpg)


Folder Contents (G Partition)
~~~~~~~~~~~~~~~~~~
G:\Music\MP3Audio\G\Gumby\XBMC\I Love XBMC.mp3
G:\Music\MP3Audio\G\Gumby\XBMC.tbn

G:\Music\MP3Audio\P\Pokey\XBMC\Disc 1\XBMC Really Rocks.mp3
G:\Music\MP3Audio\P\Pokey\XBMC\Disc 1.tbn
It already does 1.

It doesn't do 2: Embedded thumbs take priority, and I'm not sure why they shouldn't.
Hi Jonathan,

That's odd, I'm getting some album cover showing and others not; it seems as if the ID3 tag album is taking precedence even though the thumbnail is in the folder.

The GUI is "crashed" right now but the Scan All To Database is in still running as I see the database growing when I connect via FTP.

Here's a copy of the top portion of the log; the log contains an entry for each file in the audio library that has been scanned so far.

15:09:51 M: 53653504 NOTICE: Setup DirectX
15:09:51 M: 53628928 NOTICE: load settings...
15:09:51 M: 53628928 NOTICE: loading Q:\UserData\guisettings.xml
15:09:52 M: 53493760 NOTICE: Getting hardware information now...
15:09:52 M: 53493760 NOTICE: Checking resolution 10
15:09:52 M: 53493760 NOTICE: Setting autoresolution mode 5
15:09:52 M: 53415936 ERROR: displayremotecodes is false
15:09:52 M: 53415936 NOTICE: Getting hardware information now...
15:09:52 M: 53415936 NOTICE: Checking resolution 10
15:09:52 M: 53415936 NOTICE: Setting autoresolution mode 5
15:09:52 M: 53596160 NOTICE: loading Q:\XboxMediaCenter.xml
15:09:54 M: 48508928 NOTICE: loaded Q:\system\players\mplayer\ISO639-1.xml
15:09:54 M: 49913856 NOTICE: loaded Q:\system\players\mplayer\ISO639-2.xml
15:09:54 M: 49864704 WARNING: use dashboard
15:09:56 M: 49549312 NOTICE: Checking the Date!
15:09:56 M: 49549312 NOTICE: start timeserver thread
15:09:56 M: 49025024 NOTICE: start webserver
15:09:56 M: 48357376 NOTICE: XBFileZilla: Starting...
15:09:56 M: 46256128 NOTICE: XBFileZilla: Started
15:09:56 M: 46256128 NOTICE: start dvd mediatype detection
15:09:56 M: 45731840 NOTICE: initializing playlistplayer
15:09:56 M: 45207552 NOTICE: start fancontroller
15:09:56 M: 44683264 NOTICE: load default skin:[Project Mayhem III]
15:09:56 M: 44683264 NOTICE: Dim LCD On Playback
15:09:56 M: 42782720 NOTICE: initialize done
15:09:56 M: 42782720 NOTICE: Running the application...
15:09:56 M: 41345024 ERROR: emulated function dll_fstat failed
15:09:56 M: 41324544 ERROR: emulated function dll_fstat failed
15:09:56 M: 41324544 ERROR: emulated function dll_fstat failed
15:09:56 M: 41324544 ERROR: emulated function dll_fstat failed
15:10:33 M: 36872192 ERROR: PICTURE::CreateAlbumThumbnailFromMemory: exception: memfile FileType: jpeg
15:10:33 M: 36872192 ERROR: Tag loader mp3: Unable to create album art for G:\Music\MP3Audio\0\2 Brothers On The 4th Floor\Dance Mix '95\Dreams (Will Come Alive).mp3 (extension=jpeg, size=67988)
As I said above, embedded thumbs take priority over filebased thumbs.

It likely can't create the album art from that file as you have used up all 4096 slots in the thumbs folder.
Hi Jonathan,

Understood; point 2 pertains to each individual track as you stated below, right?

"Embedded thumbs take priority, and I'm not sure why they shouldn't."



what I am unclear on however is:

"It already does 1"


Are you indicating that the path (and name) to the thumbnail (.tbn) file that I placed in each album folder is the thumbnail that is displayed when selecting Library -> Albums ?

If so, that's isn't what I am seeing ... Albums view is behaving similarly to Song view in that approximately 60% of the album covers (thumbnails) are missing.

Blush Huh

KZ
If you have more than 4096 thumbs, then ofcourse only some will be displayed.

If you don't have that many cached, then you need to find out which folder in particular doesn't have a thumb (files view is fine - get it right there and library view will follow) and tracking down why. It could be due to the embedded thumb not being read correctly or similar.

Cheers,
Jonathan
Hi Jonathan,

Definetly 4096+ is the issue; coding a feature that would allow using the thumbnail found in each folder as the default Album thumbnail as well as the default Song thumbnail in Library View is not effective use of development time.

As I see it, the challenge is figuring out a way to:

1) Ensure that album images are displayed in Album view
2) Ensure that embedded album art is displayed in Song/Album view


Cheers,

KZ
There is no issue once the 4096 thumbs issue is remedied. This won't happen until we think up a decent way to handle it. I don't particularly like the way it's done in My Pictures, but it is by far the easiest method.