Posts: 2,710
Joined: Feb 2009
Reputation:
12
ppic
Skilled Python Coder
Posts: 2,710
hello,
i'm actualy working on my xbmcstuff downloader plugin, all is good, except for season thumbs,
no problem to find tvshow thumbs by using the tvshow path, but i' can't find how to get thumbail cache for seson01 season01 ... season-all...etc ...
i don't know what to pass to xbmc.getCacheThumbName for season thumbs.
anybody knows?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
FileItem.cpp ::GetCachedSeasonThumb(). should be readable even if you don't read c++
Posts: 2,710
Joined: Feb 2009
Reputation:
12
ppic
Skilled Python Coder
Posts: 2,710
thanks!
is there a way to use it in python plugin? or is there any documentation to use it?
i'm stucked with that since last week.
i really don't see how to use this cpp code in python.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
you don't use the code - you decode what the code does and replicate it in python
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
OH JESES: i didn't clear that bugger up yet, lol.
GetLabel() would be 'Season x' where Season is friggan language dependent. i feel ashamed
Posts: 2,710
Joined: Feb 2009
Reputation:
12
ppic
Skilled Python Coder
Posts: 2,710
ok, finded (with the great help of frost.)
xbmc.getCacheThumbName("season" + seasonPath)
where season path is: showpath\Season 1 or showpath\Season 2