[RELEASE] Texture Cache Maintenance utility
Hi Milhouse

Well... tonight its been texturecache.py qax movies that's making a fuss Confused

Having run it once as qa, I figured this would be a nice thing to do to the ailing Library. So I launched off a qax run, and it got hung up on something.

Tried a second time, with basically the same result. Hmmm... maybe you can spot what prevents it from completing. To that end, here is the hung session screen dump, texturecache.py log and kodi debug log. Yeah, I know - just what you want to think about Big Grin

Too bad - it looked like it wanted to clean up a big pile of missing entries.

Thanks for looking.

ps: just ran the Three Amigos, and the screen output seems confusing/contradicting. Before running texturecache.py set, I manually edited fixup.dat to remove any VIDEO_TS-prefixed references. I thought this would prevent me having to use the Choose Art button again.

Heh-heh... mklocal.py is too-clever-by-half:
Code:
##DEBUG## mediatype [movie]; mediatitle [TRON: Legacy]
##DEBUG##   mediafile is [smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS.IFO]
##DEBUG##   local root name would be [/storage/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS]
##DEBUG##   artwork type [poster] known by Kodi as [smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-poster.jpg]
##DEBUG##     [poster    ] Found pre-existing local file:           /storage/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-poster.jpg
##DEBUG##     [poster    ] Converting local filename to Kodi path:  smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-poster.jpg
##DEBUG##     [poster    ] Changing library value to:               smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-poster.jpg
##DEBUG##   artwork type [fanart] known by Kodi as [smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-fanart.jpg]
##DEBUG##     [fanart    ] Found pre-existing local file:           /storage/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-fanart.jpg
##DEBUG##     [fanart    ] Converting local filename to Kodi path:  smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-fanart.jpg
##DEBUG##     [fanart    ] Changing library value to:               smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-fanart.jpg
##DEBUG##   artwork type [extrafanart] known by Kodi as [None]
##DEBUG##     [extrafanart] No library change required, keeping:
##DEBUG##   artwork type [extrathumbs] known by Kodi as [None]
##DEBUG##     [extrathumbs] No library change required, keeping:
##DEBUG##   artwork type [clearlogo] known by Kodi as [smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-clearlogo.png]
##DEBUG##     [clearlogo ] Lookup non-HTTP file using current URL:  smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-clearlogo.png [FAIL]
##DEBUG##     [clearlogo ] No alt source for non-HTTP files, using: /storage/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-clearlogo.png
##DEBUG##     [clearlogo ] Converting local filename to Kodi path:  smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-clearlogo.png
##DEBUG##     [clearlogo ] No library change required, keeping:     smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-clearlogo.png
##DEBUG##   artwork type [clearart] known by Kodi as [smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-clearart.png]
##DEBUG##     [clearart  ] Found pre-existing local file:           /storage/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-clearart.png
##DEBUG##     [clearart  ] Converting local filename to Kodi path:  smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-clearart.png
##DEBUG##     [clearart  ] No library change required, keeping:     smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-clearart.png
##DEBUG##   artwork type [banner] known by Kodi as [smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-banner.jpg]
##DEBUG##     [banner    ] Lookup non-HTTP file using current URL:  smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-banner.jpg [FAIL]
##DEBUG##     [banner    ] No alt source for non-HTTP files, using: /storage/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-banner.jpg
##DEBUG##     [banner    ] Converting local filename to Kodi path:  smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-banner.jpg
##DEBUG##     [banner    ] No library change required, keeping:     smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/Tron Legacy (2011)-banner.jpg
##DEBUG##   artwork type [landscape] known by Kodi as [smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-landscape.jpg]
##DEBUG##     [landscape ] Found pre-existing local file:           /storage/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-landscape.jpg
##DEBUG##     [landscape ] Converting local filename to Kodi path:  smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-landscape.jpg
##DEBUG##     [landscape ] No library change required, keeping:     smb://FREENAS/media/Movies_VTS/Tron Legacy (2011)/VIDEO_TS-landscape.jpg

So, I guess this means the database has bogus references now to non-existent files in the Tron Legacy (2011) media folder.

How can I IGNORE my VTS movies when running these updates ?

And still... a third of my banners have not returned to the screen - without the dreaded Choose art button. What am I doing wrong ?
::  LibreELEC 9.2.6 RELEASE - Generic x86_64  ::  Intel 847 NUC  ::  KVR1333D3S9/4G  ::  Kingston SMS200S3/30G mSATA  ::  MS 1044 MCE keyboard  ::  GP-IR02BK remote  ::  Xonfluence  ::  10.9TiB on FreeNAS v11.3-U5 (RAID-Z2)  ::
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by gjwAudio - 2016-02-24, 12:58
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17