Hash of Season Thumbs
#1
Hi!

How is one supposed to compute the hash of a season thumb? Could anyone provide me an example?

I looked into FileItem.cpp and there it is implemented as follows:
Code:
"season"+seasonPath+GetLabel(),g_settings.GetVideoThumbFolder(),true

What does GetLabel() do?

Thanks,
nonpolar
Reply
#2
nonpolar Wrote:What does GetLabel() do?
It returns "season 1", "season 2", and so on, or "* all seasons", or "specials". However, maybe it's "season 0" instead of "specials", i'm not sure, the code I've written some time ago just tries both.

If your TV show is located for example in:
"/mnt/media/tv-shows/Star.Trek.TNG/"

The input for the crc function to get season 1 thumb would be:
"season/mnt/media/tv-shows/Star.Trek.TNG/season 1"
Reply

Logout Mark Read Team Forum Stats Members Help
Hash of Season Thumbs0