2011-11-05, 20:52
Thanks for the update about the onplay!
I redid a lot and am now using http to get and post JSON. tcp seems fine to send json but when you recieve it(especially if getting entire artist list,4000+) it is so fragmented you have to do preparsing to make sure you have the entire request recieved.
Now using http I get the entire json for each singular request. Everything works perfect. Am also using superobject to parse the json.
I did have one request: does anyone know if there is a shortcut to get the image of a album that has no thumbnail, empty artist thumbnail, empty movie thumbnail? These are the images xbmc displays when no image is avail.
I know I could just find them in the source for xbmc but then I am using their images in my program. I would rather either load them through http from xbmc or instead of xbmc json returning "thumbnail":"" it could return the path to the default thumbnail xbmc uses.
Hope that wasnt to complicated.
I redid a lot and am now using http to get and post JSON. tcp seems fine to send json but when you recieve it(especially if getting entire artist list,4000+) it is so fragmented you have to do preparsing to make sure you have the entire request recieved.
Now using http I get the entire json for each singular request. Everything works perfect. Am also using superobject to parse the json.
I did have one request: does anyone know if there is a shortcut to get the image of a album that has no thumbnail, empty artist thumbnail, empty movie thumbnail? These are the images xbmc displays when no image is avail.
I know I could just find them in the source for xbmc but then I am using their images in my program. I would rather either load them through http from xbmc or instead of xbmc json returning "thumbnail":"" it could return the path to the default thumbnail xbmc uses.
Hope that wasnt to complicated.