How does XBMC calculate the CRC for .cut files?
Posted: Wed Aug 02, 2017 12:01 pm
Im trying to workout the path used to calculate the CRC but no matter what I type in or set it as it never gets the value XBMC does when it caches the thumbnail.
I'm wanting to make a script that will do all the thumbnail generating instead of waiting for XBMC to do it on entering a window.
I'm wanting to make a script that will do all the thumbnail generating instead of waiting for XBMC to do it on entering a window.
Code: Select all
if os.path.isdir( CUTFile_Path ):
if CountList == 1: pDialog.create( "Generating Thumbnails" )
for Folders in sorted( os.listdir( Emulator_Path ) ):
EmuFolder = os.path.join( CUTFile_Path, Folders ) + "\\"
if os.path.isdir( EmuFolder ):
for CUT_Files in sorted( glob.glob( EmuFolder + "*.cut" ) ):
TBN_Files = CUT_Files[:-3] + "tbn"
ThumbCache = xbmc.getCacheThumbName( CUT_Files )
dialog.ok(CUT_Files,EmuFolder,ThumbCache[0] + "\\" + ThumbCache )