You are here: Home » Topic » noob setup questions

noob setup questions

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

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

    Anonymous

    I have followed http://www.ubuntugeek.com/howto-setup-itunes-compatible-media-server-in-ubuntu.html
    up to

    sudo mt-daapd -f

    and this is the result.

    Starting with debuglevel 2
    Starting rendezvous daemon
    Starting signal handler
    *** WARNING *** The programme 'mt-daapd' uses the HOWL compatiblity layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see
    Error initializing howl
    Signal handler started
    Got CLD signal. Reaping
    Initializing database
    Full reload...
    Starting mp3 scan
    Error inserting file Number Ones-10-Boogie on Reggae Woman.mp3 in database
    Aborting

    Any help would be greatly appreciated.

    #16806

    fizze
    Participant

    it seems the db-dir isn’t writeable.
    check the permissions. you can find the path in the mt-daapd.conf.

    #16807

    Anonymous

    @fizze wrote:

    it seems the db-dir isn’t writeable.
    check the permissions. you can find the path in the mt-daapd.conf.

    That was it… I now need to find why it wont add that song to the database, could it be the length of the file name?

    Thanks fizze…

    #16808

    fizze
    Participant

    No, that was the reason. 😉

    It _could_ not add the song to the database, in fact it could not add anything to the database because it could not write to the database. 😉

    Maybe the file permissions for songs.db are haywire too. You shouldn’t start firefly from the shell with totally different users.

    sudo to the user that firefly is normally running as, which would be nobody, I guess? Again, this info can be found in the mt-daapd.conf.

    #16809

    Anonymous

    That’s it fizze. After your first post I gave 777 permission to the mt-daapd folder and it cleared up some of the problems. Now I have given 777 permission to the songs3.db and all looks fine.

    I’m sure I’ll be back for more help soon.

    Thanks again…
    D

    #16810

    Anonymous

    Told you I’d be back.

    This is what I get when doing sudo mt-daapd -f

    Starting with debuglevel 2
    Starting rendezvous daemon
    *** WARNING *** The programme 'mt-daapd' uses the HOWL compatiblity layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see
    Starting signal handler
    Error initializing howl
    Signal handler started
    Got CLD signal. Reaping
    Initializing database
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Registering rendezvous names
    Serving 20 songs. Startup complete in 0 seconds

    Then I put my IP address into the “open stream” section in iTunes with :3869 and then I got this.

    Thread 0: Entering ws_returnerror (401: Unauthorized)
    Thread 1: Entering ws_returnerror (302: Moved)

    Not sure if I am doing this right, any help would be greatly appreciated.

    #16811

    fizze
    Participant

    Nah, in iTunes you just need to enable look for shared music 😉
    Then it’s all peachy.

    #16812

    Anonymous

    Still not working. Is there a way I can check each section.
    I can get into the localhost:3689 and it says that Bonjour is running, Firefly media server is running. It also says songs 20 but songs served 0.

    I have also noticed that there are no plugins on my Firefly screen, is that a problem?

    iTunes is set to look for shared libraries.

    Any help would be great, I’m looking at you fizze.

    #16813

    fizze
    Participant

    No Plugins is a problem!

    Firefly needs the DAAP plugin to be able to talk to iTunes.
    Make sure those files are accessible to firefly.

    Also, you shouldn’t always start it in foreground mode. Just use the init script.
    You can see what firefly does thru the logfile or syslog just as easily.

    The 0 songs served part is alright, that is actually a counter of how many songs were accessed thru firefly. So 0 is correct as of now 😉

    #16814

    Anonymous

    As you can guess I am new to all this…

    Firefly needs the DAAP plugin to be able to talk to iTunes.
    Make sure those files are accessible to firefly

    How do you do this?

    Also, you shouldn’t always start it in foreground mode.

    What does this mean?

    I have looked all over the net for help and tried the below, does not look right to me…

    sudo /etc/init.d/avahi-daemon start
    * Not starting Avahi mDNS/DNS-SD Daemon avahi-daemon, disabled via /etc/default/avahi-daemon

    #16815

    Anonymous

    One other thing is that my problem seems the same as Paul41 on the thread “iTunes doesn’t see library” He also downloaded and followed the instruction for the same site I did. http://www.ubuntugeek.com/howto-setup-itunes-compatible-media-server-in-ubuntu.html

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

You must be logged in to reply to this topic.