2015-09-06, 00:58
Hey guys, i`m having a small issue regarding retrieving posters, fanart etc. via the JSON RPC and the URL encode method.
So the response from the JSON server looks something like this :
So according to the Wiki, i should be using a syntax like this to retrieve the images
So, for example, for the fanart, it should be like this :
But all i get is a file not found error in Chrome when attempting to use the syntax. Same for poster,thumbnail etc.
Am i missing something?
So the response from the JSON server looks something like this :
Code:
{"id":"libMovies","jsonrpc":"2.0","result":{"limits":{"end":1,"start":0,"total":1},"movies":[{"art":{"fanart":"image://http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2f1O3tFuQsVgmjwx47xGKBjkSUiU6.jpg/","poster":"image://http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2fuVEFQvFMMsg4e6yb03xOfVsDz4o.jpg/"},"file":"D:\\Media\\Big_Buck_Bunny_1080p.mp4","label":"Big Buck Bunny","movieid":1,"thumbnail":"image://http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2fuVEFQvFMMsg4e6yb03xOfVsDz4o.jpg/"}]}}
So according to the Wiki, i should be using a syntax like this to retrieve the images
Code:
http://192.168.1.116/image/url_encode(URL_FROM_THE_JSON_RESPONSE)
So, for example, for the fanart, it should be like this :
Code:
http://192.168.1.116/image/url_encode(image://http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2f1O3tFuQsVgmjwx47xGKBjkSUiU6.jpg/)
But all i get is a file not found error in Chrome when attempting to use the syntax. Same for poster,thumbnail etc.
Am i missing something?