Use title_sort for DAAP sort headers

This commit is contained in:
Julien BLACHE 2011-03-15 21:24:24 +01:00
parent 4dce6390ea
commit f5b167080b

View File

@ -1759,7 +1759,7 @@ daap_reply_songlist_generic(struct evhttp_request *req, struct evbuffer *evbuf,
if (sort_headers) if (sort_headers)
{ {
ret = daap_sort_build(sctx, dbmfi.title); ret = daap_sort_build(sctx, dbmfi.title_sort);
if (ret < 0) if (ret < 0)
{ {
DPRINTF(E_LOG, L_DAAP, "Could not add sort header to DAAP song list reply\n"); DPRINTF(E_LOG, L_DAAP, "Could not add sort header to DAAP song list reply\n");