Giter Club home page Giter Club logo

shairport_plugin's Introduction

shairport_plugin

ShairPort Plugin for Squeezebox Server adds airTunes support for each Squeezebox server client.

To install the plugin first install the dependancies:

> apt-get install libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils libio-socket-ssl-perl
> wget http://www.inf.udec.cl/~diegocaro/rpi/libnet-sdp-perl_0.07-1_all.deb
> dpkg -i libnet-sdp-perl_0.07-1_all.deb

Now open the LMS GUI; click on Settings, then select the Plugins tab, at the bottom of the page add the repo:

https://raw.githubusercontent.com/StuartUSA/shairport_plugin/master/public.xml

Next install the plugin and enable as per usual.

Once installed the helper app needs to be compiled and/or installed into the systems PATH. There are a number of pre-compiled binaries in the directory:

/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes/shairport_helper/pre-compiled

Copy the one for your system into the PATH, on a linux system you may copy it to:

/usr/loca/bin/shairport_helper - note the file needs to be renamed.

To compile the helper app, on Linux:

> apt-get install build-essential libssl-dev libcrypt-openssl-rsa-perl \
        libao-dev libio-socket-inet6-perl libwww-perl avahi-utils pkg-config
> cd /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes/shairport_helper/
> make
> cp shairport_helper /usr/local/bin

Lastly, ensure avahi-daemon is configured correctly. edit the file /etc/avahi/avahi-daemon.conf:

[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.

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

shairport_plugin's People

Contributors

standarduser avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.