jasonmc / forked-daapd

A re-write of the firefly media server (mt-daapd). It's released under GPLv2+. Please note that this git repository is a mirror of the official one at git://git.debian.org/~jblache/forked-daapd.git
http://blog.technologeek.org/2009/06/12/217
GNU General Public License v2.0
328 stars 45 forks source link

iTunes 11 RemoteApp 3.0 fails to play songs #96

Open treus opened 11 years ago

treus commented 11 years ago

The Remote App 3.0 that was released together with iTunes 11 breaks the communication with the forked-daapd, due to some new properties it sends in the query.

Excerpt from the log this produces

[2012-12-02 10:15:37]     daap: DMAP field 'com.apple.itunes.extended-media-kind' is not a valid field in queries
[2012-12-02 10:15:37]     daap: DMAP field 'com.apple.itunes.extended-media-kind' is not a valid field in queries
[2012-12-02 10:15:37]     daap: Invalid DAAP query
[2012-12-02 10:15:37]   player: Improper DAAP query!
[2012-12-02 10:15:37]     dacp: Could not build song queue
[2012-12-02 10:15:37]     daap: DMAP field 'com.apple.itunes.extended-media-kind' is not a valid field in queries
[2012-12-02 10:15:37]     daap: Invalid DAAP query
[2012-12-02 10:15:37]     daap: Ignoring improper DAAP query
[2012-12-02 10:15:37]     dacp: Could not find requested property 'dacp.fullscreenenabled'
[2012-12-02 10:15:37]     dacp: Could not find requested property 'dacp.fullscreen'
[2012-12-02 10:15:37]     dacp: Could not find requested property 'dacp.visualizerenabled'
[2012-12-02 10:15:37]     dacp: Could not find requested property 'dacp.visualizer'
[2012-12-02 10:15:37]     dacp: Could not find requested property 'com.apple.itunes.itms-songid'
[2012-12-02 10:15:37]     dacp: Could not find requested property 'com.apple.itunes.has-chapter-data'

The parser must be extended to allow '-' in field-names, and the new properties must be included in the processing.

treus commented 11 years ago

I've committed a fix in my fork here: https://github.com/treus/forked-daapd/commit/75f30fd26d194d29d3cf26611f82f4a7319895ec

HuDsOn8758 commented 10 years ago

Looks nice! How could I install this fix? (Sorry for this stupid question)

Thx in advance!