[RELEASE] Texture Cache Maintenance utility
(2018-03-22, 01:50)Milhouse Wrote:
(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,plotoutline
This 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. 
 Thanks @Milhouse below worked like charm:
./texturecache.py imdb tvshows @imdb.fields.tvshows=votes,rating,title,runtime,plot | ./texturecache.py set
Reply


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, 02:01
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 utility17