Loading ...
Sorry, an error occurred while loading the content.
 

Re: Itunes 10 and mt-daapd

Expand Messages
  • jeannot31
    Another patch is posted for mt-daapd-0.2.4.2 : in daap.c: $ diff -u ../../mt-daapd-0.2.4.2.orig/src/daap.c daap.c * * * ../../mt-daapd-0.2.4.2.orig/src/daap.c
    Message 1 of 2 , Sep 8, 2010
      Another patch is posted for mt-daapd-0.2.4.2 :

      in daap.c:

      $ diff -u ../../mt-daapd-0.2.4.2.orig/src/daap.c daap.c
          • ../../mt-daapd-0.2.4.2.orig/src/daap.c 2010-09-07 21:42:56.904105700 +0100
      + daap.c 2010-09-07 22:52:47.747506391 +0100
      @@ -133,6 +133,7 @@
      { 0x0C, "arif", "daap.resolveinfo" },
      { 0x05, "aeNV", "com.apple.itunes.norm-volume" },
      { 0x01, "aeSP", "com.apple.itunes.smart-playlist" },
      + { 0x01, "aeMK", "com.apple.itunes.mediakind" },
      { 0x00, NULL, NULL }
      };

      @@ -586,6 +587,9 @@
      // g = g && daap_add_char(mlit,"asur",3); /* rating */
      if(song->year && (wantsMeta(meta, metaSongYear)))
      g = g && daap_add_short(mlit,"asyr",song->year);
      +
      + // Added for iTunes 10 - hardcode mediakind to music
      + g = g && daap_add_int(mlit, "aeMK", 1);
      }

      if(g == 0) 


      --- In nslu2-linux@yahoogroups.com, "jeannot31" <ljr@...> wrote:
      >
      > Hi,
      > It seems iTunes10 needs some update to mt-daapd / mt-daapd-svn .A patch
      > already exists on Apple forum :
      > http://discussions.info.apple.com/thread.jspa?threadID=2564925&start=60&\
      > tstart=0
      > <http://discussions.info.apple.com/thread.jspa?threadID=2564925&start=60\
      > &tstart=0>
      > A copy in case of post deletion :
      > diff -u mt-daapd-svn-1696.original/src/plugins/out-daap-proto.c
      > mt-daapd-svn-1696/src/plugins/out-daap-proto.c---
      > mt-daapd-svn-1696.original/src/plugins/out-daap-proto.c 2007-08-10
      > 00:07:23.000000000 -0400+ mt-daapd-svn-1696/src/plugins/out-daap-proto.c
      > 2010-09-07 19:04:44.932978839 -0400@@ -716,6 +716,8 @@ /*
      > aeHV */ size += 9; + size += 12;+ return size;
      > break; @@ -920,6 +922,9 @@ if(daap_wantsmeta(pinfo->meta,
      > metaSongContentRating)) current +=
      > dmap_add_char(current,"ascr",
      > atoi(valarray[SG_CONTENTRATING]));++ current += dmap_add_int(current,
      > "aeMK", 1);+ return 0; break;
      > Thanks to maintainers to update the current mt-daapd-svn version (Syno
      > ds107+)
      > Bye
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.