[RELEASE] Texture Cache Maintenance utility
Hi Milhouse, I need your help Big Grin

My system configuration: Raspberry Pi2 with Openelec and Aeon Nox theme;
all media file stored into a Synology Nas (MySQL database created with MariaDB and phpMyAdmin).

From when I transfered all into the NAS, Kodi is became slow to load images.
I discovered your script: I installed it, I activated the webserver on port 8080 (instead of the default 80), reboot kodi and gave it a try.

With jd option I seen that all the images are downloaded every time from Internet:
I used your avatar example, but the situation is the same for all my media files (audio and movies).

Code:
OpenELEC:~ # ./texturecache.py jd movies avatar
[
  {
    "art": {
      "fanart": "image://http://assets.fanart.tv/fanart/movies/19995/moviebackground/avatar-4fec1d99872da.jpg/",
      "poster": "image://http://image.tmdb.org/t/p/original/44aaqZf0BfT5bdtIMFHgT5VYOCQ.jpg/"
    },
    "file": "nfs://192.168.1.68/volume1/FILM/Avatar - Extended Cut.mkv",
    "label": "Avatar",
    "movieid": 2051,
    "title": "Avatar"
  }
]

Into my media NAS folder there aren't the .nfo and .jpg files.
Maybe for this reason it grab all from the Web.

So I tryed

Code:
OpenELEC:~ # ./texturecache.py nc

but nothing changed (Kodi is still slow and no info and image are saved into nas directory):

Code:
|    banner   |    fanart   |    poster   |    thumb    |  thumbnail  |    TOTAL
--------------+-------------+-------------+-------------+-------------+-------------+-------------
Cached        |      -      |      -      |      -      |      -      |      -      |      0
Deleted       |      -      |      -      |      -      |      -      |      -      |      0
Duplicate     |     868     |     1929    |     861     |      -      |      58     |     3716
Error         |      -      |      -      |      -      |      -      |      -      |      0
Ignored       |      -      |      -      |      -      |      -      |      36     |      36
Not in Cache  |      32     |      3      |      13     |     378     |     790     |     1216
Season-all    |      -      |      -      |      5      |      -      |      -      |      5
Skipped       |      20     |     788     |     526     |     427     |     700     |     2461
Undefined     |      -      |     284     |      -      |      -      |     359     |     643
==================================================================================================
TOTAL         |     920     |     3004    |     1405    |     805     |     1943    |     8077

I used also the "prune" command (it delete a lot of things, but nothing).
I don't know what to do now.
Thx for any help
:*
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 lollo78 - 2015-08-20, 00:56
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