mirror of
https://github.com/owntone/owntone-server.git
synced 2025-12-06 07:42:33 -05:00
Implement sort=artist for DAAP queries
This commit is contained in:
committed by
Julien BLACHE
parent
ee7b976eeb
commit
e5af78fe9f
@@ -1058,6 +1058,8 @@ get_query_params(struct evkeyvalq *query, int *sort_headers, struct query_params
|
||||
qp->sort = S_NAME;
|
||||
else if (strcmp(param, "album") == 0)
|
||||
qp->sort = S_ALBUM;
|
||||
else if (strcmp(param, "artist") == 0)
|
||||
qp->sort = S_ARTIST;
|
||||
else
|
||||
DPRINTF(E_DBG, L_DAAP, "Unknown sort param: %s\n", param);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user