Implement sort=artist for DACP/player
This commit is contained in:
parent
204a756283
commit
6bfc4a65e2
|
@ -396,6 +396,8 @@ player_queue_make(struct query_params *qp, const char *sort)
|
|||
qp->sort = S_NAME;
|
||||
else if (strcmp(sort, "album") == 0)
|
||||
qp->sort = S_ALBUM;
|
||||
else if (strcmp(sort, "artist") == 0)
|
||||
qp->sort = S_ARTIST;
|
||||
}
|
||||
|
||||
ret = db_query_start(qp);
|
||||
|
|
Loading…
Reference in New Issue