2015-08-13, 18:52
Try v2.0.9 - this will now url decode "file" items for jd and jr.
These are the different j variations now I've reminded myself...
j: original json with no url decoding. ASCII is ensured.
jd: decoded urls, ensure ascii
jr: decoded urls, do not ensure ascii (so you may see unicode data in url fields).
Example:
Edit: Hopefully this change doesn't have any unwanted side effects...
These are the different j variations now I've reminded myself...
j: original json with no url decoding. ASCII is ensured.
jd: decoded urls, ensure ascii
jr: decoded urls, do not ensure ascii (so you may see unicode data in url fields).
Example:
Code:
$ ./texturecache.py j movies extraordinary
[
{
"art": {
"clearlogo": "image://nfs%3a%2f%2f192.168.0.3%2fmnt%2fshare%2fmedia%2fVideo%2fMoviesHD%2fForeign%20Language%2fThe%20Extraordinary%20Adventures%20of%20Ad%c3%a8le%20Blanc-Sec%20(2010)%5bBDRip%5d-logo.png/",
"fanart": "image://nfs%3a%2f%2f192.168.0.3%2fmnt%2fshare%2fmedia%2fVideo%2fMoviesHD%2fForeign%20Language%2fThe%20Extraordinary%20Adventures%20of%20Ad%c3%a8le%20Blanc-Sec%20(2010)%5bBDRip%5d-fanart.jpg/",
"poster": "image://nfs%3a%2f%2f192.168.0.3%2fmnt%2fshare%2fmedia%2fVideo%2fMoviesHD%2fForeign%20Language%2fThe%20Extraordinary%20Adventures%20of%20Ad%c3%a8le%20Blanc-Sec%20(2010)%5bBDRip%5d-poster.jpg/"
},
"file": "nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Foreign Language/The Extraordinary Adventures of Ad\u00e8le Blanc-Sec (2010)[BDRip].mkv",
"label": "The Extraordinary Adventures of Ad\u00e8le Blanc-Sec",
"movieid": 2017,
"title": "The Extraordinary Adventures of Ad\u00e8le Blanc-Sec"
}
]
$ ./texturecache.py jd movies extraordinary
[
{
"art": {
"clearlogo": "image://nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Foreign Language/The Extraordinary Adventures of Ad\u00e8le Blanc-Sec (2010)[BDRip]-logo.png/",
"fanart": "image://nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Foreign Language/The Extraordinary Adventures of Ad\u00e8le Blanc-Sec (2010)[BDRip]-fanart.jpg/",
"poster": "image://nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Foreign Language/The Extraordinary Adventures of Ad\u00e8le Blanc-Sec (2010)[BDRip]-poster.jpg/"
},
"file": "nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Foreign Language/The Extraordinary Adventures of Ad\u00e8le Blanc-Sec (2010)[BDRip].mkv",
"label": "The Extraordinary Adventures of Ad\u00e8le Blanc-Sec",
"movieid": 2017,
"title": "The Extraordinary Adventures of Ad\u00e8le Blanc-Sec"
}
]
$ ./texturecache.py jr movies extraordinary
[
{
"art": {
"clearlogo": "image://nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Foreign Language/The Extraordinary Adventures of Adèle Blanc-Sec (2010)[BDRip]-logo.png/",
"fanart": "image://nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Foreign Language/The Extraordinary Adventures of Adèle Blanc-Sec (2010)[BDRip]-fanart.jpg/",
"poster": "image://nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Foreign Language/The Extraordinary Adventures of Adèle Blanc-Sec (2010)[BDRip]-poster.jpg/"
},
"file": "nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Foreign Language/The Extraordinary Adventures of Adèle Blanc-Sec (2010)[BDRip].mkv",
"label": "The Extraordinary Adventures of Adèle Blanc-Sec",
"movieid": 2017,
"title": "The Extraordinary Adventures of Adèle Blanc-Sec"
}
]
Edit: Hopefully this change doesn't have any unwanted side effects...