2008-10-07, 10:05
I'm creating a remote controller for XBMC which uses the http api (link in sig). Now I have some questions I hope you can answer.
1. Is it possible to obtain all available data (all 'getters') in one request? This could severely reduce network connection and XBMC server load. I'm doing several requests per second now, all to obtain data about what is playing now. If all this information would be on one page this would run smoother and with less problems.
2. I would like to implement love/hate support. Is this possible? If yes, how?
3. The 'Percentage' request (progress currently playing media) sometimes returns more then 100. Is it intended to or is this a bug?
4. I would like to offer the currently playing media for 'download'. I know a base64 string can be generated but this causes problems with larger files. Also, I would have to convert the string back to mp3 i.a. which I thinks is not possible without having to buy components (.Net). Can the HTTP api simply offer a file for download like it does with cover art thumbnails?
5. Does XBMC save the thumbnail (q:\web\thumb.jpg) in it's full resolution or does it resize it automatically?
Thanks in advance!
1. Is it possible to obtain all available data (all 'getters') in one request? This could severely reduce network connection and XBMC server load. I'm doing several requests per second now, all to obtain data about what is playing now. If all this information would be on one page this would run smoother and with less problems.
2. I would like to implement love/hate support. Is this possible? If yes, how?
3. The 'Percentage' request (progress currently playing media) sometimes returns more then 100. Is it intended to or is this a bug?
4. I would like to offer the currently playing media for 'download'. I know a base64 string can be generated but this causes problems with larger files. Also, I would have to convert the string back to mp3 i.a. which I thinks is not possible without having to buy components (.Net). Can the HTTP api simply offer a file for download like it does with cover art thumbnails?
5. Does XBMC save the thumbnail (q:\web\thumb.jpg) in it's full resolution or does it resize it automatically?
Thanks in advance!