[RELEASE] Texture Cache Maintenance utility
(2016-12-04, 15:39)Milhouse Wrote: Is this using the texturecache.cfg from post #2077?

If so, can you run the following and paste the output
Code:
./texturecache.py config
./texturecache.py nc movies Zootopia @logfile=/tmp/tc.log
./texturecache.py jd movies Zootopia

Can you also upload the contents of /tmp/tc.log to a pastebin site and post the link.

Thank you for your reply @Milhouse

I don't have anything in the .cfg file except:
Code:
allow.recacheall=yes

Code:
osmc@SimorghOSMC:~$ ./texturecache.py config
Current properties (if exists, read from texturecache.cfg):

  sep = |
  userdata = /home/osmc/.kodi/userdata/
  dbfile = Database/Textures13.db
  thumbnails = Thumbnails/
  kodi.host = localhost
  webserver.port = 8080
  webserver.ctimeout = 0.5
  rpc.port = 9090
  rpc.ipversion =
  rpc.retry = 12
  rpc.ctimeout = 0.5
  chunked = yes
  modifieddate.mdy = no
  query.seasons = yes
  query.episodes = yes
  download.predelete = no
  download.payload = yes
  download.retry = 3
  download.prime = yes
  download.threads = 2
  singlethread.urls = assets\.fanart\.tv
  extrajson.addons  =
  extrajson.agenres =
  extrajson.vgenres =
  extrajson.albums  =
  extrajson.artists =
  extrajson.songs   =
  extrajson.movies  =                                                                                                                          
  extrajson.sets    =                                                                                                                          
  extrajson.tvshows.tvshow =                                                                                                                    
  extrajson.tvshows.season =                                                                                                                    
  extrajson.tvshows.episode=
  setmembers = yes
  songmembers = no
  qaperiod = 30 (added after 2016-11-04)
  qa.file = no
  qa.nfo.refresh =
  qa.useoldrefreshmethod = yes
  qa.fail.checkexists = yes
  qa.fail.missinglocalart = no
  qa.fail.urls = ^video, ^music
  qa.warn.urls =
  qa.art.addons = thumbnail
  qa.art.agenres = thumbnail
  qa.art.albums = fanart, thumbnail
  qa.art.artists = fanart, thumbnail
  qa.art.movies = fanart, poster
  qa.art.musicvideos =
  qa.art.pvr.radio =
  qa.art.pvr.radio.channel = thumbnail
  qa.art.pvr.tv =
  qa.art.pvr.tv.channel = thumbnail
  qa.art.sets = fanart, poster
  qa.art.songs = fanart, thumbnail
  qa.art.tvshows.episode = thumb
  qa.art.tvshows.season = poster
  qa.art.tvshows.tvshow = fanart, banner, poster
  qa.art.vgenres = thumbnail
  qa.blank.addons =
  qa.blank.agenres =
  qa.blank.albums =
  qa.blank.artists =
  qa.blank.movies = plot, mpaa
  qa.blank.musicvideos =
  qa.blank.pvr.radio =
  qa.blank.pvr.radio.channel =
  qa.blank.pvr.tv =
  qa.blank.pvr.tv.channel =
  qa.blank.sets =
  qa.blank.songs =
  qa.blank.tvshows.episode = plot
  qa.blank.tvshows.season =
  qa.blank.tvshows.tvshow = plot
  qa.blank.vgenres =
  qa.zero.addons =
  qa.zero.agenres =
  qa.zero.albums =
  qa.zero.artists =
  qa.zero.movies =
  qa.zero.musicvideos =
  qa.zero.pvr.radio =
  qa.zero.pvr.radio.channel =
  qa.zero.pvr.tv =
  qa.zero.pvr.tv.channel =
  qa.zero.sets =
  qa.zero.songs =
  qa.zero.tvshows.episode =
  qa.zero.tvshows.season =
  qa.zero.tvshows.tvshow =
  qa.zero.vgenres =
  cache.castthumb = no
  cache.hideallitems = no
  cache.artwork =
  cache.ignore.types = ^video, ^music
  cache.extrafanart = no
  cache.extrathumbs = no
  cache.videoextras = no
  cache.refresh =
  cache.dropfile =
  prune.retain.types =
  prune.retain.previews = yes
  prune.retain.pictures = no
  prune.retain.chapters = yes
  missing.ignore.patterns =
  logfile =
  logfile.verbose = yes
  logfile.unique = no
  logfile.dcache = no
  checkupdate = yes
  autoupdate = yes
  allow.recacheall = yes
  lastrunfile =
  orphan.limit.check = yes
  purge.minlen = 5
  picture.filetypes =
  video.filetypes =
  audio.filetypes =
  subtitle.filetypes =
  watched.overwrite = no
  network.mac =
  imdb.fields.movie = rating, votes, top250
  imdb.fields.tvshows = rating, votes
  imdb.ignore.tvtitles =
  imdb.map.tvtitles =
  imdb.translate.tvtitles =
  imdb.translate.tvyears =
  imdb.ignore.missing.episodes = no
  imdb.threads = 10
  imdb.timeout = 15.0
  imdb.retry = 3
  imdb.grouping = ,
  imdb.period =
  imdb.delete_parenthesis = yes
  bin.tvservice = /opt/vc/bin/tvservice
  bin.vcgencmd = /opt/vc/bin/vcgencmd
  bin.ceccontrol =
  hdmi.force.hotplug = no
  hdmi.ignoresuspend = no
  hdmi.ignoredisable = no
  hdmi.ignoreplayer = no
  hdmi.ignorelibrary = no
  dcache.size = 512
  dcache.agelimit = 180
  posterwidth = 5
  clean.showdialogs = no
  scan.showdialogs = no
  profile.enabled = yes
  profile.autoload = yes
  profile.retry = 60
  profile.wait = 0
  profile.name = Master user
  profile.password =
  profile.password.encrypted = no
  profile.directory =

See http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v6 for details of available audio/video fields.

Code:
osmc@SimorghOSMC:~$ ./texturecache.py nc movies Zootopia @logfile=/tmp/tc.log
Need to cache: [animatedposter] for movie: Zootopia                                
Need to cache: [animatedfanart] for movie: Zootopia

Cache pre-load activity summary for "movies", filtered by "Zootopia":

              |  animatedfanart|  animatedposter|    fanart   |    poster   |    TOTAL    
--------------+----------------+----------------+-------------+-------------+-------------
Cached        |        -       |        -       |      -      |      -      |      0      
Deleted       |        -       |        -       |      -      |      -      |      0      
Duplicate     |        -       |        -       |      -      |      -      |      0      
Error         |        -       |        -       |      -      |      -      |      0      
Ignored       |        -       |        -       |      -      |      -      |      0      
Not in Cache  |        1       |        1       |      -      |      -      |      2      
Skipped       |        -       |        -       |      1      |      1      |      2      
Undefined     |        -       |        -       |      -      |      -      |      0      
==========================================================================================
TOTAL         |        1       |        1       |      1      |      1      |      4      

       Loading: 00:00:00.10
       Parsing: 00:00:00.00
     Comparing: 00:00:04.23
TOTAL RUNTIME: 00:00:04.34

Code:
osmc@SimorghOSMC:~$ ./texturecache.py jd movies Zootopia
[                        
  {
    "art": {
      "animatedfanart": "image://special://thumbnails/animatedgifs/tt2948356_fanart.gif/",
      "animatedposter": "image://special://thumbnails/animatedgifs/tt2948356_poster.gif/",
      "fanart": "image://smb://10.0.1.120:445/Sohrab15/Muvees 15/Zootopia (2016)/Zootopia 2016 1080p BluRay x264 DTS-JYK-fanart.jpg/",
      "poster": "image://smb://10.0.1.120:445/Sohrab15/Muvees 15/Zootopia (2016)/Zootopia 2016 1080p BluRay x264 DTS-JYK-poster.jpg/"
    },
    "file": "smb://10.0.1.120:445/Sohrab15/Muvees 15/Zootopia (2016)/Zootopia 2016 1080p BluRay x264 DTS-JYK.mkv",
    "label": "Zootopia",
    "movieid": 434,
    "title": "Zootopia"
  }
]


Uploaded /tmp/tc.log to http://paste.osmc.io/fakoletaye


Thank you in advance.
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 Simorgh - 2016-12-04, 19:20
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