mt-daapd on Ubuntu and iTunes on Vista does not connect

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues mt-daapd on Ubuntu and iTunes on Vista does not connect

Viewing 8 posts - 21 through 28 (of 28 total)
  • Author
    Posts
  • #11177
    mephisto
    Participant

    Hi Ron,

    Sorry about that, I should have noticed before I posted. I had been installing and uninstalling a number of times before I posted, I guess I lost where I was up to. Doh!.

    Anyhow I’ve now installed the latest feisty from the nightlies and things are still not working. I’m getting the following messages, the level 9 diagnostics go on forever and I have to ctrl-c out of them, is that correct?
    Should there be anything particular running on the ‘receiving’ box (feisty) to pick up the database?

    ls -la /var/cache/mt-daapd gives
    total 16
    drwxrwxr-x 2 nobody root 21 2007-07-23 10:16 .
    drwxr-xr-x 17 root root 4096 2007-07-22 20:13 ..
    -rw-r–r– 1 nobody nogroup 9216 2007-07-23 10:16 songs.db

    ps auxw | grep “avahi” gives
    avahi 6828 0.0 0.4 2664 1368 ? Ss 10:08 0:00 avahi-daemon: running [testbox.local]
    avahi 6829 0.0 0.1 2664 460 ? Ss 10:08 0:00 avahi-daemon: chroot helper

    sudo /etc/init.d/mt-daapd start
    Starting mt-daapd: mt-daapd.

    ps auxw | grep “mt-daapd”
    nobody 7279 0.0 0.3 3548 1100 pts/0 S 10:25 0:00 /usr/sbin/mt-daapd
    nobody 7280 0.0 0.4 11740 1472 pts/0 Sl 10:25 0:00 /usr/sbin/mt-daapd

    sudo /usr/sbin/mt-daapd -d9 -f gives
    Got general/web_root, convert to general/web_root (/usr/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 (sqlite)
    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 (/home/dad/music)
    Found existing section
    Found 1 tokens in /home/dad/music
    Token 1: /home/dad/music
    Got general/servername, convert to general/servername (Firefly)
    Found existing section
    Got general/runas, convert to general/runas (nobody)
    Found existing section
    Got general/playlist, convert to general/playlist (/usr/etc/mt-daapd.playlist)
    Found existing section
    Got general/extensions, convert to general/extensions (.mp3,.m4a,.m4p)
    Found existing section
    Got general/ssc_codectypes, convert to general/ssc_codectypes (ogg,flac,alac)
    Found existing section
    Got general/ssc_prog, convert to general/ssc_prog (/usr/bin/mt-daapd-ssc.sh)
    Found existing section
    Expanding precomments to 2048
    Expanding precomments to 4096
    Got general/scan_type, convert to general/scan_type (2)
    Found existing section
    Got plugins/plugin_dir, convert to plugins/plugin_dir (/usr/share/mt-daapd/plugins)
    Found existing section
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /var/cache/mt-daapd
    Checking existence of /var/cache/mt-daapd
    Checking existence of /usr/share/mt-daapd/plugins
    Checking existence of /usr/share/mt-daapd/plugins
    Loading new config file.
    Firefly Version svn-1586: Starting with debuglevel 9
    Attempting to load plugin /usr/share/mt-daapd/plugins/out-daap.so
    Loaded plugin /usr/share/mt-daapd/plugins/out-daap.so (daap/svn-1586)
    New transcode codec list:
    Attempting to load plugin /usr/share/mt-daapd/plugins/rsp.so
    Loaded plugin /usr/share/mt-daapd/plugins/rsp.so (rsp/svn-1586)
    New transcode codec list:
    Attempting to load plugin /usr/share/mt-daapd/plugins/ssc-script.so
    Loaded plugin /usr/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1586)
    New transcode codec list: ogg,flac,alac
    Plugin loaded: ssc-script/svn-1586
    Plugin loaded: rsp/svn-1586
    Plugin loaded: daap/svn-1586
    Starting rendezvous daemon
    select(7, 0.000976)
    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’
    Full reload…
    Executing: drop index idx_path
    Query: drop index idx_path
    Error: no such index: idx_path
    Executing: drop index idx_songid
    Query: drop index idx_songid
    Error: no such index: idx_songid
    Executing: drop index idx_playlistid
    Query: drop index idx_playlistid
    Error: no such index: idx_playlistid
    Executing: drop table songs
    select(7, 0.081054)
    Rows: 0
    Executing: delete from playlists where not type=1 and not type=0
    Rows: 0
    Executing: drop table playlistitems
    Rows: 0
    Executing: drop table config
    select(7, 0.099609)
    select(7, 0.099609)
    Local Hostname testbox.local already in use; will try testbox-2.local instead
    select(7, 0.098632)
    Rows: 0
    Executing: vacuum
    Rows: 0
    Executing: create table songs (
    id INTEGER PRIMARY KEY NOT NULL,
    path VARCHAR(4096) NOT NULL,
    fname VARCHAR(255) NOT NULL,
    title VARCHAR(1024) DEFAULT NULL,
    artist VARCHAR(1024) DEFAULT NULL,
    album VARCHAR(1024) DEFAULT NULL,
    genre VARCHAR(255) DEFAULT NULL,
    comment VARCHAR(4096) DEFAULT NULL,
    type VARCHAR(255) DEFAULT NULL,
    composer VARCHAR(1024) DEFAULT NULL,
    orchestra VARCHAR(1024) DEFAULT NULL,
    conductor VARCHAR(1024) DEFAULT NULL,
    grouping VARCHAR(1024) DEFAULT NULL,
    url VARCHAR(1024) DEFAULT NULL,
    bitrate INTEGER DEFAULT 0,
    samplerate INTEGER DEFAULT 0,
    song_length INTEGER DEFAULT 0,
    file_size INTEGER DEFAULT 0,
    year INTEGER DEFAULT 0,
    track INTEGER DEFAULT 0,
    total_tracks INTEGER DEFAULT 0,
    disc INTEGER DEFAULT 0,
    total_discs INTEGER DEFAULT 0,
    bpm INTEGER DEFAULT 0,
    compilation INTEGER DEFAULT 0,
    rating INTEGER DEFAULT 0,
    play_count INTEGER DEFAULT 0,
    data_kind INTEGER DEFAULT 0,
    item_kind INTEGER DEFAULT 0,
    description INTEGER DEFAULT 0,
    time_added INTEGER DEFAULT 0,
    time_modified INTEGER DEFAULT 0,
    time_played INTEGER DEFAULT 0,
    db_timestamp INTEGER DEFAULT 0,
    disabled INTEGER DEFAULT 0,
    sample_count INTEGER DEFAULT 0,
    force_update INTEGER DEFAULT 0,
    codectype VARCHAR(5) DEFAULT NULL,
    idx INTEGER NOT NULL,
    has_video INTEGER DEFAULT 0,
    contentrating INTEGER DEFAULT 0,
    bits_per_sample INTEGER DEFAULT 0,
    album_artist VARCHAR(1024)
    );
    create table playlistitems (
    id INTEGER PRIMARY KEY NOT NULL,
    playlistid INTEGER NOT NULL,
    songid INTEGER NOT NULL
    );
    create table config (
    term VARCHAR(255) NOT NULL,
    subterm VARCHAR(255) DEFAULT NULL,
    value VARCHAR(1024) NOT NULL
    );
    insert into config values (‘version’,”,’13’);

    select(7, 0.083984)
    select(7, 0.002929)
    select(7, 0.099609)
    select(7, 0.099609)
    Rows: 1
    Executing: create table playlists (
    id INTEGER PRIMARY KEY NOT NULL,
    title VARCHAR(255) NOT NULL,
    type INTEGER NOT NULL,
    items INTEGER NOT NULL,
    query VARCHAR(1024),
    db_timestamp INTEGER NOT NULL,
    path VARCHAR(4096),
    idx INTEGER NOT NULL
    );
    insert into playlists values (1,’Library’,1,0,’1′,0,”,0);

    Query: create table playlists (
    id INTEGER PRIMARY KEY NOT NULL,
    title VARCHAR(255) NOT NULL,
    type INTEGER NOT NULL,
    items INTEGER NOT NULL,
    query VARCHAR(1024),
    db_timestamp INTEGER NOT NULL,
    path VARCHAR(4096),
    idx INTEGER NOT NULL
    );
    insert into playlists values (1,’Library’,1,0,’1′,0,”,0);

    Error: table playlists already exists
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Listening on port 3689
    Starting server thread
    Registering rendezvous names
    Processing rendezvous message
    Registering Firefly._http._tcp (3689)
    Registered service 0, name ‘Firefly’, type ‘_http._tcp’, domain ‘local.’, port 3689
    select(7, 0.019531)
    Checking ssc-script/svn-1586
    Checking rsp/svn-1586
    Registering _rsp._tcp
    Processing rendezvous message
    Registering Firefly._rsp._tcp (3689)
    Registered service 1, name ‘Firefly’, type ‘_rsp._tcp’, domain ‘local.’, port 3689
    select(7, 0.018554)
    Checking daap/svn-1586
    Registering _daap._tcp
    Processing rendezvous message
    Registering Firefly._daap._tcp (3689)
    Registered service 2, name ‘Firefly’, type ‘_daap._tcp’, domain ‘local.’, port 3689
    select(7, 0.017578)
    Executing: select count(*) FROM songs
    Serving 0 songs. Startup complete in 0 seconds
    select(7, 0.138671)
    select(7, 0.001953)
    select(7, 0.100585)
    select(7, 0.100585)
    select(7, 0.146484)
    select(7, 0.100585)
    select(7, 0.100585)
    select(7, 0.079101)
    select(7, 0.066406)
    select(7, 0.000976)
    select(7, 0.100585)
    select(7, 0.100585)
    select(7, 0.146484)
    select(7, 0.089843)
    Callback: Name Registered
    Callback: Name Registered
    Callback: Name Registered
    select(7, 0.000976)
    select(7, 0.099609)
    select(7, 0.000976)
    (I’ve cut it off here as it goes on for ever).

    #11178
    rpedde
    Participant

    @mephisto wrote:

    Sorry about that, I should have noticed before I posted. I had been installing and uninstalling a number of times before I posted, I guess I lost where I was up to. Doh!.

    And that’s the feisty build? Because it doens’t look like it’s using avahi. Try turning off avahi, and running mt-daapd and seeing if it comes up then.

    If so, then there is something wrong with my feisty build, as it should be using avahi.

    — Ron

    #11179
    mephisto
    Participant

    I’d be very surprised if it was your build Ron, I think you would be inundated with support queries if that were the case.

    I was quite prepared for the problem to be either something with my system as a result of tinkering or by me doing something stupid.

    ** This is now a clean install of feisty with the standard avahi, the version of mt-daapd that comes with feisty has never been installed. The only thing that has been installed is the nightly build of mt-daapd: mt-daapd_0.9-svn-1586_feisty_i386.deb and the libsqlite0 dependency. **

    The following are level 9 diagnostic runs for
    a) mt-daapd with avahi running and
    b) mt-daapd with avahi stopped.

    ls -la /var/cache/mt-daapd
    total 16
    drwxr-xr-x 2 nobody root 21 2007-07-24 10:32 .
    drwxr-xr-x 17 root root 4096 2007-07-24 09:48 ..
    -rw-r–r– 1 nobody nogroup 9216 2007-07-24 10:32 songs.db

    a)
    ps auxw | grep “avahi”
    avahi 9515 0.0 0.4 2660 1380 ? Ss 10:20 0:00 avahi-daemon: running [testbox.local]
    avahi 9516 0.0 0.1 2660 456 ? Ss 10:20 0:00 avahi-daemon: chroot helper
    dad 9692 0.0 0.2 2896 780 pts/0 S+ 10:25 0:00 grep avahi

    sudo /usr/sbin/mt-daapd -d9 -f
    Got general/web_root, convert to general/web_root (/usr/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 (sqlite)
    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 (/home/dad/music)
    Found existing section
    Found 1 tokens in /home/dad/music
    Token 1: /home/dad/music
    Got general/servername, convert to general/servername (Firefly)
    Found existing section
    Got general/runas, convert to general/runas (nobody)
    Found existing section
    Got general/playlist, convert to general/playlist (/usr/etc/mt-daapd.playlist)
    Found existing section
    Got general/extensions, convert to general/extensions (.mp3,.m4a,.m4p)
    Found existing section
    Got general/ssc_codectypes, convert to general/ssc_codectypes (ogg,flac,alac)
    Found existing section
    Got general/ssc_prog, convert to general/ssc_prog (/usr/bin/mt-daapd-ssc.sh)
    Found existing section
    Expanding precomments to 2048
    Expanding precomments to 4096
    Got general/scan_type, convert to general/scan_type (2)
    Found existing section
    Got plugins/plugin_dir, convert to plugins/plugin_dir (/usr/share/mt-daapd/plugins)
    Found existing section
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /var/cache/mt-daapd
    Checking existence of /var/cache/mt-daapd
    Checking existence of /usr/share/mt-daapd/plugins
    Checking existence of /usr/share/mt-daapd/plugins
    Loading new config file.
    Firefly Version svn-1586: Starting with debuglevel 9
    Attempting to load plugin /usr/share/mt-daapd/plugins/out-daap.so
    Loaded plugin /usr/share/mt-daapd/plugins/out-daap.so (daap/svn-1586)
    New transcode codec list:
    Attempting to load plugin /usr/share/mt-daapd/plugins/rsp.so
    Loaded plugin /usr/share/mt-daapd/plugins/rsp.so (rsp/svn-1586)
    New transcode codec list:
    Attempting to load plugin /usr/share/mt-daapd/plugins/ssc-script.so
    Loaded plugin /usr/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1586)
    New transcode codec list: ogg,flac,alac
    Plugin loaded: ssc-script/svn-1586
    Plugin loaded: rsp/svn-1586
    Plugin loaded: daap/svn-1586
    Starting rendezvous daemon
    Starting signal handler
    Opening database
    select(7, 0.000976)
    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’
    Full reload…
    Executing: drop index idx_path
    Query: drop index idx_path
    Error: no such index: idx_path
    Executing: drop index idx_songid
    Query: drop index idx_songid
    Error: no such index: idx_songid
    Executing: drop index idx_playlistid
    Query: drop index idx_playlistid
    Error: no such index: idx_playlistid
    Executing: drop table songs
    select(7, 0.047851)
    Rows: 0
    Executing: delete from playlists where not type=1 and not type=0
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/(null)/134932752
    select(7, 0.100585)
    Rows: 0
    Executing: drop table playlistitems
    Rows: 0
    Executing: drop table config
    Rows: 0
    Executing: vacuum
    select(7, 0.097656)
    Rows: 0
    Executing: create table songs (
    id INTEGER PRIMARY KEY NOT NULL,
    path VARCHAR(4096) NOT NULL,
    fname VARCHAR(255) NOT NULL,
    title VARCHAR(1024) DEFAULT NULL,
    artist VARCHAR(1024) DEFAULT NULL,
    album VARCHAR(1024) DEFAULT NULL,
    genre VARCHAR(255) DEFAULT NULL,
    comment VARCHAR(4096) DEFAULT NULL,
    type VARCHAR(255) DEFAULT NULL,
    composer VARCHAR(1024) DEFAULT NULL,
    orchestra VARCHAR(1024) DEFAULT NULL,
    conductor VARCHAR(1024) DEFAULT NULL,
    grouping VARCHAR(1024) DEFAULT NULL,
    url VARCHAR(1024) DEFAULT NULL,
    bitrate INTEGER DEFAULT 0,
    samplerate INTEGER DEFAULT 0,
    song_length INTEGER DEFAULT 0,
    file_size INTEGER DEFAULT 0,
    year INTEGER DEFAULT 0,
    track INTEGER DEFAULT 0,
    total_tracks INTEGER DEFAULT 0,
    disc INTEGER DEFAULT 0,
    total_discs INTEGER DEFAULT 0,
    bpm INTEGER DEFAULT 0,
    compilation INTEGER DEFAULT 0,
    rating INTEGER DEFAULT 0,
    play_count INTEGER DEFAULT 0,
    data_kind INTEGER DEFAULT 0,
    item_kind INTEGER DEFAULT 0,
    description INTEGER DEFAULT 0,
    time_added INTEGER DEFAULT 0,
    time_modified INTEGER DEFAULT 0,
    time_played INTEGER DEFAULT 0,
    db_timestamp INTEGER DEFAULT 0,
    disabled INTEGER DEFAULT 0,
    sample_count INTEGER DEFAULT 0,
    force_update INTEGER DEFAULT 0,
    codectype VARCHAR(5) DEFAULT NULL,
    idx INTEGER NOT NULL,
    has_video INTEGER DEFAULT 0,
    contentrating INTEGER DEFAULT 0,
    bits_per_sample INTEGER DEFAULT 0,
    album_artist VARCHAR(1024)
    );
    create table playlistitems (
    id INTEGER PRIMARY KEY NOT NULL,
    playlistid INTEGER NOT NULL,
    songid INTEGER NOT NULL
    );
    create table config (
    term VARCHAR(255) NOT NULL,
    subterm VARCHAR(255) DEFAULT NULL,
    value VARCHAR(1024) NOT NULL
    );
    insert into config values (‘version’,”,’13’);

    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/(null)/134932752
    select(7, 0.100585)
    select(7, 0.146484)
    Rows: 1
    Executing: create table playlists (
    id INTEGER PRIMARY KEY NOT NULL,
    title VARCHAR(255) NOT NULL,
    type INTEGER NOT NULL,
    items INTEGER NOT NULL,
    query VARCHAR(1024),
    db_timestamp INTEGER NOT NULL,
    path VARCHAR(4096),
    idx INTEGER NOT NULL
    );
    insert into playlists values (1,’Library’,1,0,’1′,0,”,0);

    Query: create table playlists (
    id INTEGER PRIMARY KEY NOT NULL,
    title VARCHAR(255) NOT NULL,
    type INTEGER NOT NULL,
    items INTEGER NOT NULL,
    query VARCHAR(1024),
    db_timestamp INTEGER NOT NULL,
    path VARCHAR(4096),
    idx INTEGER NOT NULL
    );
    insert into playlists values (1,’Library’,1,0,’1′,0,”,0);

    Error: table playlists already exists
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Listening on port 3689
    Starting server thread
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/(null)/134932752
    select(7, 0.100585)
    Registering rendezvous names
    Processing rendezvous message
    Registering Firefly._http._tcp (3689)
    Registered service 0, name ‘Firefly’, type ‘_http._tcp’, domain ‘local.’, port 3689
    select(7, 0.098632)
    Checking ssc-script/svn-1586
    Checking rsp/svn-1586
    Registering _rsp._tcp
    Processing rendezvous message
    Registering Firefly._rsp._tcp (3689)
    Registered service 1, name ‘Firefly’, type ‘_rsp._tcp’, domain ‘local.’, port 3689
    select(7, 0.097656)
    Checking daap/svn-1586
    Registering _daap._tcp
    Processing rendezvous message
    Registering Firefly._daap._tcp (3689)
    Registered service 2, name ‘Firefly’, type ‘_daap._tcp’, domain ‘local.’, port 3689
    select(7, 0.097656)
    Executing: select count(*) FROM songs
    Serving 0 songs. Startup complete in 1 seconds
    select(7, 0.000976)
    select(7, 0.146484)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.000976)
    select(7, 0.096679)
    select(7, 0.146484)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 0.146484)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 0.146484)
    Callback: Name Registered
    Callback: Name Registered
    Callback: Name Registered
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.000976)
    select(7, 0.096679)
    select(7, 0.140625)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 0.648437)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 1.139648)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 3.895507)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.099609)
    select(7, 5.000000)
    select(7, 2.899414)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 5.000000)
    select(7, 5.000000)
    select(7, 5.000000)
    Got shutdown signal.
    Stopping gracefully
    Stopping rendezvous daemon
    Processing rendezvous message
    Stopping mDNS
    Exiting
    Deregistered service 2
    Deregistered service 1
    Deregistered service 0
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    Callback: Memory Free
    Callback: Memory Free
    Callback: Memory Free
    Finished with status 0, result 0
    Closing database

    b)
    ps auxw | grep “avahi”
    dad 9863 0.0 0.2 2896 768 pts/0 R+ 10:31 0:00 grep avahi

    sudo /usr/sbin/mt-daapd -d9 -f
    Got general/web_root, convert to general/web_root (/usr/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 (sqlite)
    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 (/home/dad/music)
    Found existing section
    Found 1 tokens in /home/dad/music
    Token 1: /home/dad/music
    Got general/servername, convert to general/servername (Firefly)
    Found existing section
    Got general/runas, convert to general/runas (nobody)
    Found existing section
    Got general/playlist, convert to general/playlist (/usr/etc/mt-daapd.playlist)
    Found existing section
    Got general/extensions, convert to general/extensions (.mp3,.m4a,.m4p)
    Found existing section
    Got general/ssc_codectypes, convert to general/ssc_codectypes (ogg,flac,alac)
    Found existing section
    Got general/ssc_prog, convert to general/ssc_prog (/usr/bin/mt-daapd-ssc.sh)
    Found existing section
    Expanding precomments to 2048
    Expanding precomments to 4096
    Got general/scan_type, convert to general/scan_type (2)
    Found existing section
    Got plugins/plugin_dir, convert to plugins/plugin_dir (/usr/share/mt-daapd/plugins)
    Found existing section
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /usr/share/mt-daapd/admin-root
    Checking existence of /var/cache/mt-daapd
    Checking existence of /var/cache/mt-daapd
    Checking existence of /usr/share/mt-daapd/plugins
    Checking existence of /usr/share/mt-daapd/plugins
    Loading new config file.
    Firefly Version svn-1586: Starting with debuglevel 9
    Attempting to load plugin /usr/share/mt-daapd/plugins/out-daap.so
    Loaded plugin /usr/share/mt-daapd/plugins/out-daap.so (daap/svn-1586)
    New transcode codec list:
    Attempting to load plugin /usr/share/mt-daapd/plugins/rsp.so
    Loaded plugin /usr/share/mt-daapd/plugins/rsp.so (rsp/svn-1586)
    New transcode codec list:
    Attempting to load plugin /usr/share/mt-daapd/plugins/ssc-script.so
    Loaded plugin /usr/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1586)
    New transcode codec list: ogg,flac,alac
    Plugin loaded: ssc-script/svn-1586
    Plugin loaded: rsp/svn-1586
    Plugin loaded: daap/svn-1586
    Starting rendezvous daemon
    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’
    Full reload…
    Executing: drop index idx_path
    Query: drop index idx_path
    Error: no such index: idx_path
    Executing: drop index idx_songid
    Query: drop index idx_songid
    Error: no such index: idx_songid
    Executing: drop index idx_playlistid
    Query: drop index idx_playlistid
    Error: no such index: idx_playlistid
    Executing: drop table songs
    Rows: 0
    Executing: delete from playlists where not type=1 and not type=0
    Rows: 0
    Executing: drop table playlistitems
    select(7, 0.000976)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/(null)/134932752
    select(7, 0.022460)
    Rows: 0
    Executing: drop table config
    select(7, 0.096679)
    Rows: 0
    Executing: vacuum
    Rows: 0
    Executing: create table songs (
    id INTEGER PRIMARY KEY NOT NULL,
    path VARCHAR(4096) NOT NULL,
    fname VARCHAR(255) NOT NULL,
    title VARCHAR(1024) DEFAULT NULL,
    artist VARCHAR(1024) DEFAULT NULL,
    album VARCHAR(1024) DEFAULT NULL,
    genre VARCHAR(255) DEFAULT NULL,
    comment VARCHAR(4096) DEFAULT NULL,
    type VARCHAR(255) DEFAULT NULL,
    composer VARCHAR(1024) DEFAULT NULL,
    orchestra VARCHAR(1024) DEFAULT NULL,
    conductor VARCHAR(1024) DEFAULT NULL,
    grouping VARCHAR(1024) DEFAULT NULL,
    url VARCHAR(1024) DEFAULT NULL,
    bitrate INTEGER DEFAULT 0,
    samplerate INTEGER DEFAULT 0,
    song_length INTEGER DEFAULT 0,
    file_size INTEGER DEFAULT 0,
    year INTEGER DEFAULT 0,
    track INTEGER DEFAULT 0,
    total_tracks INTEGER DEFAULT 0,
    disc INTEGER DEFAULT 0,
    total_discs INTEGER DEFAULT 0,
    bpm INTEGER DEFAULT 0,
    compilation INTEGER DEFAULT 0,
    rating INTEGER DEFAULT 0,
    play_count INTEGER DEFAULT 0,
    data_kind INTEGER DEFAULT 0,
    item_kind INTEGER DEFAULT 0,
    description INTEGER DEFAULT 0,
    time_added INTEGER DEFAULT 0,
    time_modified INTEGER DEFAULT 0,
    time_played INTEGER DEFAULT 0,
    db_timestamp INTEGER DEFAULT 0,
    disabled INTEGER DEFAULT 0,
    sample_count INTEGER DEFAULT 0,
    force_update INTEGER DEFAULT 0,
    codectype VARCHAR(5) DEFAULT NULL,
    idx INTEGER NOT NULL,
    has_video INTEGER DEFAULT 0,
    contentrating INTEGER DEFAULT 0,
    bits_per_sample INTEGER DEFAULT 0,
    album_artist VARCHAR(1024)
    );
    create table playlistitems (
    id INTEGER PRIMARY KEY NOT NULL,
    playlistid INTEGER NOT NULL,
    songid INTEGER NOT NULL
    );
    create table config (
    term VARCHAR(255) NOT NULL,
    subterm VARCHAR(255) DEFAULT NULL,
    value VARCHAR(1024) NOT NULL
    );
    insert into config values (‘version’,”,’13’);

    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/(null)/134932752
    select(7, 0.099609)
    select(7, 0.149414)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/(null)/134932752
    select(7, 0.099609)
    Rows: 1
    Executing: create table playlists (
    id INTEGER PRIMARY KEY NOT NULL,
    title VARCHAR(255) NOT NULL,
    type INTEGER NOT NULL,
    items INTEGER NOT NULL,
    query VARCHAR(1024),
    db_timestamp INTEGER NOT NULL,
    path VARCHAR(4096),
    idx INTEGER NOT NULL
    );
    insert into playlists values (1,’Library’,1,0,’1′,0,”,0);

    Query: create table playlists (
    id INTEGER PRIMARY KEY NOT NULL,
    title VARCHAR(255) NOT NULL,
    type INTEGER NOT NULL,
    items INTEGER NOT NULL,
    query VARCHAR(1024),
    db_timestamp INTEGER NOT NULL,
    path VARCHAR(4096),
    idx INTEGER NOT NULL
    );
    insert into playlists values (1,’Library’,1,0,’1′,0,”,0);

    Error: table playlists already exists
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Listening on port 3689
    Starting server thread
    Registering rendezvous names
    Processing rendezvous message
    Registering Firefly._http._tcp (3689)
    Registered service 0, name ‘Firefly’, type ‘_http._tcp’, domain ‘local.’, port 3689
    select(7, 0.093750)
    Checking ssc-script/svn-1586
    Checking rsp/svn-1586
    Registering _rsp._tcp
    Processing rendezvous message
    Registering Firefly._rsp._tcp (3689)
    Registered service 1, name ‘Firefly’, type ‘_rsp._tcp’, domain ‘local.’, port 3689
    select(7, 0.092773)
    Checking daap/svn-1586
    Registering _daap._tcp
    Processing rendezvous message
    Registering Firefly._daap._tcp (3689)
    Registered service 2, name ‘Firefly’, type ‘_daap._tcp’, domain ‘local.’, port 3689
    select(7, 0.091796)
    Executing: select count(*) FROM songs
    Serving 0 songs. Startup complete in 1 seconds
    select(7, 0.149414)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.000976)
    select(7, 0.096679)
    select(7, 0.145507)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 0.146484)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 0.146484)
    Callback: Name Registered
    Callback: Name Registered
    Callback: Name Registered
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.000976)
    select(7, 0.096679)
    select(7, 0.139648)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 0.652343)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 1.136718)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 3.896484)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.099609)
    select(7, 5.000000)
    select(7, 2.899414)
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    select(7, 0.100585)
    select(7, 5.000000)
    Got shutdown signal.
    Stopping gracefully
    Stopping rendezvous daemon
    Processing rendezvous message
    Stopping mDNS
    Exiting
    Deregistered service 2
    Deregistered service 1
    Deregistered service 0
    mDNSPlatformSendUDP got error 1 (Operation not permitted) sending packet to 0x1.af8780809acep-895 on interface 0x0.00002080ab16p-1022/???/134932752
    Callback: Memory Free
    Callback: Memory Free
    Callback: Memory Free
    Finished with status 0, result 0
    Closing database
    Done!

    I noticed that there are far more dependencies for the standard feisty version of mt-daapd (1376) than the nightly build. Trying to install the 1376 version shows the following additional dependencies:
    libavahi-compat-howl0
    libavcodec0d
    libavformat0d
    libdc1394-13
    libtagc0

    As an aside I also noticed that when going into http://localhost:3689 that it said Bonjour was not running, is this correct? And also that no songs had been scanned.

    Regards

    #11180
    mephisto
    Participant

    Ok, Ron, I’ve resolved the problem which is that the avahi that comes with feisty doesn’t include libavahi-compat-libdnssd1 as standard. As soon as I installed that from the ubuntu repository, even with the Ubuntu supplied mt-daapd it worked without a problem.

    Hope this helps somebody else.

    Cheers

    #11181
    rpedde
    Participant

    @mephisto wrote:

    Ok, Ron, I’ve resolved the problem which is that the avahi that comes with feisty doesn’t include libavahi-compat-libdnssd1 as standard. As soon as I installed that from the ubuntu repository, even with the Ubuntu supplied mt-daapd it worked without a problem.

    Hope this helps somebody else.

    Cheers

    Strange, shouldn’t need that either. I clearly need to check my feisty build, and (at least) update the dependencies.

    Thanks for the feedback.

    — Ron

    #11182
    mephisto
    Participant

    Mmm, well there’s always the possibility that it was a coincidence I suppose.

    I provide the following for information only:

    I’ve noticed that Rhythmbox (client) seems to be a bit random as to whether it is going to display the share or not. I use Rhythmbox, Exaile and Amarok, the latter 2 require the share to be manually entered, Rhythmbox displays the share automatically.

    I know for a fact that even when Exaile and Amarok have been happily playing away, Rhythmbox hasn’t shown the share. I don’t know whether this is lack of advertisement from the service or a problem with Rhythmbox.

    On another occasion immediately after dropping the firewall I saw the share appear in Rhythmbox which then played away. I thought I had a firewall problem but when I put the firewall back up Rhythmbox carried on playing. Maybe this was coincidence too.

    On another note I have noticed that with the nightly build it has refused to automatically do the initial music scan. Going into http://localhost:3689 shows zero files scanned and it also refuses to allow me to use the web interface to change the config file. The version that comes with Ubuntu does the scan and will allow me to change the file. I’ve noticed that with the Ubuntu version ownership of mt-daapd is by mt-daapd whereas with the nightly ownership is by nobody. Maybe there’s the reason.

    #11183
    rpedde
    Participant

    @mephisto wrote:

    On another occasion immediately after dropping the firewall I saw the share appear in Rhythmbox which then played away. I thought I had a firewall problem but when I put the firewall back up Rhythmbox carried on playing. Maybe this was coincidence too.

    I think you’d find that eventually it would drop off, or if you started a different music player, then close and re-open rhythmox, it wouldn’t find it again.

    mDNS is weird.

    On another note I have noticed that with the nightly build it has refused to automatically do the initial music scan. Going into http://localhost:3689 shows zero files scanned and it also refuses to allow me to use the web interface to change the config file. The version that comes with Ubuntu does the scan and will allow me to change the file. I’ve noticed that with the Ubuntu version ownership of mt-daapd is by mt-daapd whereas with the nightly ownership is by nobody. Maybe there’s the reason.

    That is the reason. I suppose I should move to the packaging scripts that debian uses so my packages are in line with debian/feisty.

    wrt initial scan – that’s fixed in svn.

    — Ron

    #11184
    mephisto
    Participant

    @rpedde wrote:

    mDNS is weird.

    Tell me about it 😯

    @rpedde wrote:

    wrt initial scan – that’s fixed in svn.

    Thanks Ron

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