DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-09-06 05:18:58

Stork
Member
Registered: 2008-12-18
Posts: 32

iTunes 10 Broke mt-daapd

Update:  On 24 Sep 10, Apple released iTunes 10.0.1 which is suppose to fix the compatibility problem with mt-daapd/FireFire. 

• Addresses an issue where the iTunes library and playlists appear empty.
• Resolves an issue that created an incompatibility with some third-party shared libraries.

iTunes 10.0.1 can be downloaded from iTunes' update function or from here:

http://support.apple.com/kb/DL1103

However, the good news is that there is progress with good folks updating the legacy s/w plus the development of the new forked-daapd.  Good on them!

--------

On 5 Sep 10, I wrote:

It's all over the Apple discussions boards that iTunes 10 broke mt-daapd on NASs.

http://discussions.info.apple.com/threa … D=12210992

The Internet talk is that the "forked mt-daapd" version is working with NASs.  Has anybody tried this on a 323, yet?

The good news is that I haven't upgraded to V10 on my Macs, yet.

Last edited by Stork (2010-09-25 18:58:01)

Offline

 

#2 2010-09-06 11:53:40

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: iTunes 10 Broke mt-daapd

forked-daap works for me. although it needs a state-of-the-art toolchain and is therefore not easy to compile.

Offline

 

#3 2010-09-06 15:37:55

Stork
Member
Registered: 2008-12-18
Posts: 32

Re: iTunes 10 Broke mt-daapd

Oxygen,  thanks for confirming forked-daapd works on the 323 with iTunes 10.  I'm sorry to hear it's not a trivial thing to put together.

Someone please port a forked-daapd pkg for the 323.  (Sorry, I don't have the knowledge or skill to put together a pkg.)

Here's a link for the Ubunto installation:  http://tmoore.org/technology/mp3-librar … th-ubuntu/

TIA.

Last edited by Stork (2010-09-06 16:10:11)

Offline

 

#4 2010-09-06 16:29:30

Kai
Member
Registered: 2009-05-30
Posts: 27

Re: iTunes 10 Broke mt-daapd

Hi!

You are out of luck if you running the device with standard firmware kernel. It is just to old and won't support required stuff like signalfd, inotify, eventfd or the like. I know there are attempts (non working) to backpatch and work arround this but I wouldn't recommend any of it.

If you are running debian just install the package and be done with it as a pretty recent version of forked-daapd made it into squeeze.

Never used chroot debian but assume it doesn't come with working package system?

So for  building yourself in chroot there are now release tarballs avaible that way simplify the toolchain requirements (i.e no antrl3/java dependencies for builds). They are available here: http://alioth.debian.org/~jblache/forked-daapd/
I would create a package for you guys but I have bricked my DNS a while ago! In the lack of a jtag/serial cable and relutancy (and unability ;-)) to solder one it just sits and rust in a corner now.

Offline

 

#5 2010-09-06 18:19:23

Stork
Member
Registered: 2008-12-18
Posts: 32

Re: iTunes 10 Broke mt-daapd

Kai wrote:

You are out of luck if you running the device with standard firmware kernel. It is just to old and won't support required stuff like signalfd, inotify, eventfd or the like. I know there are attempts (non working) to backpatch and work arround this but I wouldn't recommend any of it.

If you are running debian just install the package and be done with it as a pretty recent version of forked-daapd made it into squeeze...

I'm using 1.09 with funplug.  I don't know how to determine what version of the kernel is in 1.09.  While I know enough to do a few things in UNIX, I depend up the forums and how-to's to get the capability I need.

Replacing the 1.09 build with a Debian build scares the hell out of me.  I'll await some smart folks to figure out how to correct this iTunes 10 issue and, then, implement the mod once the recipe is documented.

In the meantime, from what Kai just said, were SOL w/o keeping iTunes at v9.21.

Offline

 

#6 2010-09-06 18:42:48

Stork
Member
Registered: 2008-12-18
Posts: 32

Re: iTunes 10 Broke mt-daapd

Kai, et al,

After spelunking around, I found this site which is owned by the guy who has taken over the lack of mt-daapd development and is heading up the development of forked-daapd.  For those of you technically inclined in the world of UNIX, please look to see if the tarball can be recompiled (or whatever) for the 323.

http://blog.technologeek.org/2010/09/04/345

Offline

 

#7 2010-09-07 14:57:59

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: iTunes 10 Broke mt-daapd

no it cant be, because the standard dns-323 kernel is to old.

Offline

 

#8 2010-09-09 00:52:13

Stork
Member
Registered: 2008-12-18
Posts: 32

Re: iTunes 10 Broke mt-daapd

Oxygen, et al,

Looks like several folks have ID'd the problem at http://discussions.apple.com/thread.jsp … p;tstart=0

Poster "Flyn" stated:  "I am the maintainer of dmapd, a server that supports DAAP. I found that my dmapd had the same problem as mt-daapd when it came to interoperability with iTunes 10. It seems that iTunes 10 requires aeMK/com.apple.itunes.mediakind included in the response to a "GET /databases/1/items." Ensuring that dmapd included this in its response fixed the server's ability to work with iTunes 10. As it has been pointed out, forked-daapd already does this. I suspect adding support for aeMK/com.apple.itunes.mediakind to mt-daapd would fix that server as well.

aeMK/com.apple.itunes.mediakind has been around for a few versions of iTunes. I suspect previous versions assumed a value of 1 (Music) when its value was missing from a response. iTunes 10 is more picky, which might actually turn out better for users once the servers are fixed. "

Further on, poster "technobabble" IDs the change: "Just seen the info from Flyn, looked at forked-daapd and dmapd and if you don't mind the hardcoding mt-daapd to simply state the mediakind is music then you only need two lines of code to daap.c (I'm running mt-daapd 0.2.4.2). With the changes below I can browse/stream music to iTunes 10..."

There are 323 and other NAS owners on this thread pleading for savy folks to recompile mt-daapd with the changes to regain the iTunes functionality.  So, please have at it!

Offline

 

#9 2010-09-10 19:02:33

Stork
Member
Registered: 2008-12-18
Posts: 32

Re: iTunes 10 Broke mt-daapd

The Synology & Netgear NAS forums are also trying to find an update to mt-daapd/FireFly as reported by Macbidouille (French - Macbidouille's got an English counterpart).

http://www.hardmac.com/news/2010/09/07/ … as-servers

On the Netgear ReadyNAS forum, one of the guys there has made a plugin that changes a few things in FireFly to correct the problem with iTunes 10.  Unfortunately, this specific plug-in is only available for the x86 based ReadyNAS line.

http://www.readynas.com/forum/viewtopic … 50#p256850

So, there's temporary or maybe permanent solutions out there.  Can someone here, who's smart on the 323's OS (I haven't coded in 30 years), research this plug to see if it's adaptable/can be converted to get the 323 compatible with iTunes 10?  Please?!

TIA.

Offline

 

#10 2010-09-10 21:51:38

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: iTunes 10 Broke mt-daapd

After a couple of evenings trying to compile this thing, I give up. First I had to wade through countless dependencies, which themselves had some dependencies. Nightmare smile

Yesterday finally all the necessary libraries compiled successfully, but forked-daapd itself complained with error messages right from the beginngin. As oxygen stated, I fear the NAS OS is simply too old to be compatible with this kind of software.

Disclaimer: I never before dealt with mt-daapd or even tried to compile it. I barely know what it does. I tried to find some resources on how other people compiled it for the NAS (surely an older version is available?), but no luck. If someone has done this before or has some insight on what is necessary to compile it, please let me know.

Offline

 

#11 2010-09-11 00:31:42

Stork
Member
Registered: 2008-12-18
Posts: 32

Re: iTunes 10 Broke mt-daapd

Kylek, welcome back.  Thanks for trying to get forked-daapd working.  You & Oxygen get Gold Stars for trying.  I hope D-Link hasn't given up on the 323's OS.  I'd had to put it out on the curb.

Now, we just need someone with mt-daapd insight to take advantage of what others are discovering.

Offline

 

#12 2010-09-15 03:32:36

gabenx
New member
Registered: 2010-09-15
Posts: 2

Re: iTunes 10 Broke mt-daapd

Hi Guys,
I figured mt-daapd would eventually fall behind for a long time now, and I've exchanged emails with Julien (the author) about NAS support since the beginning of the work on forked-daapd.

It definitely won't compile or operate as is on NAS boxes with older kernels without heavy rewrite of the code.

I'm the sponsor of this project ( http://www.freelancer.com/projects/C-Pr … ation.html ) to get forked-daapd running on all the NAS boxes out there, so once it's done, people will be able to compile it for the individual NAS models.  It'll be a few more weeks still, but work is happening.

Can someone post what kernel version is running on the DNS-323 with firmware 1.08?

Thanks,
G

Offline

 

#13 2010-09-15 04:10:27

Stork
Member
Registered: 2008-12-18
Posts: 32

Re: iTunes 10 Broke mt-daapd

gabenx wrote:

Hi Guys...Can someone post what kernel version is running on the DNS-323 with firmware 1.08?

Unfortunately, after searching, I couldn't find a recent documented version number.  However, the firmware is located here

ftp://ftp.dlink.com/Multimedia/dns323/Firmware/

You might be able to ferret it out of the latest firmware version.  I'm sacrificing a chicken for good luck.

Offline

 

#14 2010-09-15 07:24:20

gabenx
New member
Registered: 2010-09-15
Posts: 2

Re: iTunes 10 Broke mt-daapd

If you have telnet or ssh access to your NAS command line then type

uname -a

at the command line and it will report the kernel version information.

Thanks,

G

Offline

 

#15 2010-09-15 10:07:40

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: iTunes 10 Broke mt-daapd

Latest Kernel version is: 2.6.12.6-arm1


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#16 2010-09-15 16:28:56

Stork
Member
Registered: 2008-12-18
Posts: 32

Re: iTunes 10 Broke mt-daapd

scaramanga wrote:

Latest Kernel version is: 2.6.12.6-arm1

Thanks, scaramanga.  I'm away from my 323 and couldn't run the command recommended by gabenx.

Is the kernel version the same for 1.09?

Offline

 

#17 2010-09-25 16:13:13

Stork
Member
Registered: 2008-12-18
Posts: 32

Re: iTunes 10 Broke mt-daapd

iTunes 10.0.1 update fixes the compatibility problem.  See updated OP above.

Offline

 

#18 2010-11-13 15:59:17

Stork
Member
Registered: 2008-12-18
Posts: 32

Re: iTunes 10 Broke mt-daapd

Apple released iTunes 10.1 yesterday.  Anybody had problems with it?

Here's the update release info:
    * Use AirPlay to instantly and wirelessly stream videos from iTunes to the all-new Apple TV.
    * Sync with your iPhone, iPad, or iPod touch with iOS 4.2.
    * Provides a number of important stability and performance improvements.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB