(2018-01-14, 02:10)steve1977 Wrote: Is there any advantage of running lc instead of just c for my use case?
lc
will consider fewer items (ie. those items added since the timestamp) so is useful for a quick "top up", while
c
will process all items and take much longer.
(2018-01-14, 02:10)steve1977 Wrote: I noticed you specific movies in your commends. Assuming I want to cache movies, tvshows and music, I would not need to specify this and just leave it out?
Mostly just habit on my part, as I don't really see the point of caching addon artwork, and all my music artwork is local and rarely changes these days so again no point caching that. You can leave
movies
out if you want, you may simply be processing more items than is necessary. Your call.
(2018-01-14, 02:10)steve1977 Wrote: I just ran it again and getting quite a few errors. Any idea what they could be and could this has come from running two devices without specifying the timestamp file?
I can't tell what your errors are just from you telling me you had errors.
Most likely you have remote artwork that is not available for download. It should tell you what artwork could not be downloaded. Some sites block/prevent downloads which may work in the browser. I don't know why.
(2018-01-14, 02:10)steve1977 Wrote: Also, any thoughts why it shows 3 threads although my LE device only has 2?
There are two queues: qm and qs. "qm" is the multi-threaded queue, while "qs" is the single threaded queue. Some sites (eg. fanart.tv) have in my experience tended to respond negatively to multiple concurrent downloads so access to such sites is forced through a single queue. Total threads is thus qm+qs, ie. whatever number of download threads you configure (qm) + 1 (qs).
You can configure single threaded urls with the property
singlethread.urls
- the default is
singlethread.urls = assets\.fanart\.tv
, or disable single threaded urls with
singlethread.urls=
. To add extra values to an existing property use the notation:
singlethread.urls = +http://ia\.media-imdb\.com
.
(2018-01-14, 02:35)steve1977 Wrote: And related question: sometimes my video library update does not complete and gives a prompt: "unable to connect to remote server would you like to continue scanning kodi". Can vscan force a yes or would this message leads to the script hanging and never completing the scan and the consecutive tasks?
No,
vscan
cannot force a yes - there is no way for the texturecache.py script to know that the dialog has appeared.
Since JSON API 6.19.0, the default is for
vscan
(and
ascan
,
vclean
and
aclean
) to NOT show GUI dialogs or any progress information.
You can enable GUI dialogs and progress info by setting the properties
scan.showdialogs = yes
and/or
clean.showdialogs = yes
.
However, if you have not enabled GUI dialogs then IMHO when a GUI dialog appears during a
vscan
this should be classed as a bug and you should report it on trac.kodi.tv.