mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-23 11:32:34 -05:00
Only queue the rest of the album on quirky query
This commit is contained in:
parent
2c16b070ed
commit
365c5a3bc9
@ -1450,10 +1450,10 @@ dacp_reply_playqueueedit(struct evhttp_request *req, struct evbuffer *evbuf, cha
|
||||
?command=playnow&index=...&session-id=...
|
||||
-> play index
|
||||
|
||||
And the quirky query from iPad Remote - no sort and no queuefilter
|
||||
User selected track (artist tab):
|
||||
And the quirky query from Remote - no sort and no queuefilter
|
||||
User selected track (Audiobooks):
|
||||
?command=add&query='dmap.itemid:...'&mode=1&session-id=...
|
||||
-> clear queue, play itemid and the rest of artist tracks
|
||||
-> clear queue, play itemid and the rest of album tracks
|
||||
*/
|
||||
|
||||
s = daap_session_find(req, query, evbuf);
|
||||
|
@ -760,7 +760,7 @@ player_queue_make_daap(struct player_source **head, const char *query, const cha
|
||||
mfi = db_file_fetch_byid(id);
|
||||
if (!mfi)
|
||||
return -1;
|
||||
snprintf(buf, sizeof(buf), "f.songartistid = %" PRIi64, mfi->songartistid);
|
||||
snprintf(buf, sizeof(buf), "f.songalbumid = %" PRIi64, mfi->songalbumid);
|
||||
free_mfi(mfi, 0);
|
||||
qp.filter = strdup(buf);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user