PDA

View Full Version : How does xbmc save season thumbnails?


neurotik
2009-08-13, 21:05
In my script I want to download tv show art and save it in the thumbnails folder exactly as xbmc would do, but I'm having trouble with the season thumbs.

The fanart, episode thumbs, etc. are no problem because I can just use the path and filename along with the function xbmc.getCacheThumbName() to find the hash. That doesn't work with the season though (because it could be in multiple folders?? Is that right??).

Looking at the source it seems they use "videodb://2/2/tvshowid/seasonnumber/" as the path, but I haven't had any success with this either.

Any suggestions?

sho
2009-08-14, 16:58
seasonxx.tbn

http://www.xbmc.org/wiki/?title=Thumbnails#Examples_for_User-Defined_Video_Thumbnails

neurotik
2009-08-14, 23:12
Yes that would work, but I don't want to save them in the show folder. I want to save them in the xbmc/userdata/thumbnails/video folder.

spiff
2009-08-18, 15:30
see CFileItem::GetCachedSeasonThumb()

ppic
2009-09-06, 13:55
hi,

is there any documentation on it?

i can't find how to use it.