ejurgensen/forked-daapd — pull request #65 by chme (2014-12-05 06:03:30+00:00)
Title: only use queryfilter for playlists

This adresses the issue reported by Tom_A in the forum (http://www.raspberrypi.org/forums/viewtopic.php?p=646835#p646835). I noticed it a while ago as it happens also by selecting a song from the artists view. This will add all songs from the artist to the playqueue. The cause of this is the queryfilter parameter in the add request from Apple Remote.

Example request:
/ctrl-int/1/playqueue-edit?command=add&query='dmap.itemid:284'&queuefilter=artist:7031022036875718667&[...]

Ignoring the queuefilter solves this.

I have not checked how the latest iTunes version handles such requests, but back then iTunes did the same as forked-daapd does now (without this pr).