Thumbnails for music library mapped to absolute path
#1
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.
Reply
#2
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).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
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
Reply
#4
No, this is unrelated.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Thumbnails for music library mapped to absolute path0