[RELEASE] Texture Cache Maintenance utility
OK, try this test version of texturecache.py: http://sprunge.us/gELh

It will partially re-quote dav/davs urls before setting them into the media library.

(note the following is a dry-run, also I'm using your test data for the poster which is clearly not a valid poster!)
$ ./texturecache.py testset movie 2395 art.poster "davs://xxxx/base/Media/Videos/Movies/Lock,.Stock.and.Two.Smoking.Barrels.(1998).720p.bluray.h264/Lock,.Stock.and.Two.Smoking.Barrels.(1998).720p.bluray.h264.mp4"
### DRY RUN ###
  "params": {
    "art": {
      "poster": "davs://xxxx/base/Media/Videos/Movies/Lock,.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264/Lock,.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264.mp4"
    "movieid": 2395
  "method": "VideoLibrary.SetMovieDetails"
### DRY RUN ###

When the above is applied to the media library, Kodi will quote/encode the % from %28 and %29 as %25, so you'll end up with "j movies" returning:
"poster": "image://davs%3a%2f%2fxxxx%2fbase%2fMedia%2fVideos%2fMovies%2fLock%2c.Stock.and.Two.Smoking.Barrels.%25281998%2529.720p.bluray.h264%2fLock%2c.Stock.and.Two.Smoking.Barrels.%25281998%2529.720p.bluray.h264.mp4/"
and the decoded version of the above is:
"poster": "image://davs://xxxx/base/Media/Videos/Movies/Lock,.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264/Lock,.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264.mp4/"
which I think is what you were getting at the beginning.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Thread Rating:
  • 17 Vote(s) - 4.76 Average

Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2015-08-13, 21:14
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 utility4.7617