thumbnail crc code path (for the season cover)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
lad1337 Offline
Junior Member
Posts: 19
Joined: May 2010
Reputation: 0
Question  thumbnail crc code path (for the season cover) Post: #1
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
find quote
ppic Online
Skilled Python Coder
Posts: 2,688
Joined: Feb 2009
Reputation: 10
Location: France idf
Post: #2
check fileitem.py in my xbmcstuffdownloader plugin, you'll see all thumb cache use.
beautiful project! will you share it?

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
lad1337 Offline
Junior Member
Posts: 19
Joined: May 2010
Reputation: 0
Thumbs Up  woohooo Post: #3
ppic Wrote:check fileitem.py in my xbmcstuffdownloader plugin, you'll see all thumb cache use.
beautiful project! will you share it?

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
find quote
Manuel_W Offline
Member
Posts: 75
Joined: Jan 2011
Reputation: 0
Location: Leipzig
Post: #4
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 Sad

Any hints for me?
find quote
Manuel_W Offline
Member
Posts: 75
Joined: Jan 2011
Reputation: 0
Location: Leipzig
Post: #5
does nobody know the answere ? Sad
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,569
Joined: Oct 2003
Reputation: 138
Post: #6
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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Manuel_W Offline
Member
Posts: 75
Joined: Jan 2011
Reputation: 0
Location: Leipzig
Post: #7
Oh sounds really good, so i can wait for that Smile
find quote