2012-05-12, 10:35
(2012-05-11, 21:33)Tolriq Wrote: About performances for example for audio songs I only get : DetailsSong.ALBUM, DetailsSong.TRACK, DetailsSong.ALBUMID, DetailsSong.ARTISTID, DetailsSong.ALBUMARTIST, DetailsSong.DURATION, DetailsSong.THUMBNAIL, DetailsSong.GENRE, DetailsSong.TITLE, DetailsSong.ARTIST, DetailsSong.YEAR those should not slow the query.
But on some Xbmc it can takes more than 30sec to get the result for 20k songs. (And I really mean 30 secs to get the first { not to download the data).
Well 20k songs is a lot of data to retrieve from the database and to write into JSON and will result in a huge JSON-RPC response. If the machine is an ATV or something like that it will take a while. The best solution to get around this would be to only retrieve e.g. 200 songs with one request so you can already display those but that approach currently doesn't make it faster, but like I said I'm working on that.