What's new

USB Application -> Media Server - iTunes Server

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

test011

Regular Contributor
Do I need to install and/or configure a Rendezvous daemon for mt-daapd to work properly?

2i053dg.jpg



Bellow does not return anything (run on the Windows PC with iTunes 11 installed)

dns-sd -B _daap._tcp
 
Last edited:
For Apple devices? Yes.
Just to make this clear, it's all the same:
Bonjour = Rendezvouz = Zeroconf = Avahi
 
Last edited:
Somehow mt-daapd is started with -m option.
It disables built-in mDNSResponder. I wonder where I can modify this startup setting.
 
For Apple devices? Yes.
Just to make this clear, it's all the same:
Bonjour = Rendezvouz = Zeroconf = Avahi

The problem is Asuswrt starts mt-daapd with '-m' option, which disables mt-daapd's built-in mDNS. Since there is no other mDNS handler in FW, '-m' option is a mistake, probably a relic from the time avahi and mt-daapd had some bug issue due to their twin mDNS function.

Do you know where can I find a startup script for mt-daapd, so I can get rid of '-m' ?

In the long run, Merlin, please remove '-m' from mt-daapd startup script, if you have no plan to add an mDNSResponder daemon to FW.
 
Last edited:
The problem is Asuswrt starts mt-daapd with '-m' option, which disables mt-daapd's built-in mDNS. Since there is no other mDNS handler in FW, '-m' option is a mistake, probably a relic from the time avahi and mt-daapd had some bug issue due to their twin mDNS function.

Do you know where can I find a startup script for mt-daapd, so I can get rid of '-m' ?

In the long run, Merlin, please remove '-m' from mt-daapd startup script, if you have no plan to add an mDNSResponder daemon to FW.

Asuswrt does have Avahi.

Code:
538 admin     2000 S    avahi-daemon: running [RT-AC68U-C958.local]
 
Asuswrt does have Avahi.

Code:
538 admin     2000 S    avahi-daemon: running [RT-AC68U-C958.local]

Avahi doesn't appear in the list of running processes on my ac66u and any attempt to start it is met with 'No such file or directory' even though I can see it in usr/sbin.

mt-daapd does appear, initially with the -m command, which I'm assuming, in the absence of avahi, is why the server isn't working.

When mt-daapd is restarted without -m (as seen in process list), the server works perfectly, although, often crashes after a short while.

If any of this is complete rubbish, feel free to correct me, my linux knowledge remains at zero! :eek:
 
Last edited:
Avahi doesn't appear in the list of running processes on my ac66u and any attempt to start it is met with 'No such file or directory' even though I can see it in usr/sbin.

mt-daapd does appear, initially with the -m command, which I'm assuming, in the absence of avahi, is why the server isn't working.

When mt-daapd is restarted without -m (as seen in process list), the server works perfectly, although, often crashes after a short while.

If any of this is complete rubbish, feel free to correct me, my linux knowledge remains at zero! :eek:

I suspect Asus only enables Avahi when also enabling Time Machine (I didn't check the code).

If it were me, I would just remove mt-daapd from the firmware. Aside from the fact that this is yet another proprietary protocol being supported specifically for Apple devices when there are open alternatives such as DLNA and I don't like supporting proprietary protocols, this daemon is also quite old and haven't been actively developed for years by its authors. It's a miracle that it still works at all with modern iTunes releases.
 
I suspect Asus only enables Avahi when also enabling Time Machine (I didn't check the code).

If it were me, I would just remove mt-daapd from the firmware. Aside from the fact that this is yet another proprietary protocol being supported specifically for Apple devices when there are open alternatives such as DLNA and I don't like supporting proprietary protocols, this daemon is also quite old and haven't been actively developed for years by its authors. It's a miracle that it still works at all with modern iTunes releases.

Avahi is fairly current, but completely agree about mt-daapd - it was a reverse engineered implementation, and hasn't been maintained with Apple's feature set in any event.

Easier just to keep a dedicated iTunes box and use home sharing - much more up to date...
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top