Kodi Community Forum
[help] getting cached season thumb - 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: [help] getting cached season thumb (/showthread.php?tid=135512)



[help] getting cached season thumb - Cool_bombom - 2012-07-07

hi

i have tried

xbmc.getCacheThumbName("seasonsmb://somewhere/tvshows/someshow/Season 1")

but that does not return the right cache file ... i have double cheked it!

and i have also tried xbmc.GetCachedSeasonThumb("smb://somewhere/tvshows/someshow/Season 1") and xbmc.getCacheThumb("seasonsmb://somewhere/tvshows/someshow/Season 1"), but that returns an error - AttributeError: 'module' object has no attribute 'GetCachedThumb' or 'GetCachedSeasonThumb'.

and while im at it, is it bossible to retrieve the season thumb for 'all seasons'?

What am I doing wrong? Is there nobody that can help me?


cheers
C_bb


RE: [help] getting cached season thumb - Cool_bombom - 2012-07-12

Is there really nobody that can help me with my problem??


RE: [help] getting cached season thumb - jmarshall - 2012-07-12

In Eden, the season is saved using the hash of some silly scheme, which you appear to have right - IIRC it is something like "season" + show path + "Season 1" (the localized formatted label). All Seasons would be just appending "All Seasons" in place of "Season 1" in whatever language you use.

This doesn't apply to Frodo - every bit of library art is available in the database.