2010-09-12, 00:21
Does anyone know how you play all the songs on an album in order of tracknumber?
I can add the album to an AudioPlaylist and then play it with the commands below but it only sorts the songs in order of title A-Z.
Adding Sort parameters to the Playlist.Add seems to have no effect.
Do I just have to retrieve all the songs and then manually add them to the playlist in my desired order?
I can retrieve an album's songs in tracknumber order with:
I can add the album to an AudioPlaylist and then play it with the commands below but it only sorts the songs in order of title A-Z.
Code:
{"id":1,"jsonrpc":"2.0","method":"AudioPlaylist.Add","params":{"albumid":96}}
{"id":2,"jsonrpc":"2.0","method":"Audioplaylist.Play"}
Adding Sort parameters to the Playlist.Add seems to have no effect.
Do I just have to retrieve all the songs and then manually add them to the playlist in my desired order?
I can retrieve an album's songs in tracknumber order with:
Code:
{"id":3,"jsonrpc":"2.0","method":"AudioLibrary.GetSongs",
"params":{"albumid":96, "sort":{"method":"track"}}}