Kodi Community Forum
Thumbnails in Database - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Thumbnails in Database (/showthread.php?tid=57947)



Thumbnails in Database - nathanashton - 2009-09-15

I've got a webpage reading the video database and extracting the Title, Cast etc.

Where in the database is the link stored for the Thumbnails which are cached and stored locally?

All I can find is the field that holds the http links to the thumbnails.

Cheers


- jmarshall - 2009-09-15

There is no storing of this information. Thumbs are stored based on the hash of the path of the item, so are essentially independent (which in some respects is good, and others not so good!)


- nathanashton - 2009-09-15

Thanks for that.

I thought I might have been missing something


- nathanashton - 2009-09-16

I've read through the Wiki and am having trouble with the hashes.

I'm hashing the full SMB path in lowercase including the filename and every time I dont get the same result as the stored .tbn files.

I've tried CRC32 mainly from a few different sources.

Ultimately I want to be able to use PHP to hash the path and file, then lookup the corresponding thumbnail.