Posts: 16
Joined: Feb 2012
Reputation:
0
Hello,
Having issues running the utility. It will not cache the posters of my mysql install. Using c option with movies produces nothing but errors.
| fanart | poster | thumb | TOTAL
--------------+-------------+-------------+-------------+-------------
Cached | - | - | - | 0
Deleted | - | - | - | 0
Duplicate | 19 | 7 | - | 26
Error | 7 | 1097 | - | 1104
Ignored | - | - | 181 | 181
Skipped | 3499 | 2777 | 8 | 6284
Undefined | - | - | - | 0
======================================================================
TOTAL | 3525 | 3881 | 189 | 7595
Download Time | 00:00:05.26 | 00:00:26.21 | - | 00:00:31.02
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
@Timmons: there are 1104 errors, and these should have been listed in the output under the heading "The following items could not be downloaded:".
If you're not seeing the 1104 items listed, then add @logfile=tc.log to your command line, upload tc.log to pastebin.com or similar and I'll take a look.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 103
Joined: Dec 2013
Reputation:
6
lharms
Senior Member
Posts: 103
Hello I am running version 2.1.8. I think I may have found a bug around line 1270.
It is
if newimdb is not None or attempt >= self.retry:
newimdb = newimdb if newimdb.get("response", "False") == "True" else None
break
should it not be this?
if newimdb is not None: # found something, return data if response is filled in correctly
newimdb = newimdb if newimdb.get("response", "False") == "True" else None
break
if attempt >= self.retry: # retry exceeded return none
newimdb = None
break
Basically it is trying to deference newimdb even though it never got filled in because it is exceeding the retry max?
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
2015-11-08, 02:21
(This post was last modified: 2015-11-08, 02:30 by Milhouse.)
@lharms: Yep, thanks.
Edit: Pushed 2.1.9.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
@Just-Me_A-User: Thanks I've pushed update v2.2.0 which should help.
However the stacking logic is pretty minimal and will fail in a whole bunch of other circumstances are I'm not going to even try to pick apart the singular correct filename from all the possible variations of stacked file names (eg. "Avatar (2009)[DVDRip].avi" from "Avatar (2009)[DVDRip][CDx].avi" or "Avatar (2009)[DVDRip] Part x.avi") which is needed to correctly QA artwork etc., so it's likely the script will continue to falsely report missing artwork for stacked files.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
Hmmm... this is odd... it's not immediately obvious why either should be reporting the file as missing, as based on the data the script is correctly determining the file name in both cases, which makes me suspect the subsequent directory access is failing for some reason.
Can you provide the log file when running qa for each of the two movies (ie. two log files) as I'd like to see the directory data kodi is returning when querying for the available files, as something must now be wrong here. Thanks.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.