[RELEASE] Texture Cache Maintenance utility
Thanks @Milhouse 

I am now updating the lib with IMDB data and getting below error for TVshows. For movies all available fields worked like a charm but not getting any luck for tvshows. I think this is with supported fields as when I but votes only in the .cfg it worked. (I already purchased the API key)

Cfg:
imdb.fields.movies = top250, title, rating, votes, year, runtime, genre, plot, plotoutline
imdb.fields.tvshows = votes, title, rating, year, runtime, genre, plot

Command:
./texturecache.py imdb tvshows | ./texturecache.py set

Error:T
raceback (most recent call last):  File "./texturecache.py", line 8618, in <module>    main(sys.argv[1:])  File "./texturecache.py", line 8527, in main    setDetails_batch(dryRun=dryRun)  File "./texturecache.py", line 6224, in setDetails_batch    jdata = json.loads("".join(data))  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads    return _default_decoder.decode(s)  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode    obj, end = self.raw_decode(s, idx=_w(s, 0).end())  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode    raise ValueError("No JSON object could be decoded")ValueError: No JSON object could be decoded 

Can you please let me know what are the supported fields for tvshows?


EDIT:
Commenting the "imdb.fields.tvshows" in the cfg and passing the values via "
@imdb.fields.tvshows" worked. I think small bug with the script to get the parameters via the .cfg file.

Working Command:./texturecache.py imdb tvshows | ./texturecache.py set @imdb.fields.tvshows=votes,title,rating,year,runtime,genre,plot,plotoutline
Reply
 
Thread Rating:
  • 17 Vote(s) - 4.76 Average


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by sniferx1 - 2018-03-22, 00:42
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 utility4.7617