2016-01-18, 17:08
(2016-01-18, 15:43)lstar337 Wrote: Milhouse, I am playing with your script and will no doubt break something very soon because I am a total noob at this stuff.
I am trying to update my imdb ratings. I have put in the command and getting an error back. I am really pushing the limit of what I understand here.
Code:~/.config # python texturecache.py @imdb.fields.movies | ~/.config/texturecache.py set
Traceback (most recent call last):
File "/storage/.config/texturecache.py", line 8432, in <module>
main(sys.argv[1:])
File "/storage/.config/texturecache.py", line 8344, in main
setDetails_batch(dryRun=dryRun)
File "/storage/.config/texturecache.py", line 6104, in setDetails_batch
jdata = json.loads("".join(data))
File "/home/kodi/OpenELEC.tv/build.OpenELEC-WeTek_Core.arm-6.95.6/Python-2.7.10/.install_pkg/usr/lib/python2.7/json/__init__.py", line 338, in loads
File "/home/kodi/OpenELEC.tv/build.OpenELEC-WeTek_Core.arm-6.95.6/Python-2.7.10/.install_pkg/usr/lib/python2.7/json/decoder.py", line 366, in decode
File "/home/kodi/OpenELEC.tv/build.OpenELEC-WeTek_Core.arm-6.95.6/Python-2.7.10/.install_pkg/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
ValueError: No JSON object could be decoded
Can you indicate where I am going wrong with this?
Hey,
What do you get by running:
Code:
python texturecache.py @imdb.fields.movies