You are here: Home » Topic » Can’t get iTunes to find mt-daapd

Can’t get iTunes to find mt-daapd

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1097
    DeadPoet
    Participant

    Hi There!

    I Installed avahi and mt-daapd (from latest edgy-deb, I am running edgy). The server seems to work find, it scans the mp3s and I can get on the web-server. However, Rendezvous does not seem to work – I can’t get a connection from iTunes.

    On Debug-Level 7, I get this listing – perhaps it can help fix the problem :/


    Loading new config file.
    Firefly Version svn-1498: Starting with debuglevel 7
    Starting rendezvous daemon
    SetupInterfaceList
    mDNS_RegisterInterface: InterfaceID 080964B8 192.168.178.23 not represented in list; marking active and retriggering queries
    Adding 080964C8 poetic-nas.local. (Addr) to active record list
    Adding 08096774 23.178.168.192.in-addr.arpa. (PTR) to active record list
    Not creating HINFO record: platform support layer provided no information
    SetupOneInterface: eth0 192.168.178.23 Registered
    Starting signal handler
    Initializing database
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    mDNSCoreReceiveResponse: Our Record: 0035BAB8 00000000 4 poetic-nas.local. Addr 192.168.178.23
    mDNSCoreReceiveResponse: Pkt Record: 0609E6E8 00000000 11 poetic-nas.local. HINFO I686
    mDNSCoreReceiveResponse: Will rename poetic-nas.local. (Addr)
    HostNameCallback: poetic-nas.local. (Addr) Name conflict (-65548)
    Adding 080964C8 poetic-nas-2.local. (Addr) to active record list
    Adding 08096774 23.178.168.192.in-addr.arpa. (PTR) to active record list
    Not creating HINFO record: platform support layer provided no information
    SetTargetToHostName: Target of 23.178.168.192.in-addr.arpa. is already poetic-nas-2.local.
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    HostNameCallback: poetic-nas-2.local. (Addr) Name registered (0)
    Announcing poetic-nas-2.local. (Addr) 9
    Announcing 23.178.168.192.in-addr.arpa. (PTR) 9
    SendResponses: Sending 0 Deregistrations, 2 Announcements, 0 Answers, 0 Additionals on 080964B8
    mDNSCoreReceiveResponse: Our Record: EDCFED59 3DB9FDAB 20 23.178.168.192.in-addr.arpa. PTR poetic-nas-2.local.
    mDNSCoreReceiveResponse: Pkt Record: 3E29E713 67C53CE2 18 23.178.168.192.in-addr.arpa. PTR poetic-nas.local.
    mDNSCoreReceiveResponse: Unexpected conflict on 23.178.168.192.in-addr.arpa. (PTR) -- discarding our record
    Announcing poetic-nas-2.local. (Addr) 8
    SendResponses: Sending 0 Deregistrations, 1 Announcement, 0 Answers, 0 Additionals on 080964B8
    Announcing poetic-nas-2.local. (Addr) 7
    SendResponses: Sending 0 Deregistrations, 1 Announcement, 0 Answers, 0 Additionals on 080964B8
    Announcing poetic-nas-2.local. (Addr) 6
    SendResponses: Sending 0 Deregistrations, 1 Announcement, 0 Answers, 0 Additionals on 080964B8
    Starting web server from /share/mt-daapd/admin-root on port 3689
    Listening on port 3689
    Starting server thread
    Registering rendezvous names
    Adding 08099608 poetic-nas._http._tcp.local. (SRV) to active record list
    Adding 080998B4 poetic-nas._http._tcp.local. (TXT) to active record list
    Adding 080990B0 _services._dns-sd._udp.local. (PTR) to active record list
    Adding 0809935C _http._tcp.local. (PTR) to active record list
    Serving 20050 songs. Startup complete in 10 seconds
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    ServiceCallback: poetic-nas._http._tcp.local. (SRV) Name Registered (0)
    Announcing poetic-nas._http._tcp.local. (SRV) 9
    Announcing poetic-nas._http._tcp.local. (TXT) 9
    Announcing _services._dns-sd._udp.local. (PTR) 9
    Announcing _http._tcp.local. (PTR) 9
    SendResponses: Sending 0 Deregistrations, 4 Announcements, 1 Answer, 0 Additionals on 080964B8
    Announcing poetic-nas-2.local. (Addr) 5
    Announcing poetic-nas._http._tcp.local. (SRV) 8
    Announcing poetic-nas._http._tcp.local. (TXT) 8
    Announcing _services._dns-sd._udp.local. (PTR) 8
    Announcing _http._tcp.local. (PTR) 8
    .... etc., pp

    I already checked via ps, the avahi-daemon and avahi-dnsconfd are running.

    Thanks a lot for your help!

    #9137
    DeadPoet
    Participant

    So, I read a bit in the forum, and got to this topic:
    http://forums.fireflymediaserver.org/viewtopic.php?t=5575
    Both links won’t work in my browser – even though the admin interface is running. Just thought this additional information might help.

    #9138
    fizze
    Participant

    well, it seems that mt-daapd is announcing itself via builtin mDNS rather than to the avahi.
    So that wont work, Im afraid. 😉

    Either shut down avahi-daemon or grab a version of mt-daapd that is linked against avahi.

    #9139
    DeadPoet
    Participant

    Thanks for your quick reply!

    I now tried uninstalling avahi (which worked 😉 ). But still FireFly/mt-daap is not working for me in iTunes :/

    When I try to access:
    http://192.168.178.23:3689/databases
    I get a 404 and the log registers:

    2007-02-12 22:15:51 (b6c87ba0): Cannot resolve /share/mt-daapd/admin-root//databases

    Here again is the startup with debug level 7


    Loading new config file.
    Firefly Version svn-1498: Starting with debuglevel 7
    Starting rendezvous daemon
    SetupInterfaceList
    mDNS_RegisterInterface: InterfaceID 080964B8 192.168.178.23 not represented in list; marking active and retriggering queries
    Adding 080964C8 poetic-nas.local. (Addr) to active record list
    Adding 08096774 23.178.168.192.in-addr.arpa. (PTR) to active record list
    Not creating HINFO record: platform support layer provided no information
    SetupOneInterface: eth0 192.168.178.23 Registered
    Starting signal handler
    Initializing database
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    HostNameCallback: poetic-nas.local. (Addr) Name registered (0)
    Announcing poetic-nas.local. (Addr) 9
    Announcing 23.178.168.192.in-addr.arpa. (PTR) 9
    SendResponses: Sending 0 Deregistrations, 2 Announcements, 0 Answers, 0 Additionals on 080964B8
    Announcing poetic-nas.local. (Addr) 8
    Announcing 23.178.168.192.in-addr.arpa. (PTR) 8
    SendResponses: Sending 0 Deregistrations, 2 Announcements, 0 Answers, 0 Additionals on 080964B8
    Announcing poetic-nas.local. (Addr) 7
    Announcing 23.178.168.192.in-addr.arpa. (PTR) 7
    SendResponses: Sending 0 Deregistrations, 2 Announcements, 0 Answers, 0 Additionals on 080964B8
    Announcing poetic-nas.local. (Addr) 6
    Announcing 23.178.168.192.in-addr.arpa. (PTR) 6
    SendResponses: Sending 0 Deregistrations, 2 Announcements, 0 Answers, 0 Additionals on 080964B8
    Starting web server from /share/mt-daapd/admin-root on port 3689
    Listening on port 3689
    Starting server thread
    Registering rendezvous names
    Adding 08099608 poetic-nas._http._tcp.local. (SRV) to active record list
    Adding 080998B4 poetic-nas._http._tcp.local. (TXT) to active record list
    Adding 080990B0 _services._dns-sd._udp.local. (PTR) to active record list
    Adding 0809935C _http._tcp.local. (PTR) to active record list
    Serving 20050 songs. Startup complete in 11 seconds
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    SendQueries: Sending 1 Question 0 Answers 1 Update on 080964B8
    ServiceCallback: poetic-nas._http._tcp.local. (SRV) Name Registered (0)
    Announcing poetic-nas._http._tcp.local. (SRV) 9
    Announcing poetic-nas._http._tcp.local. (TXT) 9
    Announcing _services._dns-sd._udp.local. (PTR) 9
    Announcing _http._tcp.local. (PTR) 9
    SendResponses: Sending 0 Deregistrations, 4 Announcements, 1 Answer, 0 Additionals on 080964B8
    Announcing poetic-nas.local. (Addr) 5
    Announcing poetic-nas._http._tcp.local. (SRV) 8
    Announcing poetic-nas._http._tcp.local. (TXT) 8
    Announcing _services._dns-sd._udp.local. (PTR) 8
    Announcing _http._tcp.local. (PTR) 8
    SendResponses: Sending 0 Deregistrations, 5 Announcements, 0 Answers, 0 Additionals on 080964B8
    Announcing poetic-nas._http._tcp.local. (SRV) 7
    Announcing poetic-nas._http._tcp.local. (TXT) 7
    Announcing _services._dns-sd._udp.local. (PTR) 7
    Announcing _http._tcp.local. (PTR) 7
    SendResponses: Sending 0 Deregistrations, 4 Announcements, 1 Answer, 0 Additionals on 080964B8
    Announcing 23.178.168.192.in-addr.arpa. (PTR) 5
    SendResponses: Sending 0 Deregistrations, 1 Announcement, 0 Answers, 0 Additionals on 080964B8
    Announcing poetic-nas._http._tcp.local. (SRV) 6
    Announcing poetic-nas._http._tcp.local. (TXT) 6
    Announcing _services._dns-sd._udp.local. (PTR) 6
    Announcing _http._tcp.local. (PTR) 6
    SendResponses: Sending 0 Deregistrations, 4 Announcements, 1 Answer, 0 Additionals on 080964B8
    Announcing poetic-nas.local. (Addr) 4
    Announcing poetic-nas._http._tcp.local. (SRV) 5
    Announcing poetic-nas._http._tcp.local. (TXT) 5
    Announcing _services._dns-sd._udp.local. (PTR) 5
    Announcing _http._tcp.local. (PTR) 5
    SendResponses: Sending 0 Deregistrations, 5 Announcements, 0 Answers, 0 Additionals on 080964B8
    Announcing 23.178.168.192.in-addr.arpa. (PTR) 4
    SendResponses: Sending 0 Deregistrations, 1 Announcement, 0 Answers, 0 Additionals on 080964B8
    Announcing poetic-nas.local. (Addr) 3
    Announcing poetic-nas._http._tcp.local. (SRV) 4
    Announcing poetic-nas._http._tcp.local. (TXT) 4
    Announcing _services._dns-sd._udp.local. (PTR) 4
    Announcing _http._tcp.local. (PTR) 4
    SendResponses: Sending 0 Deregistrations, 5 Announcements, 0 Answers, 0 Additionals on 080964B8

    My config file looks normal. THis is the version I used: http://nightlies.mt-daapd.org/dl.php?FILE=mt-daapd_0.9-svn-1498_edgy_i386.deb

    #9140
    rpedde
    Participant

    @DeadPoet wrote:

    Thanks for your quick reply!

    I now tried uninstalling avahi (which worked 😉 ). But still FireFly/mt-daap is not working for me in iTunes :/

    There are two things wrong — one is that it’s using the built-in mdns rather than avahi, which is a packaging bug on my part. Don’t know how that happened — I’ll have to check the build logs.

    The other part is that it seems like you must have either an old-style confgi (from 0.2.4) or you don’t have the plug-ins. You should have a section in your config like this:


    [plugins]
    plugin_dir = /usr/share/mt-daapd/plugins

    If not, or if your config looks like:


    mp3_dir /path/to/dir
    servername mt-daapd

    instead of:


    [general]
    mp3_dir = /path/to/dir
    servername = mt-daapd

    then try deleting your config, re-installing the mt-daapd package and then tweaking the resulting config.

    Meanwhile, I’ll double-check teh build logs and see what’s up with not using avahi.

    #9141
    DeadPoet
    Participant

    Hey Ron!

    Thanks a lot for this tip – it was indeed the plugin directory, which was in the config file without the /usr/ at the beginng – dont’ ask me why 😉

    Now it works like a charm – so I’m glad after all that I switched from Windows to Linux…

    Thanks a lot!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.