GithubHelp home page GithubHelp logo

luzzatolab / shairport2_plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from disaster123/shairport2_plugin

0.0 2.0 0.0 22.22 MB

ShairPort Plugin for Squeezebox Server

Shell 0.22% Perl 33.45% Makefile 0.08% C 66.25%

shairport2_plugin's Introduction

shairport2_plugin

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

To install the plugin first - then install the dependancies:

Linux:

> 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

OSX:

> sudo /usr/bin/perl -MCPAN -e'install Crypt::OpenSSL::RSA'
> sudo /usr/bin/perl -MCPAN -e'install IO::Socket::INET6'
> sudo /usr/bin/perl -MCPAN -e'install Net::SDP'

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

http://raw.github.com/luzzatolab/shairport2_plugin/master/public.xml

Next install the plugin and enable as usual.

This version does not need a helper app in the global fs. It automatically detects the os and uses the local helper.

Ensure avahi-daemon is configured correctly. edit the file /etc/avahi/avahi-daemon.conf:

[server]
use-ipv4=yes
use-ipv6=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.

== THANKS ==

DMSTK - for doing the intial work and starting this great project stuartUSA - for bringing it to the masses chincheta0815 - for the OS autodetect and base work on metadata/covers

== Additional Notes ==

This version has been midified from the Disaster123 version to allow synching of video and audio when using airplay. As such the START_FILL variable in hairtunes.c was changed to 205 (instead of 64). For quick testing, the executable shairtunes_helper from the src folder can be copied to cp shairport_helper /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/helperBinaries/shairport_helper-x64-linux after compiles (executable destination name will be different based on sys type)

shairport2_plugin's People

Contributors

stuartusa avatar disaster123 avatar chluz avatar chincheta0815 avatar adamcohenrose avatar eriwst avatar

Watchers

James Cloos avatar  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.