2015-01-22, 22:52
yes I restart the HTPC many times
(2015-01-22, 02:07)Milhouse Wrote: The problem is your AFTV is running an old version of XBMC, that doesn't support the Textures JSON API. Without the JSON API, which provides remote access to the texture cache, the script is forced to directly access the userdata folder of the AFTV. Since you're running the script on Windows, that's never going to work, as Windows can't mount the AFTV SD card.
Your best option is to run the script directly on the AFTV, so that the script has direct access to userdata, or upgrade the AFTV to Helix which does support the Textures JSON API.
(2015-01-22, 22:52)willynuisance Wrote: yes I restart the HTPC many times
(2015-01-23, 19:42)xexe Wrote: (is it just a matter of setting a huge qaperiod = 999999?)
(2015-01-23, 19:42)xexe Wrote: Also how can I exclude "mpaa" from being a trigger for a "qax" based refresh
# values common to all sections go in here...
#qaperiod=9999
#allow.recacheall=yes
[pi1]
xbmc.host=192.168.0.8
[pi2]
xbmc.host=192.168.0.9
texturecache.py @section=pi1 qa
texturecache.py @section=pi1 vscan
texturecache.py @section=pi1 c movies
texturecache.py @section=pi1 c tvshows
texturecache.py @section=pi2 c movies
texturecache.py @section=pi2 c tvshows
(2015-01-23, 20:02)Milhouse Wrote:(2015-01-23, 19:42)xexe Wrote: (is it just a matter of setting a huge qaperiod = 999999?)
Yes.
(2015-01-23, 19:42)xexe Wrote: Also how can I exclude "mpaa" from being a trigger for a "qax" based refresh
The default fields for "qa.blank.movies" are "plot, mpaa", so use "@qa.blank.movies=plot" and only movies with a blank (empty) plot will be flagged up by qa/qax.
Or "@qa.blank.movies=plot, ?mpaa" would result in qax treating mpaa as a warning rather than a fail (a fail causes a refresh, a warning just outputs a message).
Quote:./texturecache.py nc movies
Cache pre-load activity summary for "movies":
| fanart | poster | thumb | TOTAL
--------------+-------------+-------------+-------------+-------------
Cached | - | - | - | 0
Deleted | - | - | - | 0
Duplicate | 197 | 202 | - | 399
Error | - | - | - | 0
Ignored | - | - | - | 0
Not in Cache | 180 | 222 | - | 402
Skipped | 3917 | 4155 | 1 | 8073
Undefined | - | - | - | 0
======================================================================
TOTAL | 4294 | 4579 | 1 | 8874
Loading: 00:00:03.51
Parsing: 00:00:00.28
Comparing: 00:00:07.57
TOTAL RUNTIME: 00:00:11.39
./texturecache.py c movies
...
Need to cache: [ fanart ] for movie: Charlie Zone
Need to cache: [ poster ] for movie: Charlie Zone
...and many more! (First 100 items shown)
Caching artwork: 0 items remaining of 402 (qs: 0, qm: 0), 0 errors, 0 threads active (02.86 downloads per second, ETA: 00:00:00)
Cache pre-load activity summary for "movies":
| fanart | poster | thumb | TOTAL
--------------+-------------+-------------+-------------+-------------
Cached | 180 | 222 | - | 402
Deleted | - | - | - | 0
Duplicate | 197 | 202 | - | 399
Error | - | - | - | 0
Ignored | - | - | - | 0
Skipped | 3917 | 4155 | 1 | 8073
Undefined | - | - | - | 0
======================================================================
TOTAL | 4294 | 4579 | 1 | 8874
Download Time | 00:00:46.03 | 00:01:05.16 | - | 00:01:50.86
Threads Used: 2
Min/Avg/Max: 0.48 / 2.68 / 7.91
Loading: 00:00:03.03
Parsing: 00:00:00.28
Comparing: 00:00:07.76
Downloading: 00:01:51.11
TOTAL RUNTIME: 00:02:02.21
Cache pre-load activity summary for "movies":
| fanart | poster | thumb | TOTAL
--------------+-------------+-------------+-------------+-------------
Cached | - | - | - | 0
Deleted | - | - | - | 0
Duplicate | 197 | 202 | - | 399
Error | - | - | - | 0
Ignored | - | - | - | 0
Not in Cache | 180 | 222 | - | 402
Skipped | 3917 | 4155 | 1 | 8073
Undefined | - | - | - | 0
======================================================================
TOTAL | 4294 | 4579 | 1 | 8874
Loading: 00:00:03.12
Parsing: 00:00:00.28
Comparing: 00:00:07.93
TOTAL RUNTIME: 00:00:11.36
The following items could not be downloaded:
[thumb ] [Modern Family ] smb://192.168.79.119/Storage/Videos/TV/Modern Family/folder.jpg
[fanart ] [Modern Family ] smb://192.168.79.119/Storage/Videos/TV/Modern Family/fanart.jpg
003322|d/d3629323.jpg|0225|0400|0001|2015-01-25 22:47:17|2015-01-25 14:47:15|smb://192.168.79.119/threeterra/TV/Modern Family/Season 06/Modern Family S06E11 HD TV.tbn
003324|d/dd5606a6.jpg|0225|0400|0001|2015-01-25 22:47:22|2015-01-25 14:47:22|smb://192.168.79.119/threeterra/TV/Modern Family/Season 06/Modern Family S06E12 HD TV.tbn
Matching row ids: 3322 3324
texturecache.py jd tvshows "modern family"
(2015-01-26, 04:08)Milhouse Wrote: The non-existent path is in your media library.
Run:
and you'll see the artwork paths associated with this show, some of which will refer to your non-existent path, smb://192.168.79.119/Storage/etc.Code:texturecache.py jd tvshows "modern family"
You need to fix your media library, and replace the non-existent paths with the correct path.
You can do this manually in the GUI with "Choose art..." from the context menu, or do it automatically using mklocal.py (see previous posts for details).
(2015-01-25, 22:07)Milhouse Wrote: Impossible to say without a logfile. Unusual, though. Check for errors on the Kodi client (in kodi.log), maybe it's got some sort of problem writing to the local SQLite db or filesystem.