Page 4 of 9 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 87

Thread: How to set up forked-daapd (mt-daapd replacement) on 9.10

  1. #31
    Join Date
    Aug 2006
    Location
    Canada
    Beans
    56
    Distro
    Ubuntu

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Quote Originally Posted by johnt0000 View Post
    Another issue I had was when I used the prebuild forked-daapd for debain on ubuntu, I could detect my AirPort Express and connect to it after I rebooted it through remote on iPhone (otherwise it would not connect)
    On the version I built, the APE was not discovered.
    Hi, feeling like a complete idiot here, but how do you connect the Remote app on iOS and AirPort Express to forked-daapd? I must be missing something obvious but can't for the life of me figure it out.

    Running forked-daapd from the prebuilt packages for squeeze.

    EDIT:
    I should RTFM.

    README
    Pairing with Remote on iPod/iPhone
    ----------------------------------

    forked-daapd can be paired with Apple's Remote application for iPod/iPhone;
    this is how the pairing process works:
    - start forked-daapd
    - start Remote, go to Choose Library, Add Library
    - prepare a text file with a filename ending with .remote; the filename
    doesn't matter, only the .remote ending does. This file must contain
    two lines: the first line is the name of your iPod/iPhone, the second
    is the 4-digit pairing code displayed by Remote.

    If your iPod/iPhone is named "Foobar" and Remote gives you the pairing
    code 5387, the file content will be:

    Foobar
    5387

    - move this file somewhere in your library

    At this point, you should be done with the pairing process and Remote should
    display the name of your forked-daapd library. You can delete the .remote file
    once the pairing process is done.

    If Remote doesn't display the name of your forked-daapd library at this point,
    the pairing process failed.

    This will usually be because the .remote file did not contain the correct name
    or pairing code. Start over the pairing process and try again.

    If in doubt, enable a more verbose level of logging and check that forked-daapd
    receives the mDNS announcement from your iPod/iPhone when the pairing code is
    displayed by Remote (you can also use avahi-browse for this purpose, see below).
    If not, you have a network issue and mDNS doesn't work properly on your network.

    If you are unsure about your iPod/iPhone's name, here's how you can check for
    the correct value:
    - in a terminal, run avahi-browse -r -k _touch-remote._tcp
    - start Remote, goto Choose Library, Add Library
    - after a couple seconds at most, you should get something similar to this:

    + ath0 IPv4 59eff13ea2f98dbbef6c162f9df71b784a3ef9a3 _touch-remote._tcp local
    = ath0 IPv4 59eff13ea2f98dbbef6c162f9df71b784a3ef9a3 _touch-remote._tcp local
    hostname = [Foobar.local]
    address = [192.168.1.1]
    port = [49160]
    txt = ["DvTy=iPod touch" "RemN=Remote" "txtvers=1" "RemV=10000" "Pair=FAEA410630AEC05E" "DvNm=Foobar"]

    The name of your iPod/iPhone is the value of the DvNm field above. In this
    example, the correct value is Foobar.

    Hit Ctrl-C to terminate avahi-browse.
    Last edited by ergosteur; September 3rd, 2010 at 03:06 AM.
    "By entering this room, you agree to forfeit your own soul rather than negotiate with the mortal residing therein." -xkcd 501

  2. #32
    Join Date
    Sep 2010
    Beans
    1

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Been trying different methods to compile it without any success... Keeps getting this:

    Code:
    make[2]: Entering directory `/home/andrei/forked-daapd/forked-daapd/src'
    gcc -DHAVE_CONFIG_H -I. -I..  -D_GNU_SOURCE -I/usr/include -D_REENTRANT     -I/usr/local/include     -I/usr/include/taglib   -D_THREAD_SAFE -D_REENTRANT   -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/include/alsa -DDATADIR="\"/usr/share/forked-daapd\"" -DCONFDIR="\"/etc\"" -DSTATEDIR="\"/var\"" -DFLAC -DMUSEPACK -DITUNES  -g -O2 -Wall -D_LARGEFILE_SOURCE -MT forked_daapd-db.o -MD -MP -MF .deps/forked_daapd-db.Tpo -c -o forked_daapd-db.o `test -f 'db.c' || echo './'`db.c
    make[2]: *** [forked_daapd-db.o] Error 1
    make[2]: Leaving directory `/home/andrei/forked-daapd/forked-daapd/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/andrei/forked-daapd/forked-daapd'
    make: *** [all] Error 2
    Anyone, help please?

  3. #33
    Join Date
    Aug 2006
    Beans
    1

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Remix_88: Thanks a lot for your script. Unfortunately I've run into a problem on my 64-Bit Lucid when trying to excute the dappd-server.sh:

    Code:
    quakenul@shambler:~/ServerScripts$ sudo ./daap-server.sh 
    Installing daapd server
    ERROR! ./daap-server.sh is not supported on this platform
    Any ideas to what the cause might be? uname -a says

    Code:
    Linux shambler 2.6.32-24-server #41-Ubuntu SMP Thu Aug 19 02:47:08 UTC 2010 x86_64 GNU/Linux

  4. #34
    Join Date
    Mar 2009
    Beans
    1

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    If you're having problem compiling due to a unistr.h error on Ubuntu 10.04:

    /usr/include/unistr.h:189: error: expected ‘;’, ‘,’ or ‘)’ before ‘_UNUSED_PARAMETER_’

    Then try the following addition to the configure step:

    CFLAGS=-fno-inline ./configure

    This will cause an alternate form of the function to be used without the _UNUSED_PARAMETER_ which then makes it through the compiler.

  5. #35
    Join Date
    Aug 2010
    Beans
    2

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Quote Originally Posted by ergosteur View Post
    Hi, feeling like a complete idiot here, but how do you connect the Remote app on iOS and AirPort Express to forked-daapd? I must be missing something obvious but can't for the life of me figure it out.

    Running forked-daapd from the prebuilt packages for squeeze.

    EDIT:
    I should RTFM.

    README
    Hey there, no problems.

    If you are having are having problems connecting to an airport device, make sure ipv6 is enabled in the avahi conf (it is not by default in ubuntu 10.04).

    On another note forked-daapd reached version .12, yay.

    I'm so glad people have put so much time and effort making this great piece of software.


    Just wondering if anyone has looked at or thought about the AirPlay (http://www.engadget.com/2010/09/01/a...ty-speaker-do/) standard. Hopefully AirPlay won't be too different to AirTunes v2. Has anyone looked at it yet, or is it time to do some sniffing?



    John
    Last edited by johnt2010; September 5th, 2010 at 02:01 AM. Reason: AirPlay?

  6. #36
    Join Date
    Sep 2010
    Beans
    1

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    I was having a lot of trouble getting this to compile on a stock Ubuntu Lucid server, and getting the same errors as quakenul and swests with the installation script. After a spending too much time chasing down compilation errors and some of the weird dependancies, I found a tip that Debian's testing repositories have a working build, and installing from that worked flawlessly for me (after a little fiddling with gcrypt.)

    Instructions are here. I know this isn't quite with the topic of the thread, but I thought I'd add this here since it's the leading forked-daapd thread in search right now and I'm sure with iTunes 10 breaking Firefly support lots of people will be looking for it.

  7. #37
    Join Date
    Feb 2009
    Beans
    1

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Quote Originally Posted by philipholland View Post
    If you're having problem compiling due to a unistr.h error on Ubuntu 10.04:

    /usr/include/unistr.h:189: error: expected ‘;’, ‘,’ or ‘)’ before ‘_UNUSED_PARAMETER_’

    Then try the following addition to the configure step:

    CFLAGS=-fno-inline ./configure

    This will cause an alternate form of the function to be used without the _UNUSED_PARAMETER_ which then makes it through the compiler.
    Thanks for that!

  8. #38
    Join Date
    Sep 2010
    Beans
    1

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    hi all guys,
    i've just installed my forked-daapd server, now i can view the shared library but i CAN'T access to webinterface the user name is invalid...i didn't undertand how to set up a new account... please help me to find the right solution!
    thank you so much
    Last edited by imsonica; September 13th, 2010 at 11:25 AM.

  9. #39
    Join Date
    Dec 2008
    Beans
    1

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    On a vanilla Lucid install, I'm finding this breaks as follows:

    [x] Autoreconf forked-daapd success
    [x] Configure forked-daapd failed
    [i] Showing the last 5 lines from the logfile (/home/fergus/Projects/linux/Firefly/ServerScripts/./daap-server.sh.log)...
    checking whether to build static libraries... no
    checking for antlr3... no
    configure: error: antlr3 wrapper not found and pre-generated files not available
    20935's retcode: 1
    failed

  10. #40
    Join Date
    Jul 2005
    Beans
    107

    Re: How to set up forked-daapd (mt-daapd replacement) on 9.10

    Quote Originally Posted by imsonica View Post
    hi all guys,
    i've just installed my forked-daapd server, now i can view the shared library but i CAN'T access to webinterface the user name is invalid...i didn't undertand how to set up a new account... please help me to find the right solution!
    thank you so much
    That's easy - there is no web interface, as per the first post of the thread:
    Quote Originally Posted by dontodd View Post
    It does what mt-daapd does minus the web interface. I never used mt-daapd's web interface, so no loss for me there.

Page 4 of 9 FirstFirst ... 23456 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •