User avatar
diegocaro
Posts: 4
Joined: Wed Sep 19, 2012 9:19 pm
Location: Concepción, Chile
Contact: Website

forked-daapd for Raspbian (armhf)

Wed Sep 19, 2012 10:02 pm

Hello everyone,

Short history: I forwardported (the inverse of backported) the version of forked-daapd available in debian-backports. The packages are available in http://www.inf.udec.cl/~diegocaro/rpi/

To install, follow the next steps:

Code: Select all

wget http://www.inf.udec.cl/~diegocaro/rpi/forked-daapd_0.19-1~bpo60+1_armhf.deb
wget http://www.inf.udec.cl/~diegocaro/rpi/libevent-1.4-2_1.4.13-stable-1_armhf.deb
wget http://www.inf.udec.cl/~diegocaro/rpi/libevent-core-1.4-2_1.4.13-stable-1_armhf.deb
sudo dpkg -i forked-daapd_0.19-1~bpo60+1_armhf.deb libevent-1.4-2_1.4.13-stable-1_armhf.deb libevent-core-1.4-2_1.4.13-stable-1_armhf.deb
At this point, dpkg says that need more packages (avahi and others). Solve this doing

Code: Select all

sudo apt-get -f install
Then you must configure forked-daapd following the guide in http://elinux.org/RPiForked-Daapd#Confi ... rked-Daapd

Ta-Da!

Long history
First of all, forked-daapd has two different versions, one using libdispatch (see a user space implementation of the Grand Central Dispatch API of Mac OS X ), and the other using libevent. Look the master branch on github for libdispatch version https://github.com/jasonmc/forked-daapd and the libevent branch https://github.com/jasonmc/forked-daapd/tree/libevent

First idea: compile forked-daapd deb source package available in wheezy. The raspbian (and debian) wheezy version of forked-daapd uses libdispatch, but for some reasons that I did't discover yet, libdispatch can't compile on raspbian (I only succesfully compiled the libblocks package, which is a dependence of libdispatch). This idea failed =/.

Second idea: compile libevent version of forked-daapd. Here I used the squeeze-backports version of forked-daapd (http://packages.debian.org/squeeze-back ... rked-daapd) because uses the libevent. The problem with this is that wheezy has libevent 2.0 version, and again, for some reason forked-daapd doesn't work propertly (I can see the device in iTunes, but it's always retrieving the list of songs). So, this didn't work.

The third idea was use squeeze version of libevent and squeeze-backports version of forked-daapd. And it works :)

If you have any question, please post it in this thread.
Have a nice day ;)

salomaaj
Posts: 2
Joined: Sat Sep 22, 2012 3:21 pm

Re: forked-daapd for Raspbian (armhf)

Sat Sep 22, 2012 3:42 pm

Thanks diegocaro for this! I only had trouble pairing iOS devices with the system, but the issue turned out to be the fact that I created the .remote files before starting the service.

oraguirre
Posts: 3
Joined: Sun Sep 23, 2012 12:46 pm

Re: forked-daapd for Raspbian (armhf)

Sun Sep 23, 2012 12:49 pm

Hi diegocaro

It seems that the links to get the files are broken. Any ideas of alternative ones!

Thanks! ;)


oraguirre
Posts: 3
Joined: Sun Sep 23, 2012 12:46 pm

Re: forked-daapd for Raspbian (armhf)

Mon Sep 24, 2012 2:13 pm

Thanks my friend! :D

supermario87
Posts: 3
Joined: Thu Sep 27, 2012 8:19 pm

Re: forked-daapd for Raspbian (armhf)

Sat Sep 29, 2012 2:16 pm

Hi, thanks for your packages! I installed and configured forked-daapd, he starts and does not produce any waring or error, but in my itunes 10.7 i can't se any library

c5005099
Posts: 1
Joined: Tue Nov 27, 2012 2:05 am
Location: Hong Kong

Re: forked-daapd for Raspbian (armhf)

Tue Dec 04, 2012 3:15 am

Thanks a lot! Your binary really helpful. :D
Would you mind to help make a new build for fixing iTunes 11 and Remote 3.0 issue. I found Treus proposed fix on it. https://github.com/treus/forked-daapd

Many thanks~~ :D

Nevman
Posts: 3
Joined: Mon Dec 10, 2012 1:49 am

Re: forked-daapd for Raspbian (armhf)

Mon Dec 10, 2012 1:52 am

Many thanks.

Nevman
Posts: 3
Joined: Mon Dec 10, 2012 1:49 am

Re: forked-daapd for Raspbian (armhf)

Fri Jan 04, 2013 3:14 am

diegocaro - Can I ask how you got forked-daapd to compile? Did you use cross-tools? I am having issues with clang.
Again thanks for the original compile, it works really well butr now I'm trying to get the fix to compile.

chrisk
Posts: 3
Joined: Mon Jan 14, 2013 7:36 am

Re: forked-daapd for Raspbian (armhf)

Mon Jan 14, 2013 7:40 am

Any solutions to that problem yet?
Sharing is working fine for me, the remote app does get errors.
I would be very interested in a fix or instructions to compile...

Wonderjacky
Posts: 3
Joined: Wed Jan 16, 2013 11:09 pm

Re: forked-daapd for Raspbian (armhf)

Wed Jan 16, 2013 11:17 pm

Hello,

What kind of problem do you have with the remote 3.0?
I'm using it to play music on an AirPlay output and it is working fine.

The only problem I have on the remote is the sorting of the artists.
The artists are not sorted correctly, it is a complete mess. The albums are OK.

Does someone have the same issue?
Could you help me on that matter?

Thanks,
François

chrisk
Posts: 3
Joined: Mon Jan 14, 2013 7:36 am

Re: forked-daapd for Raspbian (armhf)

Thu Jan 17, 2013 7:06 am

Hi Francois,

the problem is that, apparently, Apple changed the structure of the DAAP query.
In the forked-daapd.log the following entries appear when i try to remote-control my raspberry

Code: Select all

[2013-01-08 10:34:21]     daap: Invalid DAAP query
[2013-01-08 10:34:21]     daap: Ignoring improper DAAP query
[2013-01-08 10:34:28]     dacp: Could not find requested property 'dacp.fullscreenenabled'
[2013-01-08 10:34:28]     dacp: Could not find requested property 'dacp.fullscreen'
[2013-01-08 10:34:28]     dacp: Could not find requested property 'dacp.visualizerenabled'
[2013-01-08 10:34:28]     dacp: Could not find requested property 'dacp.visualizer'
[2013-01-08 10:34:28]     dacp: Could not find requested property 'com.apple.itunes.itms-songid'
[2013-01-08 10:34:28]     dacp: Could not find requested property 'com.apple.itunes.has-chapter-data'
[2013-01-08 10:34:28]     daap: DMAP field 'com.apple.itunes.extended' is not a valid field in queries
[2013-01-08 10:34:28]     daap: DMAP field 'com.apple.itunes.extended' is not a valid field in queries
The problem is known https://github.com/jasonmc/forked-daapd/issues/96
and there is a fix for that.
However, the whole thing needs to be compiled which seems to be a bit of a problem right now.

regards
chrisk

Wonderjacky
Posts: 3
Joined: Wed Jan 16, 2013 11:09 pm

Re: forked-daapd for Raspbian (armhf)

Thu Jan 17, 2013 9:18 am

Hi Chrisk,

I don't think that my problem is the same as yours.
In fact the "Artist-sorting-problem" was present before the new 3.0 remote.
Before the remote 3.0 were the artists well sorted on your remote?

François

chrisk
Posts: 3
Joined: Mon Jan 14, 2013 7:36 am

Re: forked-daapd for Raspbian (armhf)

Thu Jan 17, 2013 9:41 am

I started with version 3, so i don't know. :)

LarryL
Posts: 1
Joined: Sat Feb 02, 2013 3:26 pm

Re: forked-daapd for Raspbian (armhf)

Sat Feb 02, 2013 3:34 pm

Hey guys,

I have the same issue as Chris: RemoteApp v3 is not working, with the same errors recurring in the log.

Has anybody been able to compile the fixed version thats available on github (forked version by treus) yet? If so, a link to the deb files would be greatly appreciated!

Otherwise, I'm willing to try to compile this myself, but I don't really know what I would have to do (I'm a linux beginner). Advise here would also be greatly appreciated!

Thanks,

Larry

jcv
Posts: 1
Joined: Wed Feb 13, 2013 8:12 pm

Re: forked-daapd for Raspbian (armhf)

Wed Feb 13, 2013 8:13 pm

I'm also trying to build forked-daapd on rpi.
So far so good but the configure fails on lack of libdispatch :

checking dispatch/dispatch.h usability... no
checking dispatch/dispatch.h presence... no
checking for dispatch/dispatch.h... no
configure: error: dispatch/dispatch.h not found

And I really have no clue how to get it on the rasp....

delidave
Posts: 12
Joined: Wed Feb 20, 2013 7:20 pm

Re: forked-daapd for Raspbian (armhf)

Thu Feb 21, 2013 6:36 pm

Any updates on this yet. New to linux and rpi (windows/msdos user) and just trying to configure a media server. genereal pc skills high but not in coding/programming/compiling - although i am willing to learn. have installed squeezeplug and the forked-daapd version from there. setup directory etc, started. whilst indexing library could connect in itunes/ play etc. left overnight as lib is over 10000 songs. also set temp.remote file with my iphone device name 4 dig code. woke up this morning to find iphone sucessfully paired and library indexed (i assume as now cannot connect). itunes now does not load share, just locks and kicks me back to local library. remote allows me to play playlists already in library, even to atv3 through airplay but again kicks me out everytime i click on artists or search or albumns(loads albumns but then kicks me out when going into one). I take it this is under dev but unclear on history, have done loads of reading but still not sure. I assume apple screwed things up again once updating to itunes 11, remote 3. Also what are the chances of itunes running natively on pi using wine etc. as i said, no experience in unix/linux/osx style os's so sorry if sounding bit dumb. Any advise, help etc most appreciated. especially with dependencies and what they are used for.

User avatar
baal
Posts: 10
Joined: Sat Feb 09, 2013 4:37 pm
Location: Germany

Re: forked-daapd for Raspbian (armhf)

Sat Feb 23, 2013 1:17 pm

Hi folks,

I finally managed to build a forked-daapd version that will support Remote 3.0.
I just opend a new topic --> http://www.raspberrypi.org/phpBB3/viewt ... 91#p294791

Greets

plugwash
Forum Moderator
Forum Moderator
Posts: 3224
Joined: Wed Dec 28, 2011 11:45 pm

Re: forked-daapd for Raspbian (armhf)

Sun May 12, 2013 7:57 pm

Just to let you guys know that recently I was prompted by another forum post to took another look at libblocksruntime and libdispatch in raspbian and I managed to get them to build. As a result of this our autobuilders have built forked-daapd and put it in the repos. I've no idea if it actually works or not though.

troubadixx
Posts: 8
Joined: Thu Dec 08, 2011 4:02 pm

Re: forked-daapd for Raspbian (armhf)

Wed Jun 12, 2013 8:55 pm

Tried installation from the repos.
Installation runs through incl. all dependencies.
But

Code: Select all

sudo /etc/init.d/forked-daapd start
results in

Code: Select all

ERROR.


Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 23 guests