Kodi Community Forum
How does xbmc save season thumbnails? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: How does xbmc save season thumbnails? (/showthread.php?tid=56296)



How does xbmc save season thumbnails? - neurotik - 2009-08-13

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

seasonxx.tbn

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


- neurotik - 2009-08-14

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

see CFileItem::GetCachedSeasonThumb()


- ppic - 2009-09-06

hi,

is there any documentation on it?

i can't find how to use it.