Kodi Community Forum
Exporting nfo Thumbs and Fanart info - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Exporting nfo Thumbs and Fanart info (/showthread.php?tid=54384)



Exporting nfo Thumbs and Fanart info - xyber - 2009-07-10

What is the correct format to export Thumbs(Posters) and Fanart in the .nfo file?

I am exporting fanart like so ...
Code:
<fanart>
    <thumb>http://themoviedb.org/image/backdrops/3503/tt0389860.jpg</thumb>
    <thumb>http://themoviedb.org/image/backdrops/5270/tt0389860-1.jpg</thumb>
</fanart>

but thumbs look a bit weird, from xbmc it looks like this ..
Code:
<thumb>&lt;thumbs&gt;&lt;thumb&gt;http://www.impawards.com/2006/posters/accepted.jpg&lt;/thumb&gt;&lt;thumb&gt;http://www.impawards.com/2006/posters/accepted_ver2.jpg&lt;/thumb&gt;&lt;thumb&gt;http://ia.media-imdb.com/images/M/MV5BMTkzNzY5OTc3Nl5BMl5BanBnXkFtZTcwNjE4NDQzMQ@@._V1._SX512_SY512_.jpg&lt;/thumb&gt;&lt;/thumbs&gt;&lt;thumbs&gt;&lt;thumb&gt;http://www.impawards.com/2006/posters/accepted.jpg&lt;/thumb&gt;&lt;thumb&gt;http://www.impawards.com/2006/posters/accepted_ver2.jpg&lt;/thumb&gt; etc ...

why is it using the encodings rather than actual < and > ?
Code:
<thumb>
  <thumbs>
     <thumb>http://www.impawards.com/2006/posters/accepted.jpg</thumb>
     <thumb>http://www.impawards.com/2006/posters/accepted_ver2.jpg</thumb>
     <thumb>http://ia.media-imdb.com/images/M/MV5BMTkzNzY5OTc3Nl5BMl5BanBnXkFtZTcwNjE4NDQzMQ@@._V1._SX512_SY512_.jpg</thumb>
     </thumbs>
     <thumbs>
     <thumb>http://www.impawards.com/2006/posters/accepted.jpg</thumb>
     <thumb>http://www.impawards.com/2006/posters/accepted_ver2.jpg</thumb>
     <thumb>http://ia.media-imdb.com/images/M/MV5BMTkzNzY5OTc3Nl5BMl5BanBnXkFtZTcwNjE4NDQzMQ@@._V1._SX512_SY512_.jpg</thumb>
     </thumbs>
</thumb>
(I notice the Thumbs tags are duplicate)

and why not just
Code:
<thumbs>
   <thumb>http://www.impawards.com/2006/posters/accepted.jpg</thumb>
   <thumb>http://www.impawards.com/2006/posters/accepted_ver2.jpg</thumb>
   etc
</thumbs>



- mkortstiege - 2009-07-11

It's a known "issue". No ETA yet though Wink


- xyber - 2009-07-11

Thanks Smile