Implement sort=artist for DACP/player

This commit is contained in:
Kai Elwert 2010-10-26 18:06:36 +02:00 committed by Julien BLACHE
parent 204a756283
commit 6bfc4a65e2
1 changed files with 2 additions and 0 deletions

View File

@ -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);