![]() Create a new configuration for WaveInput using ecasound, Backup the default 'arecord' configuration for WaveInputĬd /var/lib/squeezeboxserver/Plugins/WaveInput Sudo mv /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/WaveInput /var/lib/squeezeboxserver/Plugins/WaveInputġ1. Move the WaveInput plugin settings from the cache to a more permanent place Sudo ufw allow from any to any port 6000:6005 proto udpġ0. Sudo ufw allow from any to any port 5000:5005 proto tcp Adjust the firewall, forgive me I use ufw Sudo chmod 755 /var/lib/squeezeboxserver/airplay-fifo.rawĩ. Sudo chown squeezeboxserver /var/lib/squeezeboxserver/airplay-fifo.raw Make the pipe accessible by the squeezeboxserver user (which will run shairport and LMS) Sudo mkfifo /var/lib/squeezeboxserver/airplay-fifo.rawĨ. Create the pipe for shairport to pipe the music to WaveInput Change directory to the source code directoryħ. Sudo perl -MCPAN -e 'install IO::Socket::SSL'ģ. Sudo perl -MCPAN -e 'install IO::Socket::INET6' Sudo perl -MCPAN -e 'install HTTP::Message' Sudo perl -MCPAN -e 'install Crypt::OpenSSL::RSA' Install the additional required perl packages Install the prerequisites for Shairport and WaveInputĪpt-get install build-essential libssl-dev libcrypt-openssl-rsa-perl libao-dev libio-socket-inet6-perl libwww-perl avahi-utils pkg-config ecasoundĢ. I won't be setting up Avahi in this post.ġ. It was already configured on my server from a previous effort at setting up an Apple Time Machine server you can read about setting up Avahi here from post 6 onwards. Note Shairport requires that Bonjour / Avahi service that advertises the Airplay service to iTunes / the iOS device is already setup and configured on your Ubuntu server. I hope the above helps someone, it certainly helped me. > WaveInput plugin on the Logitech Media Server (running on Ubuntu) > PCM stream (my server was not powerful enough for real time FLAC / MP3 encoding) > ecasound on Ubuntu (to transcode the raw Airplay stream to compressed FLAC, MP3 or raw PCM) I'll discuss both methods here but will start with the raw pipe method since it is a lot easier to set up (although I am experiencing some performance issues with this approach on my Atom based server. The second uses a loopback device whereby shairport outputs audio to a loopback device which then feeds into the encoder for Logitech media server. The first relies upon piping the shairport stream to a raw data pipe which is then encoded to the Logitech Media server and There are two main methods for transferring the sound from shairport to the squeezebox: This article relies heavily upon the excellent work of Stuart Shelton and this post on the Logitech forums. I use it to introduce some LAME MP3 compression to the stream to help with my network bandwidth and to reduce playback stutter. Its use here is to transcode the raw stream from Airplay/Shairport into a format the Squeezebox can understand. There are version of Windows and Linux and the project can be found here Įcasound is a multitrack processing tool for playback, recording, format conversions, effects and mixing. WaveInput authored by BPA is a Logitech Squeezebox plugin that enables PC audio to be captured and played through a Squeezebox. It is a reverse engineer of the RAOP protocol and relies upon the ALAC decoder released by David Hammerton, which is reproduced within Shairport. It implements a server for the Apple RAOP protocol, it does not support AirPlay v2 (video and photo streaming). Shairport authored by James Laird in 2011 emulates an AirPort Express for the purpose of streaming music from iTunes and compatible iPods. This requires three key tools Shairport, WaveInput, ecasound and some patience. The concept is to stream music from iTunes or iOS devices > Ubuntu server > Squeezebox. This post focuses on playing music from iTunes or iOS devices to a Logitech Squeezebox using AirPlay. USE THE SHAIRTUNES2 PLUGIN AVAILABLE IN THE LOGITECHMEDIASERVER PLUGINS PAGE - FOR FIREWALL SETTINGS SEE HERE: Restarting.UPDATE 2017: THIS ARTICLE IS NOW OUT OF DATE. ![]() YAML::XS::LoadFile (48) Warning: Usage: YAML::XS::LibYAML::Load(yaml_sv) at /usr/share/squeezeboxserver/CPAN/YAML/XS.pm line 48. Status: Squeezebox Server läuft aktuell unter der ProzessID 8803īut when i klick on the „open“ Button, the server ist not rechable. It’s all „our of the box“ so there should be no problem. Just bought a Max2Play Package and tryed to get the LMS running.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |