PDA

View Full Version : Importing Video Library - Actor thumbs not loading


stacked
2008-12-28, 08:23
First I scan the videos and they get added to my library. Everything is working correctly including the actor thumbs. Then I export the library as separate files into nfos with the fanarts and covers. When I do a fresh install of XBMC and scan the same movies with the exported nfos, all the information, fanart, and covers loads up except the actor thumbs. But if I scan a new movie with out a nfo, the everything works as they should.

SVN Rev 16723
debug: http://pastebin.com/m4bc52fab

LaTropa64
2008-12-28, 08:40
Same problem here. I've noticed if I edit the nfo files and change this:

<actor>
<name>Morgan Freeman</name>
<role>Him</role>
<thumb>&lt;thumb&gt;http://ia.media-imdb.com/images/M/MV5BMzkwMjE2NTI1MF5BMl5BanBnXkFtZTcwMDc0MzgxMQ@@._ V1._SX512_SY512_.jpg&lt;/thumb&gt;&lt;thumb&gt;http://ia.media-imdb.com/images/M/MV5BMzkwMjE2NTI1MF5BMl5BanBnXkFtZTcwMDc0MzgxMQ@@._ V1._SX512_SY512_.jpg&lt;/thumb&gt;</thumb>
</actor>

to this:

<actor>
<name>Morgan Freeman</name>
<role>Him</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMzkwMjE2NTI1MF5BMl5BanBnXkFtZTcwMDc0MzgxMQ@@._ V1._SX512_SY512_.jpg</thumb>
</actor>

Then it works.

stacked
2008-12-28, 12:49
You're right, that works. So the problem is the way XBMC is exporting the thumbs in the nfos?

Jester
2008-12-28, 13:00
looks like a typo in the export part of xbmc as &lt is the code for < so it looks like its being included twice.

Best is this raise a ticket in trac and add the details from here to it so the dev's can have a look at it.
(maybe first search trac before posting as somebody might have found it already...)

stacked
2008-12-28, 13:20
Ok. I made a ticket: http://xbmc.org/trac/ticket/5550

LaTropa64
2008-12-28, 13:32
On a side note, and what I've been using as a workaround, is just loading up all my nfo's in XBMC Media Companion (http://billyad2000.darkbb.com/announcements-f1) and then running "Update Ratings & Votes for all movies". It cleans everything up. It does strip out fanart and cover thumb url's though because it assumes you have those stored locally... which I do. :)

An original xbmc exported nfo file like this:

10 Items or Less.nfo (http://pastebin.com/f6f414e41)

Gets turned into this with media companion:

10 Items or Less.nfo (http://pastebin.com/f1c0e38ee)

Jester
2008-12-28, 13:35
good workaround, however it would be better if we get this fixed in the code.
currently I have no clue where in the code this is done, but i'm pretty sure one of the dev's might point to it so I can have a look and/or fix it.

stacked
2008-12-28, 21:57
It seems that the thumbs only work the first time, when the movie is originally scanned. The thumbs are able to cache while the scraper is downloading the movie info. But once the cache (or database) is cleared and restored with nfos, the thumbs aren't able to download again.

Chrisleben
2009-01-14, 01:44
where does the svn export the files? i was looking to import them but cant find the files in .xbmc in my home dir