Kodi Community Forum
Can't seem to nail down thumb hashes in Dharma 10.1 - 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: Can't seem to nail down thumb hashes in Dharma 10.1 (/showthread.php?tid=105595)



Can't seem to nail down thumb hashes in Dharma 10.1 - psouza4 - 2011-07-16

With reference to the sample code at:

http://wiki.xbmc.org/index.php?title=Thumbnails

I can't seem to get this to actually match the .tbn's stored in the userdata cache. Is this method still accurate?


- dbrobins - 2011-07-19

psouza4 Wrote:With reference to the sample code at:

http://wiki.xbmc.org/index.php?title=Thumbnails

I can't seem to get this to actually match the .tbn's stored in the userdata cache. Is this method still accurate?

CRC32 of the filename is accurate - see http://forum.xbmc.org/showthread.php?p=809742. Note that there is more than one version of CRC32 out there, each with differing results.


- psouza4 - 2011-07-19

Would you mind sharing the version of CRC32 you're using in that example?


- spiff - 2011-07-19

why not go straight to the One True Source; https://github.com/xbmc/xbmc/blob/master/xbmc/utils/Crc32.cpp