PDA

View Full Version : <thumb>


rernst
2009-03-23, 02:09
Hi,

I wrote a scrape like XBMC media companion in Java (wanted it to work under Linux, too) but I am a little stuck with the <thumb> tag for TV shows. What sort of specification goes in there? The name of a local file? A URL? What size of file is it looking for?

Last time I looked Media Companion didn't seem to specify the right thing, it was a composite of a art for the show. I do not think this is correct.

Anybody know the details of this?

Hitcher
2009-03-23, 09:41
videofilename.tbn

rernst
2009-03-24, 06:09
videofilename.tbn
What is that supposed to mean?

Hitcher
2009-03-24, 09:44
Sorry, I didn't realise you were after what to put in the nfo.

Here an example -

<thumb>http://thetvdb.com/banners/episodes/71663-420653.jpg</thumb>

rernst
2009-03-24, 17:44
Sorry, I didn't realise you were after what to put in the nfo.

Here an example -

<thumb>http://thetvdb.com/banners/episodes/71663-420653.jpg</thumb>

I understand this is for the individual episode. I saw this for the entire series (underneath the folder with the name of the series)

<thumb>&lt;thumbs&gt;&lt;thumb&gt;http://thetvdb.com/banners/posters/79488-4.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/posters/79488-1.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/posters/79488-3.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/posters/79488-2.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/graphical/79488-g.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/graphical/79488-g5.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/graphical/79488-g4.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/graphical/79488-g6.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/text/79488.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/graphical/79488-g3.jpg&lt;/thumb&gt;&lt;thumb&gt;http://thetvdb.com/banners/graphical/79488-g2.jpg&lt;/thumb&gt;&lt;thumb type=&quot;season&quot; season=&quot;1&quot;&gt;http://thetvdb.com/banners/seasons/79488-1-2.jpg&lt;/thumb&gt;&lt;thumb type=&quot;season&quot; season=&quot;2&quot;&gt;http://thetvdb.com/banners/seasons/79488-2-2.jpg&lt;/thumb&gt;&lt;thumb type=&quot;season&quot; season=&quot;3&quot;&gt;http://thetvdb.com/banners/seasons/79488-3.jpg&lt;/thumb&gt;&lt;/thumbs&gt;</thumb>

spiff
2009-03-24, 18:05
yes, that's if you want several url's registered. as you can see it's xml escaped xml code for

<thumbs>
<thumb>url1</thumb>
<thumb>url2</thumb>
</thumbs>

rernst
2009-03-24, 18:08
yes, that's if you want several url's registered. as you can see it's xml escaped xml code for

<thumbs>
<thumb>url1</thumb>
<thumb>url2</thumb>
</thumbs>

Are there any limits / suggestions as to the dimensions?

Sorry for being such a nag.

spiff
2009-03-24, 18:10
no. they will be cached at your set <thumbsize> (defaults to 512x512 pixels)

rernst
2009-03-24, 18:46
no. they will be cached at your set <thumbsize> (defaults to 512x512 pixels)

Great, thank you very much.

Hitcher
2009-03-24, 19:49
Ignore.

Waffa
2009-03-24, 20:13
Actually it's 1024 for anything other than the Xbox (which is 512).

Sorry you're wrong. Xbox saves 192, other platforms 512.

<thumbsize> (http://xbmc.org/wiki/?title=Advancedsettings.xml#.3Cthumbsize.3E)

Hitcher
2009-03-24, 20:20
Sorry about that, I was sure I had it right.