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:xxxxxxx@some_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:xxxxxxx@some_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...
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??