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

Good ideas? Share with us!
NisseJ
Posts: 40
Joined: 09 Jan 2011, 07:55
Location: Sweden
Contact:

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

Post by NisseJ » 11 Apr 2011, 15:06

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 ;)

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

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

Post by johannes » 28 Apr 2011, 03:35

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)
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

gatto
Posts: 20
Joined: 05 Apr 2011, 16:43
Location: Italy
Contact:

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

Post by gatto » 28 Apr 2011, 03:50

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

NisseJ
Posts: 40
Joined: 09 Jan 2011, 07:55
Location: Sweden
Contact:

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

Post by NisseJ » 28 Apr 2011, 04:26

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

gatto
Posts: 20
Joined: 05 Apr 2011, 16:43
Location: Italy
Contact:

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

Post by gatto » 28 Apr 2011, 04:46

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

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

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

Post by johannes » 28 Apr 2011, 04:57

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 ...
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

gatto
Posts: 20
Joined: 05 Apr 2011, 16:43
Location: Italy
Contact:

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

Post by gatto » 28 Apr 2011, 05:07

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?

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

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

Post by johannes » 28 Apr 2011, 05:37

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). :)
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

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

Post by johannes » 28 Apr 2011, 06:15

/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

NisseJ
Posts: 40
Joined: 09 Jan 2011, 07:55
Location: Sweden
Contact:

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

Post by NisseJ » 28 Apr 2011, 06:40

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 :)

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

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

Post by johannes » 28 Apr 2011, 06:55

Yes, we'll have to ask some apt-wizard for help here, I'm also puzzled.
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

gatto
Posts: 20
Joined: 05 Apr 2011, 16:43
Location: Italy
Contact:

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

Post by gatto » 28 Apr 2011, 07:44

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

NisseJ
Posts: 40
Joined: 09 Jan 2011, 07:55
Location: Sweden
Contact:

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

Post by NisseJ » 28 Apr 2011, 08:23

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
:)

gatto
Posts: 20
Joined: 05 Apr 2011, 16:43
Location: Italy
Contact:

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

Post by gatto » 28 Apr 2011, 09:28

what about

Code: Select all

apt-get install -f
?

NisseJ
Posts: 40
Joined: 09 Jan 2011, 07:55
Location: Sweden
Contact:

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

Post by NisseJ » 28 Apr 2011, 09:44

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:~#

Post Reply