Kodi Community Forum

Full Version: Thumbnails for music library mapped to absolute path
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In the 'thumb' table of MyMusic7.db, the path to each thumb is the absolute path to the file:
idthumb:1
strThumb: /home/sandmancl/XBMC/BUILD/UserData/Thumbnails/Music/c/cade0ebe.tbn

This means that it is not cross-platform ready. I checked the database on the xbox and strThumb looks like this:

q:\userdata\Thumbnails\Music\c\cade0ebe.tbn

If I import the xbox database into XBMC for Linux it still works fine w/ thumbnails loading, so the problem only exists in the creation of the database.
I suspect the problem is because on linux in CFileItem it does path translation of the thumbs.

Ideally path translation should be done at the last possible moment (i.e. in the texture loader, and in the filesystem).
Could this be related to the libjpeg problem under some operating systems. SDL on Debian and Slackware has libjpeg support compiled in and loads libjpeg, this screwes things up with the CxImage library.

I am using a patched version of the Library that links in the system libjpeg and libpng libraries instead of using the ones that are in the CxImage tree. Until I fixed this I was unable to generate thumbnails for anything, including videos, which would cause a Seg Fault. I am not experiencing any path problems.

Here is a link to the patch I submitted to sourceforge:
http://sourceforge.net/tracker/index.php...tid=581840
No, this is unrelated.