Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 50 12311 ... LastLast
Results 1 to 10 of 492
  1. #1
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,241

    announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)

    I'm starting a new thread for clarification as the repository are different and people might be confused if the original thread is being mixed with this version. So, based on disaster123's plugin I've done a port to Windows and added the following features.

    - Possibility to stream to synchronized players
    - Multiple streams at the same time from different Airtunes devices (to different SB obviously)
    - Better time progress consistency when using playlist
    - Built-in mDNS server to remove dependency from avahi and other mDNS servers (although they are tried before falling back to built-in version)
    - Artwork for LMS versions < 7.8
    - Does not conflict with my AirPlay bridge where "mirror" players would be create infinitely
    - No need to manually install anything (avahi, ssl, sdp ... all should be including if you use LMS 7.7.6 and above - i.e. Perl 5.14 or 5.20)

    Linux x86, x64, armv5hf and osx are there as well, but very lighty tested. All are named ShairTunes2W to avoid conflicting with original's version.

    To use native squeezelite devices before version 1.6 as well as my UPnP and Chromecast bridges, set "Allow all Squeezelite-based Players" in the plugin options

    You must allow the helper program through your firewall, especially on Windows. It's located in C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins\ShairTunes2W\Bin\shairport_helper-win.exe

    To install, you can add this repository to your "Plugins" page, or simply use the 3rd party main repository
    Code:
    development version: http://downloads.sourceforge.net/project/lms-shairtunes2/dev/repo-sf.xml
    stable version http://downloads.sourceforge.net/project/lms-plugins-philippe44/repo-sf.xml
    Last edited by philippe_44; 2017-03-11 at 17:45.
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express

  2. #2
    Senior Member
    Join Date
    Jun 2009
    Posts
    173

    firewall

    ok i see that you changed this to include the firewall access. i'll make that update when i get home to see if that solves my problem. thanks much.

  3. #3
    Senior Member
    Join Date
    Jun 2009
    Posts
    173

    still having error after firewall adjustment

    same problem. thanks for looking into this.

    [16-10-23 14:31:52.4677] Plugins::ShairTunes2W::Plugin::handleSocketConnect (331) New connection from: 192.168.0.122
    [16-10-23 14:31:53.6719] Plugins::ShairTunes2W::Plugin::conn_handle_request (674) DACP-ID: 54E0C654658A17B, Active Remote: 1083020004
    [16-10-23 14:31:53.8648] Plugins::ShairTunes2W::Plugin::conn_handle_request (769) launched decoder: Proc::Background=HASH(0xbf6c594) on ports: 6003/6004/6005/8000, http port: 57551
    [16-10-23 14:31:53.9399] Plugins::ShairTunes2W::Plugin::mDNSlistener (939) Found remote: 54E0C654658A17B, 192.168.0.122:56292
    [16-10-23 14:31:54.0975] Plugins::ShairTunes2W::Plugin::handleHelperOut (427) From helper: play
    [16-10-23 14:32:03.9803] Slim::Utils::Misc:athFromFileURL (219) Warning: Path isn't a file URL: airplay://192.168.0.100:8000/a856f6dabd0e36badad56a2b5fe5d50b_stream.wav
    [16-10-23 14:32:14.9302] Slim::Networking::Slimproto::client_readable (414) Client not found for slimproto msg op: STAT from 192.168.0.119
    [16-10-23 14:32:15.0471] Slim::Web::Cometd::handler (422) errorNeedsClient: 02:9f:b1:3a:2d:f8, status, -, 1, tags:JjaldBxKAc, subscribe:60
    [16-10-23 14:32:17.0281] Plugins::ShairTunes2W::Plugin:ublishPlayer (299) avahi-publish-player not in path
    [16-10-23 14:32:17.0621] Plugins::ShairTunes2W::Plugin:ublishPlayer (307) dns-sd not in path
    [16-10-23 14:32:17.0967] Plugins::ShairTunes2W::Plugin:ublishPlayer (315) mDNSPublish not in path
    [16-10-23 14:32:17.0969] Plugins::ShairTunes2W::Plugin:ublishPlayer (317) using built-in helper: C:\PROGRA~3\SQUEEZ~1\Cache\INSTAL~1\Plugins\SHAIRT ~1\Bin\SHAIRP~1.EXE
    [16-10-23 14:32:17.1035] Plugins::ShairTunes2W::Plugin:layerSubscriptionChange (210) create client Slim::Player::SqueezePlay=ARRAY(0xdc5b294) with proc Proc::Background=HASH(0xdc4daa4)
    [16-10-23 14:32:23.9840] Slim::Utils::Misc:athFromFileURL (219) Warning: Path isn't a file URL: airplay://192.168.0.100:8000/a856f6dabd0e36badad56a2b5fe5d50b_stream.wav
    [16-10-23 14:32:43.9862] Slim::Utils::Misc:athFromFileURL (219) Warning: Path isn't a file URL: airplay://192.168.0.100:8000/a856f6dabd0e36badad56a2b5fe5d50b_stream.wav
    [16-10-23 14:33:03.9925] Slim::Utils::Misc:athFromFileURL (219) Warning: Path isn't a file URL: airplay://192.168.0.100:8000/a856f6dabd0e36badad56a2b5fe5d50b_stream.wav
    [16-10-23 14:33:08.9938] Plugins::ShairTunes2W::Plugin::cleanHelper (581) Decoder error: bye!
    [16-10-23 14:33:10.9463] Plugins::ShairTunes2W::Plugin::handleSocketRead (454) Closed: IO::Socket::INET=GLOB(0xbf5f99c)

  4. #4
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,241
    Quote Originally Posted by dhallag View Post
    same problem. thanks for looking into this.

    [16-10-23 14:31:52.4677] Plugins::ShairTunes2W::Plugin::handleSocketConnect (331) New connection from: 192.168.0.122
    [16-10-23 14:31:53.6719] Plugins::ShairTunes2W::Plugin::conn_handle_request (674) DACP-ID: 54E0C654658A17B, Active Remote: 1083020004
    [16-10-23 14:31:53.8648] Plugins::ShairTunes2W::Plugin::conn_handle_request (769) launched decoder: Proc::Background=HASH(0xbf6c594) on ports: 6003/6004/6005/8000, http port: 57551
    [16-10-23 14:31:53.9399] Plugins::ShairTunes2W::Plugin::mDNSlistener (939) Found remote: 54E0C654658A17B, 192.168.0.122:56292
    [16-10-23 14:31:54.0975] Plugins::ShairTunes2W::Plugin::handleHelperOut (427) From helper: play
    [16-10-23 14:32:03.9803] Slim::Utils::Misc:athFromFileURL (219) Warning: Path isn't a file URL: airplay://192.168.0.100:8000/a856f6dabd0e36badad56a2b5fe5d50b_stream.wav
    [16-10-23 14:32:14.9302] Slim::Networking::Slimproto::client_readable (414) Client not found for slimproto msg op: STAT from 192.168.0.119
    [16-10-23 14:32:15.0471] Slim::Web::Cometd::handler (422) errorNeedsClient: 02:9f:b1:3a:2d:f8, status, -, 1, tags:JjaldBxKAc, subscribe:60
    [16-10-23 14:32:17.0281] Plugins::ShairTunes2W::Plugin:ublishPlayer (299) avahi-publish-player not in path
    [16-10-23 14:32:17.0621] Plugins::ShairTunes2W::Plugin:ublishPlayer (307) dns-sd not in path
    [16-10-23 14:32:17.0967] Plugins::ShairTunes2W::Plugin:ublishPlayer (315) mDNSPublish not in path
    [16-10-23 14:32:17.0969] Plugins::ShairTunes2W::Plugin:ublishPlayer (317) using built-in helper: C:\PROGRA~3\SQUEEZ~1\Cache\INSTAL~1\Plugins\SHAIRT ~1\Bin\SHAIRP~1.EXE
    [16-10-23 14:32:17.1035] Plugins::ShairTunes2W::Plugin:layerSubscriptionChange (210) create client Slim::Player::SqueezePlay=ARRAY(0xdc5b294) with proc Proc::Background=HASH(0xdc4daa4)
    [16-10-23 14:32:23.9840] Slim::Utils::Misc:athFromFileURL (219) Warning: Path isn't a file URL: airplay://192.168.0.100:8000/a856f6dabd0e36badad56a2b5fe5d50b_stream.wav
    [16-10-23 14:32:43.9862] Slim::Utils::Misc:athFromFileURL (219) Warning: Path isn't a file URL: airplay://192.168.0.100:8000/a856f6dabd0e36badad56a2b5fe5d50b_stream.wav
    [16-10-23 14:33:03.9925] Slim::Utils::Misc:athFromFileURL (219) Warning: Path isn't a file URL: airplay://192.168.0.100:8000/a856f6dabd0e36badad56a2b5fe5d50b_stream.wav
    [16-10-23 14:33:08.9938] Plugins::ShairTunes2W::Plugin::cleanHelper (581) Decoder error: bye!
    [16-10-23 14:33:10.9463] Plugins::ShairTunes2W::Plugin::handleSocketRead (454) Closed: IO::Socket::INET=GLOB(0xbf5f99c)
    Are you sure you don't have both ShairTunes2 and ShairTunes2W installled together? It seems that the "protocolhandler" for airplay:// is not recognized
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express

  5. #5
    Senior Member
    Join Date
    Jun 2009
    Posts
    173
    Quote Originally Posted by philippe_44 View Post
    Are you sure you don't have both ShairTunes2 and ShairTunes2W installled together? It seems that the "protocolhandler" for airplay:// is not recognized
    Is there a way to check other than the plugin list within the server settings http? I just picked the one from the list, there was only one...

  6. #6
    Junior Member
    Join Date
    Apr 2015
    Posts
    12

    Avahi not announcing player

    Everything seems to be in order, No errors in the logs ShairTunes2W 0.36 Installed and no other versions of shairtunes are installed.

    The problem is that for some reason Avahi is not announcing squeezelite players

    user@server-name:~$ ps -ef|grep avahi
    avahi 2307 1 0 14:52 ? 00:00:00 avahi-daemon: running [server-name.local]
    avahi 2308 2307 0 14:52 ? 00:00:00 avahi-daemon: chroot helper
    ctrlable 5844 1890 0 15:44 pts/0 00:00:00 grep --color=auto avahi

    Settings inside the avahi conf (/etc/avahi/avahi-daemon.conf) are exactly as explained in the documentation. avahi does announce none squeezelite players (squeeze-slave and squeezePlay) but squeezelite for some reason are being ignored

    the original ShairTunes2 work as it should and is able to create all the avahi announcements.

    Wondering if there something else I can do to get Avahi to announce all the players?

    Oh almost forgot, This is on a Ubuntu 14.04 server
    Last edited by ronluna; 2016-10-25 at 13:57.

  7. #7
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,241
    Quote Originally Posted by ronluna View Post
    Everything seems to be in order, No errors in the logs ShairTunes2W 0.36 Installed and no other versions of shairtunes are installed.

    The problem is that for some reason Avahi is not announcing squeezelite players

    user@server-name:~$ ps -ef|grep avahi
    avahi 2307 1 0 14:52 ? 00:00:00 avahi-daemon: running [server-name.local]
    avahi 2308 2307 0 14:52 ? 00:00:00 avahi-daemon: chroot helper
    ctrlable 5844 1890 0 15:44 pts/0 00:00:00 grep --color=auto avahi

    Settings inside the avahi conf (/etc/avahi/avahi-daemon.conf) are exactly as explained in the documentation. avahi does announce none squeezelite players (squeeze-slave and squeezePlay) but squeezelite for some reason are being ignored

    the original ShairTunes2 work as it should and is able to create all the avahi announcements.

    Wondering if there something else I can do to get Avahi to announce all the players?

    Oh almost forgot, This is on a Ubuntu 14.04 server
    Yes, it's on purpose that squeezelite players, below version 1.8 are not announced by this new version
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express

  8. #8
    Junior Member
    Join Date
    Apr 2015
    Posts
    12
    Quote Originally Posted by ronluna View Post
    Everything seems to be in order, No errors in the logs ShairTunes2W 0.36 Installed and no other versions of shairtunes are installed.

    The problem is that for some reason Avahi is not announcing squeezelite players

    user@server-name:~$ ps -ef|grep avahi
    avahi 2307 1 0 14:52 ? 00:00:00 avahi-daemon: running [server-name.local]
    avahi 2308 2307 0 14:52 ? 00:00:00 avahi-daemon: chroot helper
    ctrlable 5844 1890 0 15:44 pts/0 00:00:00 grep --color=auto avahi

    Settings inside the avahi conf (/etc/avahi/avahi-daemon.conf) are exactly as explained in the documentation. avahi does announce none squeezelite players (squeeze-slave and squeezePlay) but squeezelite for some reason are being ignored

    the original ShairTunes2 work as it should and is able to create all the avahi announcements.

    Wondering if there something else I can do to get Avahi to announce all the players?

    Oh almost forgot, This is on a Ubuntu 14.04 server
    I was using squeezelite 1.7, after recompiling squeezelite 1.8 the plugin was able to get avahi to start announcing the players.

  9. #9
    Senior Member
    Join Date
    Jun 2009
    Posts
    173
    Quote Originally Posted by philippe_44 View Post
    Are you sure you don't have both ShairTunes2 and ShairTunes2W installled together? It seems that the "protocolhandler" for airplay:// is not recognized
    any other ideas for troubleshooting?

    thanks much

  10. #10
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,241
    Quote Originally Posted by dhallag View Post
    any other ideas for troubleshooting?

    thanks much
    I don't know, I'm sorry. Normally, the plugin registers a protocol handler named "airplay". When LMS receives a request to read an URL starting with by airplay://, it calls some of the plugin functions that will provide it the audio data. This is the way LMS can be extended to read new protocol/streams (qobuz, spotify, youtube ...). In your case and for a reason I don't know, LMS does not seem to have registered "airplay" as a protocol handler. Maybe you can post the log of the server when it starts and/or seek for somebody that has more expertise on LMS core
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •