I just wanted to share how I got it more or less working on my mac
(10.11.2) with a recent nightly of LMS 7.8.1.

According to the shairtunes2 github page you need to install 3 CPAN
modules first (Crypt::OpenSSL::RSA, IO::Socket::INET6 and Net::SDP). I'm
not sure but it seemed as if - in the end - only the last one (sdp) was
missing on my mac.
Make sure you have the OSX Command Line Tools installed. In case you
haven't, just open the Terminal and type *make* and you will be prompted
to install them. You don't need XCode, only the Command Line Tools.
After that go to the System Settings (Users & Groups) and temporarily
'upgrade' your current user to admin status by checking the
corresponding box. This will allow your current user to use the sudo
command. Also some installtion folders will be installed in your user
account (easier to clean up later).

Then in Terminal type:

Code:
--------------------
    sudo /usr/bin/perl -MCPAN -e'install Crypt::OpenSSL::RSA'
--------------------


If you haven't used CPAN before, you will have to configure it first.
It's easy: just accept the chosen default option with enter. Once
finished, it will give you about 4 lines with PATHs. Since you only need
them for this session, just copy each line, paste it and hit enter. So
the PATHs for CPAN/perl are all set for this session. Then go and type
those three commands, one by one:


Code:
--------------------
    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'
--------------------


Don't forget to demote your user to a normal user if it wasn't admin
before.
Now all you have to do is enter the shairtunes2 repositiory URL on the
plugin page of the LMS settings (at the bottom), install shairtunes2 and
restart LMS or your mac.
My OSX firewall is enabled, set to "Automatically allow signed software
to receive incoming connections".
But once you try to use Airplay with shairtunes2, it will ask you once
to allow incoming connections to "shairport_helper-i386-osx".

If you want to get rid of the Command Line Tools and some stuff from the
installation process, I found you can delete these folders without
problems (if you don't use XCode or Command Line Tools for other
purposes):

/Library/Developer

in your user's *home* folder:
.cpan
perl5

You can find the installed executable *sdp2rat* in /usr/local/bin.

It works more or less for me (haven't tried to stream audio for longer
than 10 minutes yet). The only drawback is that it takes about 5 tries
before it works and the stream is going. If I start a song on my ipad
and choose a Squeezebox Boom as an airplay outlet, airplay will revert
back to the ipad as the player before the Squeezebox is finally accepted
and play the stream. But hey, that's quite OK as long as it works in the
end.

I hope I haven't bored you with all those details but whenever I come
across instructions on the internet I find more details better than too
few.


------------------------------------------------------------------------
afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=103783

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

Reply via email to