thumbnail crc code path (for the season cover) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: thumbnail crc code path (for the season cover) (/showthread.php?tid=73465) |
thumbnail crc code path (for the season cover) - lad1337 - 2010-05-07 ok i know that the thumbnails and fanarts are being cached and that it is "hidden" with a strange crc code file path ... like: userdata/Thumbnails/Video/d/d3345899.tbn witch would be for : /Volumes/Movies/500 Days of Summer/500 Days of Summer [eng].mkv so i was able to calculate everything from movie cover, fanart … tv show banner and episode thumb but what is the initial path to calculate the crc path for the season cover ... ? if it is <tvShow>/<season>/ ... then what if all seasons a re on one folder ? and thats the case sometimes and it still works so its not that ... and it cant be the first episode of a given season because that's the episode thumb ... only thing i would guess is something like <tvShow>/season<number> ... kinda like a fake path ... but as i said that's guessing someone has to know pls tell me thanks in advance lad ps this is all for a php based website connecting to the sqlit3 database of xbmc ... screenshots: http://cl.ly/xws http://cl.ly/xD5 http://cl.ly/xXY http://cl.ly/xRZ - ppic - 2010-05-07 check fileitem.py in my xbmcstuffdownloader plugin, you'll see all thumb cache use. beautiful project! will you share it? woohooo - lad1337 - 2010-05-08 ppic Wrote:check fileitem.py in my xbmcstuffdownloader plugin, you'll see all thumb cache use. yes this did it ^^ ... well helped and this thread i found by searching for the "fileitem.py" http://forum.xbmc.org/showthread.php?tid=62545 seams i am not the first one to stumble apon this so for the future ppl: the path to a thumbnail / cover of a season from a tv show given trough the crc code of a path / string is calculate with a pattern like this: "season"+<pathToTvShow>+"Season "+<seasonNumber> eg "season/Volumes/Serien/How i met your mother [eng]/Season 1" put this string into a "correct" string_to_crc function and you get the crc code for the first season of how i met you mother witch is: 0326687c and yes i will share it ... why not ^^ the movie part is pretty finished but the tv show part needs some more love and design it just wont be fun writing the instructions for installation -.- as far i can say you need an apache server with sqlite3 and if i can get it running on my system image magic and or <some php libary i forgot the name of -.-> lad ps the file is called file_item.py by know at least that's what i got pps a screenshot from the single tv show view: http://cl.ly/wkS - Manuel_W - 2012-02-28 Hey Guys, i try'd this "seasonsmb://mnt/Serien/How i met your mother [eng]/Season 1" and this "season/smb://mnt/Serien/How i met your mother [eng]/Season 1" but i can't get the Season Thumbs Any hints for me? - Manuel_W - 2012-02-29 does nobody know the answere ? - jmarshall - 2012-03-01 In case you're willing to wait a month or two, you won't have to bother once video thumbs are moved to the texture cache: The original thumb URL will be stored in the database. - Manuel_W - 2012-03-01 Oh sounds really good, so i can wait for that |