Re: [Rhythmbox-devel] rhythmbox connecting to iTunes shared music on another machine



Ryan Skadberg wrote:

Did you set the gconf setting to browse for DAAP shares? I still think we are missing a GUI for this and it has to be set by hand.

Run this:

gconftool-2 -g /apps/rhythmbox/sharing/enable_browsing

If it is false, you need to run

I ran this and it returned true. I think the problem is at the avahi layer or below, most probably something to do with my network setup. However, I've run out of ideas on how to debug further as I have lmited knowledge of how all the this daap stuff is supposed to work. If I run avahi-browse on the Linus box this is what I get

bunkerbay:/home/bdalton# avahi-browse -a
Browsing domain 'local' on any.0 ...
Browsing for services of type '_daap._tcp' (iTunes Audio Access) in domain 'local' on wlan0.2 ...
Browsing for services of type '_workstation._tcp' (Workstation) in domain 'local' on wlan0.2 ...
Found service 'laptop' of type '_daap._tcp' (iTunes Audio Access) in domain 'local' on wlan0.2.
Found service 'bunkerbay [00:12:17:bd:78:00]' of type '_workstation._tcp' (Workstation) in domain 'local' on wlan0.2.
Service data for service 'bunkerbay [00:12:17:bd:78:00]' of type '_workstation._tcp' (Workstation) in domain 'local' on wlan0.2:
Host bunkerbay.local (192.168.1.67), port 9, TXT data: ['org.freedesktop.Avahi.cookie=3960523808']
Service data for service 'laptop' of type '_daap._tcp' (iTunes Audio Access) in domain 'local' on wlan0.2:
Host bunkerbay.local (192.168.1.67), port 3689, TXT data: ['org.freedesktop.Avahi.cookie=3960523808']


bunkerbay is the Linux box which is running rhythmbox with music shared as 'laptop'. So the lapop can see itself but there is no mention of the XP machine. If I run netcat on the XP box and send dummy packets to port 3535 then I get the following output from avahi-daemon --debug

bunkerbay:/usr/share/doc/avahi-utils# avahi-daemon --debug
Found user 'avahi' (UID 111) and group 'avahi' (GID 111).
Successfully dropped root privileges.
avahi-daemon 0.5.2 starting up.
Failed to read service directory.
New relevant interface wlan0.2.
Network interface enumeration completed.
Registering new address 192.168.1.67 on wlan0.
Server startup complete. Host name is bunkerbay.local. Local service cookie is 2118414904.
Recieved invalid packet.
Recieved invalid packet.


which would indicate to me that I have connectivity (the invalid packets being the ones sent by netcat). However, when I start iTunes on the XP machine I don't get any further output from avahi-daemon. Is port 3535 where connections are initated of is there some other conversation that needs to go on first?

Thanks
Barney




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]