2015-11-13, 01:33
(2015-11-11, 19:14)marhutchy Wrote: @Milhouse can you assist me in preparing a script to run the add-on, Rating Update in the background?
I am aware that the add-on provides an option to run the add-on as a service and on a schedule, but I'll have to change the setting every time I want to ran the add-on normally.
The script that I tried:
Code:C:\Python\Python35-32\python.exe C:\Users\MarHutchy\Downloads\PROGRAMS\TextureCacheMaintenance\texturecache.py exec script.ratingupdate silent=true
It ran the add-on normally, instead of silently.
The script.ratingupdate addon doesn't support a "silent" run-time argument so passing "silent=true" to this particular script is meaningless. Every script will support different run-time arguments, including none at all, so you need to look at the script documentation and/or source code to understand what arguments are supported.
In the case of script.ratingupdate it only appears to support one argument "Single=Movie"/"Single="TVShow", otherwise it runs according to the configured settings (top250, movies, and/or tvshows).
You'll need to contact the add-on author for help adding the features you require.
But you do realise you can use texturecache.py to update Top250, ratings and votes plus various other configurable fields (eg. plot, outline, runtime, year, genre)?
Code:
texturecache.py imdb movies | texturecache.py set
texturecache.py imdb tvshows | texturecache.py set