[RELEASE] Texture Cache Maintenance utility
Hi. I have an issue. I was trying to use the ./texturecache.py along with mklocal.py and I realized I have an issue with how entries are being stored in my database.

I am using DAVS as a source rather than NFS. When my library is scrapped, the entries are added like this:

Code:
"file": "davs://xxxxxx:[email protected]_host:9999/base/Media/Videos/Movies/The.Riot.Club.%282014%29.720p.bluray.h264.dd5.1/The.Riot.Club.%282014%29.720p.bluray.h264.dd5.1.mkv"

but on the file system it is actually stored like this:

Code:
/data/Media/Videos/Movies/The.Riot.Club.(2014).720p.bluray.h264.dd5.1/The.Riot.Club.(2014).720p.bluray.h264.dd5.1.mkv
/data/Media/Videos/Movies/The.Riot.Club.(2014).720p.bluray.h264.dd5.1/The.Riot.Club.(2014).720p.bluray.h264.dd5.1.nfo
/data/Media/Videos/Movies/The.Riot.Club.(2014).720p.bluray.h264.dd5.1/The.Riot.Club.(2014).720p.bluray.h264.dd5.1-poster.jpg
/data/Media/Videos/Movies/The.Riot.Club.(2014).720p.bluray.h264.dd5.1/The.Riot.Club.(2014).720p.bluray.h264.dd5.1-fanart.jpg

It looks like xbmc is storing the paranthesis as encoded rather than decoding them. This doesn't cause any problems and all of my xbmc boxes work as expected. That being said, when I try to use the tool like this:

Code:
./texturecache.py jr movies | ./mklocal.py --local /data/Media/Videos/Mtest  --prefix davs://xxxxxx:[email protected]_host:9999/base/Media/Videos/Movies --artwork fanart poster clearlogo clearart --output fixup.dat

It attempts to create directories and file names encoded which isn't correct in my case. Is there anything that can be done? I really would have liked to use the mklocal.py to store images at original quality. I actually think xbmc is probably storing it incorrectly but it is what it is... Smile

I'm not sure if this is fixable as the root of hte problem is xbmc storing them incorrectly and mklocal doesn't know if an entrry is really a parenthasis of a literal '%28'/'%29'.

Thoughts??
Reply
 
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 calisro - 2015-08-13, 14:45
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