Package: mt-daapd Version: 0.9~r1696.dfsg-6lenny2 Tags: patch Severity: important
iTunes 10 doesn't work with mt-daapd. The issue has been tracked down to a missing tag in mt-daapd's replies. iTunes users represent a non-negligible part of the mt-daapd users out there, so this is quite an important issue. Maarten van Schaik <maar...@informaarten.nl> provided the attached patch, which is basically correct. Fix will be applied to Lenny and Squeeze. JB. -- Julien BLACHE <jbla...@debian.org> | Debian, because code matters more Debian & GNU/Linux Developer | <http://www.debian.org> Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169
#! /bin/sh /usr/share/dpatch/dpatch-run ## 13_itunes10.dpatch by <maar...@informaarten.nl> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Add aeMK to items-query to fix incompatibility issue with iTunes 10 @DPATCH@ diff -urNad mt-daapd-0.9~r1696.dfsg~/src/plugins/out-daap-proto.c mt-daapd-0.9~r1696.dfsg/src/plugins/out-daap-proto.c --- mt-daapd-0.9~r1696.dfsg~/src/plugins/out-daap-proto.c 2007-08-10 06:07:23.000000000 +0200 +++ mt-daapd-0.9~r1696.dfsg/src/plugins/out-daap-proto.c 2010-09-08 01:01:22.000000000 +0200 @@ -582,6 +582,7 @@ */ size = 8; /* mlit */ + size += 9; /* aeMK for iTunes 10 */ if(daap_wantsmeta(pinfo->meta, metaItemKind)) /* mikd */ size += 9; @@ -777,6 +778,7 @@ if(daap_wantsmeta(pinfo->meta, metaSongDataKind)) current += dmap_add_char(current,"asdk", (char)atoi(valarray[SG_DATA_KIND])); + current += dmap_add_char(current,"aeMK",(char)0x1); // FIX for iTunes 10; 1 = Music if(EMIT(valarray[13]) && daap_wantsmeta(pinfo->meta, metaSongDataURL)) current += dmap_add_string(current,"asul",valarray[SG_URL]); if(EMIT(valarray[5]) && daap_wantsmeta(pinfo->meta, metaSongAlbum))