getSongsByGenre
Returns songs in a given genre.
Categories:
http://your-server/rest/getSongsByGenre
Since 1.9.0
Returns songs in a given genre.
Parameters
Parameter | Req. | OpenS. | Default | Comment |
---|---|---|---|---|
genre |
Yes | The genre, as returned by getGenres . |
||
count |
No | 10 | The maximum number of songs to return. Max 500. | |
offset |
No | 0 | The offset. Useful if you want to page through the songs in a genre. | |
musicFolderId |
No | (Since 1.12.0) Only return albums in the music folder with the given ID. See getMusicFolders . |
Example
http://your-server/rest/getSongsByGenre.view?genre=Rock&u=demo&p=demo&v=1.13.0&c=AwesomeClientName&f=json
Result
A subsonic-response
element with a nested songsByGenre
element on success.
// TODO
// TODO
Field | Type | Req. | OpenS. | Details |
---|---|---|---|---|
songsByGenre |
songsByGenre |
Yes | The song |
Last modified March 31, 2023: Remove "Reference" level (0e00cdd)