2018-03-22, 00:42
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
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