[RELEASE] Texture Cache Maintenance utility
(2016-12-01, 09:53)Milhouse Wrote:
(2016-12-01, 07:24)firewater Wrote: Thank you very much. What I don't get is how I am to execute the texturecache.py script. I tried making a separate runtexturecache.py script that contained the lines you gave me and running it with Kodi Callbacks plugin, but syntax error appears and it doesn't work. Is this syntax for Kodi, Python, or some sort of command line?

Command line.

Right, so on cmd I'm running

Code:
C:\Windows\system32>cd C:\Program Files (x86)\Kodi (Video)\portable_data\userdat
a

C:\Program Files (x86)\Kodi (Video)\portable_data\userdata>texturecache.py qax m
ovies @qaperiod=-1 @qa.nfo.refresh=999999
Traceback (most recent call last):
  File "C:\Program Files (x86)\Kodi (Video)\portable_data\userdata\texturecache.
py", line 8583, in <module>
    main(sys.argv[1:])
  File "C:\Program Files (x86)\Kodi (Video)\portable_data\userdata\texturecache.
py", line 8279, in main
    loadConfig(argv)
  File "C:\Program Files (x86)\Kodi (Video)\portable_data\userdata\texturecache.
py", line 7746, in loadConfig
    gConfig = MyConfiguration(argv)
  File "C:\Program Files (x86)\Kodi (Video)\portable_data\userdata\texturecache.
py", line 327, in __init__
    (self.QA_NFO_REFRESH, self.qa_nfo_refresh_date, self.qa_nfo_refresh_date_fmt
) = self.getRelativeDateAndFormat(config, "qa.nfo.refresh", "")
  File "C:\Program Files (x86)\Kodi (Video)\portable_data\userdata\texturecache.
py", line 680, in getRelativeDateAndFormat
    t = datetime.date.today() - datetime.timedelta(days=int(adate))
OverflowError: date value out of range

I'm far off still, I feel. What am I missing?
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 firewater - 2016-12-11, 18:54
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