Just got my player 100% functional with a DAC that provides optical out to my receiver. My raspberry pi runs squeezelite, which streams FLAC from attached NAS and Logitech Media Server. I also installed shairport, which makes the pi an AirPlay receiver-now all iOS devices can stream music directly to it.
I wrote a few deamon scripts that startup squeezelite and shairport on startup, so the entire thing is headless and is controlled from the squeezeplayer iOS app.
I'm planning on putting it in a case with a switching power suppy to make it really pro-looking.
Date
Votes
9 comments
-
HiFiBerry team Hi Pete,
we heard of other people that want to run SqueezeLite and shairport in parallel. Can you post your configuration and scripts?
We are also interested in pictures when everything is finished.
Best regards
Daniel -
pete Here's a link to the two daemon scripts I created to startup shairport (AirPlay receiver) and Squeezelite: https://github.com/hagemeyp/highfiberry
Each script has instructions embedded in it, and will require you to create a user/group for it to run as. Ex for "sharport"
# To use this script, you must create a shairport user in the audio group:
# sudo useradd -g audio shairport
# copy file to /etc/init.d/shareport
# sudo chmod a+x shareport
# sudo update-rc.d shareport default
check out this site for a hoot on installing sharper: http://raspberrypihq.com/how-to-turn-your-raspberry-pi-into-a-airplay-receiver-to-stream-music-from-your-iphone/
If anyone is interested, I can also post a SD card image with my entire system. -
nicofisch I use squeezelite for a year , but I 've never been able to use Shairport and Squeelite together.
I 'm not very familiar with linux code, it is possible to have the SD card image, please ?
Thank you . -
pete yes- I will post the SD card image tomorrow! -
pete OK, SD card image posted to https://github.com/hagemeyp/highfiberry file is "SqueezeliteShairport01152015.dmg.zip".
After booting the pi and logging in, you will want to edit /etc/init.d/squeezelite and edit SB_SERVER_IP. My LMS has a static IP address so I set it there. You may also want to change the squeezebox name etc. -
nicofisch Thank you for posting the sd card image, I 'll test tonight. -
HiFiBerry team Hi Pete,
it looks like the image you posted contains only the boot partition, but not the root file system.
Can you dump the whole SD card:
diskutil list (find the right disk number)
sudo dd if=/dev/diskX of=sdcard.img bs=1m
Best regards
Daniel -
Marc Honshoven Hi,
Same here, I was not aible to run SL and SP at the same time with the AMP board on my Pi.
Without AMP it works perfect, SL and SP are able to send audio at the same time.
Internet radio from SL and mp3 music from my iTunes lib are mixed together and are comming out of speakers without any issue.
However, using AMP board on my Pi, I receive error mss once I try to play music from itunes.
FATAL Alsa initialization failed : unable to open pcm device : device or resource busy.
Thanks for your help.
Br,
Marc -
HiFiBerry team Hi Marc,
you can only use one program at the same time. If you want to mix different sources, you need to look into Pulseaudio to create a virtual sound card. Otherwise just switch between the different programs.
Best regards
Daniel
Please sign in to leave a comment.