2018-03-22, 01:50
(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, the imdb tvshows
command in the pipeline is using whatever imdb.fields.tvshows
is configured in texturecache.cfg (and if there is nothing defined in texturecache.cfg then it will use the default rating, 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 because
year
and genre
are not supported when querying episodes (they are supported by movies, and supported by tvshows but imdb tvshows
is really updating individual episodes where these fields are not supported), so JSON returns an error, which you are then piping through texturecache.py set
, and the error is not valid JSON so set
chokes.When experiencing this type of error it helps if you break the pipeline down to see the error that is being produced.