IanDury wrote: 
> Next to SoA I also wanted to be able to stream audio through Airplay on
> the same audio device. For Arch Linux there is a package called
> shairport-git that makes this possible. This works fine however
> Squeezelite and Shairport have a conflict using the same audio device so
> you need to stop one to be able to use the other. Not very handy so I
> had a look at the ShairTunes Plugin and got this up and running with the
> SoA bundled LMS 7.8 on Arch Linux. This works pretty well.
> 
> The steps are described here:
> https://github.com/StuartUSA/shairport_plugin but need translation from
> Debian to Arch Linux package installation and names. Currently I use a
> SABRE Lite board but this weekend I plan to install the same setup on a
> Wandboard and will write down the steps to install ShairTunes on Arch
> Linux and post these here in case anybody is interested.

Below the steps to install ShairTunes on SoA.

Install some dependencies first:

Code:
--------------------
    pacman -S perl-crypt-openssl-rsa perl-io-socket-inet6 perl-libwww 
perl-io-socket-ssl avahi
  wget https://aur.archlinux.org/packages/pe/perl-net-sdp/perl-net-sdp.tar.gz
  tar xzf perl-net-sdp.tar.gz
  cd perl-net-sdp
  makepkg --asroot -s -i
--------------------


Add the following repo at the bottom of the LMS settings plugin page:

http://raw.github.com/StuartUSA/shairport_plugin/master/public.xml

Next install the plugin and enable as per usual.

Compile the helper app:

Code:
--------------------
    pacman -S --needed base-devel libao pkgconfig
  cd 
/opt/logitechmediaserver/cache/InstalledPlugins/Plugins/ShairTunes/shairport_helper/src
  make clean; make
  cp shairport_helper /usr/local/bin/
--------------------


Edit the file /etc/avahi/avahi-daemon.conf:

Code:
--------------------
    [server]
  use-ipv4=yes
  use-ipv6=no  #if you have ios7 devices change to yes
  
  [wide-area]
  enable-wide-area=yes
  
  [publish]
  publish-aaaa-on-ipv4=no
  publish-a-on-ipv6=no
  
  [reflector]
  
  [rlimits]
  rlimit-core=0
  rlimit-data=4194304
  rlimit-fsize=0
  rlimit-nofile=300
  rlimit-stack=4194304
  rlimit-nproc=3
  
--------------------


Then restart avahi-daemon and LMS to apply all settings:

Code:
--------------------
    systemctl enable avahi-daemon
  systemctl start avahi-daemon
  systemctl restart logitechmediaserver
--------------------


See
http://forums.slimdevices.com/showthread.php?100379-Announce-ShairTunes-Plugin


------------------------------------------------------------------------
IanDury's Profile: http://forums.slimdevices.com/member.php?userid=63494
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to