Page 1 of 2

Forked-daapd for Airport express / iOS -owners :)

Posted: 11 Apr 2011, 15:06
by NisseJ
I am very happy with my little B3 and really impressed of it as a server / itunes library server etc but i would be even more happy if i could use my iPhone / iPad and the Apple remote app to pair with the itunes-library on the B3 and therefore be able to turn of my computers when i wanted to listen to my music.

I saw that it was possible to use forked-daapd to do that and it would be supernice to be able to use that, both for the coolness and my eternal happyness ;)

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 03:35
by johannes
Yes, we have looked on it. It's on the list, we'll add it when we can.

(Note however that you can install it yourself quite easilly, we haven't tested yet but it should work:
http://packages.debian.org/squeeze/forked-daapd)

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 03:50
by gatto
I was looking for a firefly replacement and stumbled in forked-daap

On B3 it should be available once adding debian repository to your sorces.list file.
I don't remember where, but I'm pretty sure I read that it doesn't have the web interface, so you must use a client to connect to it. Just in case...

Cheers

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 04:26
by NisseJ
Well, i have tried but i get some error when doing so. I have a post about it here:
http://forum.excito.net/viewtopic.php?f ... 80&start=0

Im sadly not an apt-get ninja yet, but the error i get is:

Code: Select all

root@b3:~# apt-get install forked-daapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 forked-daapd : Depends: libsqlite3-0 (>= 3.7.3) but 3.7.2-1 is to be installed
E: Broken packages

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 04:46
by gatto
no time for a full tutorial, here you have some instructions, take them as general reference
just the first two chapters are useful in your case

http://linuxappfinder.com/addrepo

once added stable repos, proceed with apt-get update
and then apt-get install forked-daapd

now dependencies should be solved.

No problem should come, but beware that you are adding a repo not provided by the excito team, I don't know to which term it is supported, btw it's debian stable as b3 sw, it should be error-free.

I don't know if you have to configure the db then, I know nothing about these music servers

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 04:57
by johannes
Perhaps a dumb question (I am a hardware guy at Excito so please dont put me down for this, but I want to learn), but is this about adding official debian repos to our sources?

You can use the nifty tool pre-installed in B3: change_distribution elvin -u (-u for upstream). THen apt-get update and then apt-get install ...

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 05:07
by gatto
johannes' way is better, I didn't know this feature.

Is this working also on bubba2?

to johannes:Is there some manual on similar features? Is there some explanation of the different distributions for B3 and bubba2?

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 05:37
by johannes
gatto - yes, it's on B2 as well. You have to be root though. And you have a point, no documentation of this, so I added:

http://wiki.excito.org/wiki/index.php/C ... ces_easier.

There is one mor tool/trick I can think of that isn't documented, it's how to install debian packages using the web interface. I'll make sure to add a howto for this as well (I just have to figure out how it works first). :)

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 06:15
by johannes

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 06:40
by NisseJ
johannes wrote:
(sorry Nisse for going OT).
No problem :) It´s just interesting. On a sidenote i still get the same error

Code: Select all

The following packages have unmet dependencies:
 forked-daapd : Depends: libsqlite3-0 (>= 3.7.3) but 3.7.2-1 is to be installed
E: Broken packages
I have even tried to add the stable repro to the sources.list but then i get this error:

Code: Select all

W: Failed to fetch http://ftp.se.debian.org/debian/dists/squeeze/Release  Unable to find expected entry  stable/binary-armel/Packages in Meta-index file (malformed Release file?)

E: Some index files failed to download, they have been ignored, or old ones used instead.
root@b3:/etc/apt#
I have changed the source list like this:

Code: Select all

root@b3:/etc/apt# more sources.list
# Bubba apt sources.list
#
# Generated by change_distribution elvin -u
#
# vim: ft=debsources
deb http://ftp.se.debian.org/debian squeeze main stable
deb http://b3.update.excito.org/ elvin main
deb http://b3.update.excito.org/ upstream_squeeze main
Well, i will have to investigate it later :)

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 06:55
by johannes
Yes, we'll have to ask some apt-wizard for help here, I'm also puzzled.

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 07:44
by gatto
maybe this sounds stupid, but did you run

Code: Select all

apt-get update
before installing the package?

it can also be an issue of forked-daapd now seen as broken, you can also try

Code: Select all

apt-get install -f
to solve it

let me know

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 08:23
by NisseJ
gatto wrote:maybe this sounds stupid, but did you run

Code: Select all

apt-get update
before installing the package?

let me know

Yes, that i have done :)

I have even run all these commands after the tip Johannes gave in the thread:

Code: Select all

apt-get clean 
apt-get auto clean
apt-get update
apt-get upgrade
apt-get dist-upgrade
:)

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 09:28
by gatto
what about

Code: Select all

apt-get install -f
?

Re: Forked-daapd for Airport express / iOS -owners :)

Posted: 28 Apr 2011, 09:44
by NisseJ
gatto wrote:what about

Code: Select all

apt-get install -f
?

Code: Select all

root@b3:~# apt-get install -f forked-daapd                                      Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 forked-daapd : Depends: libsqlite3-0 (>= 3.7.3) but 3.7.2-1 is to be installed
E: Broken packages
root@b3:~#