2011-05-29, 09:07
Mizaki Wrote:I've looked around and no one seems to have mentioned it. Something like:Feel free to create feature request tickets for those on trac. I think we once discussed it internally but we couldn't agree on what RecentlyAddedSongs should return because if you e.g. add two new albums and RecentlyAddedSongs only returns 10 songs you will only get the 10 last songs from the last album added.
RecentlyAddedAlbums
RecentlyAddedArtists
RecentlyAddedSongs
Is this planned?
Mizaki Wrote:Sort order desending doesn't appear to work.
The more basic:Code:{"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": { "sort": { "order": "descending" }, "limits": { "end": 10 } }, "id": 1}
Returns the same as:Code:{"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": { "sort": { "order": "descending" }}, "id": 1}
Code:{"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": { "sort": { "order": "ascending" }}, "id": 1}
Or am I misunderstanding something?
You are missing the "sort method". The default method is "none" and if there is no sort ordering you can't really invert the order either. If you e.g. use the sort method "album" or "year" and change between "descending" and "ascending" order you will see a difference.