AirTunes - forked-daapd and Airport Express

One small issue one can run into after installing forked-daapd is that using the iPhone/iPad remote one cannot play any songs.

Looking in /var/opt/forked-daapd.log one will see something:

[2011-04-14 11:24:59] laudio: Could not open playback device: No such file or directory
[2011-04-14 11:24:59] player: Could not open local audio
[2011-04-14 11:24:59] dacp: Could not start playback


The reason for this issue is that the device one is trying to send the output to is not know to forked-daapd, or it is not selected by default.

The way to solve this is;

1) install sqlite3 tools
2) use bonjour browser, find the id of the device which will be in HEX, then use the Calculator to convert it into binary.
3) stop forked-daapd (/etc/init.d/forked-daapd stop)
4) open the database with sqlite3:
# sqlite3 /var/cache/forked-daapd/songs3.db
sqlite> insert into speakers (, 1, 100);
sqlite> update speakers
... set selected = 0
... where id = 0;
.exit
5) start forked-daapd (/etc/init.d/forked-daapd start)

And now in Remote it should be possible to play songs.

Comments

demck85 said…
Where else could on find the device ID from?
casper said…
As far as I remember it will automatically get in there if you try to choose a different set of speakers through the iPhone Remote.

Also as far as I remember the device ID is a decimal representation of the network mac address.
la_tristesse said…
Could you explain the steps more deepfully. I'm running Snow Leopard (10.6.7) and a plug pc with debian squeeze. I dont get how to find the id and convert them. Is there a similiar tool under Mac OS X? Would appreciate your help.
hk said…
Could you please give an example of
a) what such an ID might look like in the Bonjour browser (screenshot?)
b) how to convert it to binary

I have everything else set up but I am stuck at exactly this point :(

Thanks.
hk said…
Could you please give an example of
a) what such an ID might look like in the Bonjour browser (screenshot?)
b) how to convert it to binary

I have everything else set up but I am stuck at exactly this point :(

Thank you very much!
casper said…
Sorry, don't have time to figure out what I actually did to get the Airport Express into the database.

Follow the documentation (README) for forked-daapd, and search on the internet.

Popular posts from this blog

Apple IOS cannot download song

Kviknet and IPv6

Apple AirPort Express and Digital Jitter..