2018-03-22, 02:01
(2018-03-22, 01:50)Milhouse Wrote:Thanks @Milhouse below worked like charm:(2018-03-22, 00:42)sniferx1 Wrote: Working Command:./texturecache.py imdb tvshows | ./texturecache.py set @imdb.fields.movies=votes,title,rating,year,runtime,genre,plot,plotoutlineThis is "working" because you're passing@imdb.fields.movies
to the wrong command in the pipeline, where it is ignored. Since it is being ignored, theimdb tvshows
command in the pipeline is using whateverimdb.fields.tvshows
is configured in texturecache.cfg (and if there is nothing defined in texturecache.cfg then it will use the defaultrating, votes
).
Your command should be:
Code:./texturecache.py imdb tvshows @imdb.fields.tvshows=votes,title,rating,runtime,plot | ./texturecache.py set
(2018-03-22, 00:42)sniferx1 Wrote: Can you please let me know what are the supported fields for tvshows?text:votes, rating, title, runtime, plot
should work for tvshows.
The error you are getting is becauseyear
andgenre
are not supported when querying episodes (they are supported by movies, and supported by tvshows butimdb tvshows
is really updating individual episodes where these fields are not supported), so JSON returns an error, which you are then piping throughtexturecache.py set
, and the error is not valid JSON soset
chokes.
When experiencing this type of error it helps if you break the pipeline down to see the error that is being produced.
./texturecache.py imdb tvshows @imdb.fields.tvshows=votes,rating,title,runtime,plot | ./texturecache.py set