2008-11-23, 15:46
Sorry, this is an duplicated post, please ignore it ...
--------------------------------------------------------------------------------------
I'm writing an external tool to convert Ant Movie Catalog's XML archive to XBMC's format.
I use AMC for movies stored into HD, with path saved to URL field.
The conversion works well, but the thumbs are not displayed into XBMC.
I can browse movies, generes, but every movie lacks of thumbnail.
I import the URL field into <thumb></thumb> following the format:
This is the format I discovered making an export from XBMC, so I think it's correct.
So every movie's thumb in videodb.xml has the format:
After import, I browse the movies.db and I found that this field it's correctly insert and decoded:
So it's seems to be all right, but it still doesn't works...
As a last experiment, I tried to create a movie record inside XBMC and import a picture from disk as thumbnail. It worked, and then, when export, I see that the videodb.xml's <thumb> is empty and the picture was stored into userdata dir.
I just can't get it... what is the correct approach to import a movie's picture?
Thanks to all
--------------------------------------------------------------------------------------
I'm writing an external tool to convert Ant Movie Catalog's XML archive to XBMC's format.
I use AMC for movies stored into HD, with path saved to URL field.
The conversion works well, but the thumbs are not displayed into XBMC.
I can browse movies, generes, but every movie lacks of thumbnail.
I import the URL field into <thumb></thumb> following the format:
Code:
<thumb>c:\path\to\image</thumb><thumb>c:\path\to\image</thumb>
This is the format I discovered making an export from XBMC, so I think it's correct.
So every movie's thumb in videodb.xml has the format:
Code:
<thumb><thumb>c:\path\to\image</thumb><thumb>c:\path\to\image</thumb></thumb>
After import, I browse the movies.db and I found that this field it's correctly insert and decoded:
Code:
<thumb>c:\path\to\image</thumb><thumb>c:\path\to\image</thumb>
So it's seems to be all right, but it still doesn't works...
As a last experiment, I tried to create a movie record inside XBMC and import a picture from disk as thumbnail. It worked, and then, when export, I see that the videodb.xml's <thumb> is empty and the picture was stored into userdata dir.
I just can't get it... what is the correct approach to import a movie's picture?
Thanks to all