You are here: Home » Topic » Banging my head over here – iTunes and Fiesty

Banging my head over here – iTunes and Fiesty

FireFly Media Server (formerly mt-daapd) Firefly Media Server Forums Firefly Media Server Setup Issues Banging my head over here – iTunes and Fiesty

This topic contains 10 replies, has 3 voices, and was last updated by  rpedde 10 years, 3 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1604

    PhalanxJC
    Participant

    Server: Fiesty no firewall
    Client: OSX 10.4.10 no firewall

    Well I had a hard enough time setting up the server but it is up and running. It is accessible thru http. Avahi is running. I had to edit the conf file to redirect the plugins to usr/share/mt-daapd/plugins. I installed libavahi-compat-libdnssd1 as another post suggested. iTunes is checked to look for shared music and still nothing shows up. I still don’t know what I’m doing wrong. Please help…

    #11919

    PhalanxJC
    Participant

    okay, so I did redirect the plugins dir, but it still says plugins aren’t loading.

    Firefly Version svn-1586: Starting with debuglevel -9
    Warning: Could not load plugins
    Starting rendezvous daemon
    Client running
    Starting signal handler
    Initializing database
    Starting web server from /usr/local/share/mt-daapd/admin-root on port 3689
    Registering rendezvous names
    Serving 10110 songs. Startup complete in 3 seconds

    #11920

    rpedde
    Participant

    @phalanxjc wrote:

    okay, so I did redirect the plugins dir, but it still says plugins aren’t loading.

    Firefly Version svn-1586: Starting with debuglevel -9
    Warning: Could not load plugins
    Starting rendezvous daemon
    Client running
    Starting signal handler
    Initializing database
    Starting web server from /usr/local/share/mt-daapd/admin-root on port 3689
    Registering rendezvous names
    Serving 10110 songs. Startup complete in 3 seconds

    That almost certainly means you typoed the path for plugin_dir. It loads the plugins before it drops privs, so it isn’t permissions problem.

    You can also try running it in the foreground, and it might give more info:

    mt-daapd -d9 -f -c /path/to/mt-daapd.conf

    — Ron

    #11921

    PhalanxJC
    Participant

    This was my output:

    Error reading config file (/path/to/mt-daapd.conf)

    after running sudo mt-daapd -d9 -f -c /path/to/mt-daapd.conf
    It made me run sudo

    Which I guess means I am editing the wrong .conf file?
    Where else could it be located?

    #11922

    rpedde
    Participant

    @phalanxjc wrote:

    This was my output:

    Error reading config file (/path/to/mt-daapd.conf)

    after running sudo mt-daapd -d9 -f -c /path/to/mt-daapd.conf
    It made me run sudo

    Which I guess means I am editing the wrong .conf file?
    Where else could it be located?

    Erp. That was supposed to be

    It’s probably either at /etc/mt-daapd.conf, or /etc/mt-daapd/mt-daapd.conf, I’m not sure where the debian maintainer puts it.

    #11923

    Kymnyth
    Participant

    I am having similar problems but with a mDNS error. I am trying to to get to mt-daapd from iTunes on a Windows XP and Windows Vista box. Neither of them see the share. However, they see each other’s shares.
    I am running wireless and have varified that multicast was enabled. I am running mt-daapd nightly 1586 on Ubuntu Feisty Fawn and trying to get to the share from a windows box running iTunes with the latest version 7.3.1. Here is the output from starting mt-daapd in the foreground:


    Firefly Version svn-1586: Starting with debuglevel 2
    Plugin loaded: rsp/svn-1586
    Plugin loaded: ssc-script/svn-1586
    Plugin loaded: daap/svn-1586
    Starting rendezvous daemon
    mDNS Error -65537
    Aborting
    Starting signal handler
    Initializing database
    Full reload...
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Registering rendezvous names
    Serving 0 songs. Startup complete in 0 seconds
    Rescanning database
    Starting playlist scan
    Updating playlists
    Scanned 27 songs (was 0) in 1 seconds
    #11924

    PhalanxJC
    Participant

    Got general/web_root, convert to general/web_root (/usr/local/share/mt-daapd/admin-root)
    Found existing section
    Got general/port, convert to general/port (3689)
    Found existing section
    Got general/admin_pw, convert to general/admin_pw (mt-daapd)
    Found existing section
    Got general/db_type, convert to general/db_type (sqlite3)
    Found existing section
    Got general/db_parms, convert to general/db_parms (/var/cache/mt-daapd)
    Found existing section
    Got general/mp3_dir, convert to general/mp3_dir (/media/Sauron/Sound/)
    Found existing section
    Found 1 tokens in /media/Sauron/Sound/
    Token 1: /media/Sauron/Sound/
    Got general/servername, convert to general/servername (mt-daapd)
    Found existing section
    Got general/runas, convert to general/runas (mt-daapd)
    Found existing section
    Expanding precomments to 2048
    Got general/extensions, convert to general/extensions (.mp3,.m4a,.m4p,.ogg,.flac,.mpc)
    Found existing section
    Expanding precomments to 4096
    Expanding precomments to 8192
    Got general/scan_type, convert to general/scan_type (2)
    Found existing section
    Got plugins/plugin_dir, convert to plugins/plugin_dir (/usr/local/share/mt-daapd/plugins)
    Found existing section
    Got plugins/plugins, convert to plugins/plugins (rsp.so,ssc-ffmpeg.so)
    Found existing section
    Found 2 tokens in rsp.so,ssc-ffmpeg.so
    Token 1: rsp.so
    Token 2: ssc-ffmpeg.so
    Checking existence of /usr/local/share/mt-daapd/admin-root
    Checking existence of /usr/local/share/mt-daapd/admin-root
    Checking existence of /var/cache/mt-daapd
    Checking existence of /var/cache/mt-daapd
    Checking existence of /usr/local/share/mt-daapd/plugins
    Checking existence of /usr/local/share/mt-daapd/plugins
    Loading new config file.
    Firefly Version svn-1586: Starting with debuglevel 9
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/out-daap.so
    Loaded plugin /usr/local/share/mt-daapd/plugins/out-daap.so (daap/svn-1586)
    New transcode codec list:
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/rsp.so
    Loaded plugin /usr/local/share/mt-daapd/plugins/rsp.so (rsp/svn-1586)
    New transcode codec list:
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/ssc-script.so
    No ssc program specified for script transcoder.
    Error loading plugin /usr/local/share/mt-daapd/plugins/ssc-script.so: plugin declined to load
    Plugin loaded: rsp/svn-1586
    Plugin loaded: daap/svn-1586
    Starting rendezvous daemon
    Initializing avahi
    Client running
    Creting service group
    No entries yet… skipping service create
    Starting avahi polling thread
    Starting signal handler
    Opening database
    Executing: select value from config where term=’version’
    Results: 0
    Initializing database
    Executing: select count(*) FROM songs
    Executing: select value from config where term=’rescan’
    Executing: vacuum
    Rows: 0
    Executing: create index idx_path on songs(path,idx)
    Query: create index idx_path on songs(path,idx)
    Error: index idx_path already exists
    Executing: create index idx_songid on playlistitems(songid)
    Query: create index idx_songid on playlistitems(songid)
    Error: index idx_songid already exists
    Executing: create index idx_playlistid on playlistitems(playlistid,songid)
    Query: create index idx_playlistid on playlistitems(playlistid,songid)
    Error: index idx_playlistid already exists
    Starting web server from /usr/local/share/mt-daapd/admin-root on port 3689
    Listening on port 3689
    Starting server thread
    Registering rendezvous names
    Adding mt-daapd/_http._tcp
    Creating service group (again?)
    Creting service group
    Waiting on something…
    Done waiting.
    Re-registering mt-daapd/_http._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=655F082D
    Added key Machine ID=655F082D
    Added key Machine Name=mt-daapd
    Added key mtd-version=svn-1586
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=756c0831
    Checking rsp/svn-1586
    Registering _rsp._tcp
    Adding mt-daapd/_rsp._tcp
    Resetting mdns group
    Creating service group (again?)
    Creting service group
    Waiting on something…
    Done waiting.
    Re-registering mt-daapd/_rsp._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=655F082D
    Added key Machine ID=655F082D
    Added key Machine Name=mt-daapd
    Added key mtd-version=svn-1586
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=756c0831
    Re-registering mt-daapd/_http._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=655F082D
    Added key Machine ID=655F082D
    Added key Machine Name=mt-daapd
    Added key mtd-version=svn-1586
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=756c0831
    Checking daap/svn-1586
    Registering _daap._tcp
    Adding mt-daapd/_daap._tcp
    Resetting mdns group
    Creating service group (again?)
    Creting service group
    Waiting on something…
    Done waiting.
    Re-registering mt-daapd/_daap._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=655F082D
    Added key Machine ID=655F082D
    Added key Machine Name=mt-daapd
    Added key mtd-version=svn-1586
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=756c0831
    Re-registering mt-daapd/_rsp._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=655F082D
    Added key Machine ID=655F082D
    Added key Machine Name=mt-daapd
    Added key mtd-version=svn-1586
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=756c0831
    Re-registering mt-daapd/_http._tcp
    Found key of size 9
    Added key txtvers=1
    Added key Database ID=655F082D
    Added key Machine ID=655F082D
    Added key Machine Name=mt-daapd
    Added key mtd-version=svn-1586
    Added key iTSh Version=131073
    Added key Version=196610
    Added key Password=false
    Added key ffid=756c0831
    Executing: select count(*) FROM songs
    Serving 10110 songs. Startup complete in 3 seconds
    Successfully added mdns services

    #11925

    rpedde
    Participant

    @kymnyth wrote:

    I am having similar problems but with a mDNS error. I am trying to to get to mt-daapd from iTunes on a Windows XP and Windows Vista box. Neither of them see the share. However, they see each other’s shares.
    I am running wireless and have varified that multicast was enabled. I am running mt-daapd nightly 1586 on Ubuntu Feisty Fawn and trying to get to the share from a windows box running iTunes with the latest version 7.3.1. Here is the output from starting mt-daapd in the foreground:


    Firefly Version svn-1586: Starting with debuglevel 2
    Plugin loaded: rsp/svn-1586
    Plugin loaded: ssc-script/svn-1586
    Plugin loaded: daap/svn-1586
    Starting rendezvous daemon
    mDNS Error -65537
    Aborting
    Starting signal handler
    Initializing database
    Full reload...
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Registering rendezvous names
    Serving 0 songs. Startup complete in 0 seconds
    Rescanning database
    Starting playlist scan
    Updating playlists
    Scanned 27 songs (was 0) in 1 seconds

    This looks like probably the avahi daemon isn’t running. You need to edit your avahi defaults in /etc/defaults and make sure it’s set to run, and then start the avahi daemon before mt-daapd.

    — Ron

    #11926

    rpedde
    Participant

    @phalanxjc wrote:

    Successfully added mdns services

    This looks right.

    The only reason you shouldn’t be able to see anything would be firewalls. See if you have any firewalling running (“iptables -L”) that would stop the avahi daemon from publishing mdns stuff.

    Also, you might try installing the avahi-browser utility and seeing if you can see anything that way. It requires a full desktop gui for that, though.

    If you have a machine on the local network, you can try something like bonjour browser (for the mac) to see if you can see any bonjour entries being published on the local network.

    Beyond that, the server seems right, so it looks to be a firewall/multicast issue on the local network.

    — Ron

    #11927

    PhalanxJC
    Participant

    any ideas on what else I can try Ron?

    #11928

    rpedde
    Participant

    @phalanxjc wrote:

    any ideas on what else I can try Ron?

    What did the above steps show? Did it show up as advertising on the local machine but not the network? If so, then look to your router.

    Did it not show up on the local machine? If so, then it’s an avahi problem. (multiple interfaces on that box? Only set up to bind to localhost?)

    I have to imagine you see it on the local box, or the firefly server would have crapped out.

    So it has to be advertising.

    Did you check ipables -L? Anything there?

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.