You are here: Home » Topic » Server started but can’t be seen

Server started but can’t be seen

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

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #731

    plaetzchen

    Hi there!

    I am using 1.400 NVS on a Ubuntu Linux Server. I can start mt-daapd without any problems but I cant see it in iTunes. In Safari I can see the hostname in the bonjour section.
    Here are some debug information, maybe it helps you to analyse the problem:


    [email protected]:/home/pbrechler# mt-daapd -f -m -c /etc/mt-daapd.conf -d 9
    Found 1 tokens in /mnt/sda1/Musik/
    Token 1: /mnt/sda1/Musik/
    Expanding precomments to 2048
    Expanding precomments to 4096
    Checking existence of /usr/local/share/mt-daapd/admin-root
    Checking existence of /usr/local/share/mt-daapd/admin-root
    Config entry general/db_dir is deprecated. Please review the sample config
    Checking existence of /var/cache/mt-daapd
    Checking existence of /var/cache/mt-daapd
    Loading new config file.
    Starting with debuglevel 9
    Starting signal handler
    Opening database
    Executing: select value from config where term='version'
    Results: 0
    Initializing database
    Executing: select count(*) FROM songs
    Signal handler started
    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
    Executing: select count(*) FROM songs
    Serving 20328 songs. Startup complete in 7 seconds

    Greetings from Germany

    Philip

    #7076

    fizze
    Participant

    I guess you didn’t load the daap plugin 😉

    so firefly only supports RSP (roku soundbridge stuff), and not iTunes’ DAAP.

    add this plugin, and restart. You should be fine.

    grüsse nach D 😉

    #7077

    plaetzchen

    How can I do this?

    #7078

    fizze
    Participant

    go to the firefly web-page.
    there, in the config section, click “show advanced config”.

    then scroll down to the plugin-section.
    klick “add plugin” and type in the box:

    out-daap.so

    save, and restart firefly. 😉

    #7079

    plaetzchen

    Still the same:


    [email protected]:/home/pbrechler# mt-daapd -f -m -c /etc/mt-daapd.conf -d 9
    Found 1 tokens in /mnt/sda1/Musik/
    Token 1: /mnt/sda1/Musik/
    Found 2 tokens in out-daap.so,
    Token 1: out-daap.so
    Token 2:
    Expanding precomments to 2048
    Expanding precomments to 4096
    Checking existence of /usr/local/share/mt-daapd/admin-root
    Checking existence of /usr/local/share/mt-daapd/admin-root
    Config entry general/db_dir is deprecated. Please review the sample config
    Checking existence of /var/cache/mt-daapd
    Checking existence of /var/cache/mt-daapd
    Loading new config file.
    Starting with debuglevel 9
    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
    Signal handler started
    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
    Executing: select count(*) FROM songs
    Serving 20328 songs. Startup complete in 7 seconds

    Can’t see it in iTunes

    #7080

    fizze
    Participant

    you are not using iTunes 7.x right?
    7seconds for 23K songs seems kinda weird, or you’ve got one helluva rig there 😉

    also, there’s a warning about the db_dir, so you might check out the config file. You didnt have 0.2.4 or any other versions installed before 1400, did you?

    #7081

    rpedde
    Participant

    In the version you have, the “plugins” setting is ignored.

    Instead, you have to have the plugins dir (again through the web config) point to the directory the plugins are at. Probably /usr/share/mt-daapd/plugins, or /usr/local/share/mt-daapd/plugins.

    Fizze is right that you have an old config though — might do well do copy the config from contrib and change the options you’ve changed… that way you are up-to-date.

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

You must be logged in to reply to this topic.