2016-12-11, 18:54
(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?