mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
Force sane sorting in group replies
(because Hyperfine Remote will ask for artists sorted by album...)
This commit is contained in:
parent
a30069c0c7
commit
c6119c5aa5
@ -1531,11 +1531,13 @@ daap_reply_groups(struct evhttp_request *req, struct evbuffer *evbuf, char **uri
|
|||||||
{
|
{
|
||||||
tag = "agar";
|
tag = "agar";
|
||||||
qp.type = Q_GROUP_ARTISTS;
|
qp.type = Q_GROUP_ARTISTS;
|
||||||
|
qp.sort = S_ARTIST;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
tag = "agal";
|
tag = "agal";
|
||||||
qp.type = Q_GROUP_ALBUMS;
|
qp.type = Q_GROUP_ALBUMS;
|
||||||
|
qp.sort = S_ALBUM;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = evbuffer_expand(evbuf, 61);
|
ret = evbuffer_expand(evbuf, 61);
|
||||||
|
Loading…
Reference in New Issue
Block a user