Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2020-05-09 Thread philippe_44


pfm21 wrote: 
> I am sorry, perhaps there is no connection but I was trying to give as
> much information as possible. 
> 
> I have rebooted everything in the network multiple times.
> 
> Also, I notice that on the webpage that is the frontend for the LMS, the
> player shows the information from the Airplay source and behaves as if
> it is functioning properly. So it all seems to be working, except that
> no sound comes out. I have tried wav, flac and mp3 for the encoding
> without any sucess.
> 
> I set the log file to 'debug' and got this output:
> 
> [10:51:05.625255] main:274 client: 192.168.1.129, ipc port 49303
> [10:51:05.626535] rtp_request_timing:837 [0x7fd4b580]: timing
> request now:4192933402 (port: 61602)
> [10:51:05.626633] rtp_request_timing:837 [0x7fd4b580]: timing
> request now:4192933402 (port: 61602)
> [10:51:05.626669] rtp_request_timing:837 [0x7fd4b580]: timing
> request now:4192933402 (port: 61602)
> [10:51:05.719469] rtp_thread_func:818 [0x7fd4b580]: Timing
> references local:4192933402, remote:24af0af4 (delta:0, sum:0, adjust:0,
> gaps:0)
> [10:51:05.719744] rtp_thread_func:818 [0x7fd4b580]: Timing
> references local:4192933402, remote:24af8ae5 (delta:-1, sum:-1,
> adjust:0, gaps:0)
> [10:51:05.719822] rtp_thread_func:818 [0x7fd4b580]: Timing
> references local:4192933402, remote:24afa00d (delta:-1, sum:-2,
> adjust:0, gaps:0)
> [10:51:05.733237] hairtunes_record:504 [0x7fd4b580]: record 0 0
> [10:51:05.770165] hairtunes_flush:474 [0x7fd4b580]: FLUSH ignored as
> same as RECORD (3374 - 4212803831)
> [10:51:05.770211] hairtunes_flush:486 [0x7fd4b580]: flush 3374
> 4212803831
> 
> Thank you so much for your help.
> 
> Best, Paul

Try to synchronize 2 LMS players and send to one of them



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, GGMM E5

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2020-05-09 Thread pfm21


I am sorry, perhaps there is no connection but I was trying to give as
much information as possible. 

I have rebooted everything in the network multiple times.

Also, I notice that on the webpage that is the frontend for the LMS, the
player shows the information from the Airplay source and behaves as if
it is functioning properly. So it all seems to be working, except that
no sound comes out. I have tried wav, flac and mp3 for the encoding
without any sucess.

I set the log file to 'debug' and got this output:

[10:51:05.625255] main:274 client: 192.168.1.129, ipc port 49303
[10:51:05.626535] rtp_request_timing:837 [0x7fd4b580]: timing
request now:4192933402 (port: 61602)
[10:51:05.626633] rtp_request_timing:837 [0x7fd4b580]: timing
request now:4192933402 (port: 61602)
[10:51:05.626669] rtp_request_timing:837 [0x7fd4b580]: timing
request now:4192933402 (port: 61602)
[10:51:05.719469] rtp_thread_func:818 [0x7fd4b580]: Timing
references local:4192933402, remote:24af0af4 (delta:0, sum:0, adjust:0,
gaps:0)
[10:51:05.719744] rtp_thread_func:818 [0x7fd4b580]: Timing
references local:4192933402, remote:24af8ae5 (delta:-1, sum:-1,
adjust:0, gaps:0)
[10:51:05.719822] rtp_thread_func:818 [0x7fd4b580]: Timing
references local:4192933402, remote:24afa00d (delta:-1, sum:-2,
adjust:0, gaps:0)
[10:51:05.733237] hairtunes_record:504 [0x7fd4b580]: record 0 0
[10:51:05.770165] hairtunes_flush:474 [0x7fd4b580]: FLUSH ignored as
same as RECORD (3374 - 4212803831)
[10:51:05.770211] hairtunes_flush:486 [0x7fd4b580]: flush 3374
4212803831

Thank you so much for your help.

Best, Paul



pfm21's Profile: http://forums.slimdevices.com/member.php?userid=1915
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2020-05-07 Thread philippe_44


pfm21 wrote: 
> Hello,
> 
> My ShairTunes 2 plugin has been working for over a year since I first
> installed it. About 2 weeks ago, I installed the Airplay Bridge plugin
> because a device I bought had airplay and I wanted to use LMS to stream
> to it. Long story short, I ended up not liking the device and returned
> it, but somehow since I installed the Airplay Bridge plugin, ShariTunes
> 2 has stopped working.
> 
> I have tried everything, I have uninstalled Airplay Bridge; reinstalled
> LMS and finally even deleted LMS completely from the server and
> re-installed it. 
> 
> The behavior I am experiencing is the players are listed as airplay
> destinations on the menu in my iMac, for instance, however when I select
> one, no sound makes it to the speakers. Needless to say, the players
> work when fed from the LMS natively. 
> 
> I would really appreciate any advice on how to get this working again. I
> run an OS X environment with a combination of Raspberry Pi boxes running
> Pi Core Player as well as a Transporter and a Squeezebox.
> 
> Logitech Media Server Version: 8.0.0 - 1588799628 @ Wed May 6 23:46:11
> CEST 2020
> Hostname: mediaServer.local
> Server IP Address: 192.168.1.201
> Server HTTP Port Number: 9000
> Operating system: macOS 10.12.6 - EN - utf8
> Platform Architecture: x86_64
> Perl Version: 5.18.2 - darwin-thread-multi-2level
> Audio::Scan: 1.02
> IO::Socket::SSL: 1.966
> Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
> Total Players Recognized: 6  
> 
> Thanks!
> 
> Paul

I can't see a connection between the two. Have you rebooted everything
in your network that could act as a mDNS server/proxy?



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, GGMM E5

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2020-05-07 Thread pfm21


Hello,

My ShairTunes 2 plugin has been working for over a year since I first
installed it. About 2 weeks ago, I installed the Airplay Bridge plugin
because a device I bought had airplay and I wanted to use LMS to stream
to it. Long story short, I ended up not liking the device and returned
it, but somehow since I installed the Airplay Bridge plugin, ShariTunes
2 has stopped working.

I have tried everything, I have uninstalled Airplay Bridge; reinstalled
LMS and finally even deleted LMS completely from the server and
re-installed it. 

The behavior I am experiencing is the players are listed as airplay
destinations on the menu in my iMac, for instance, however when I select
one, no sound makes it to the speakers. Needless to say, the players
work when fed from the LMS natively. 

I would really appreciate any advice on how to get this working again. I
run an OS X environment with a combination of Raspberry Pi boxes running
Pi Core Player as well as a Transporter and a Squeezebox.

Logitech Media Server Version: 8.0.0 - 1588799628 @ Wed May 6 23:46:11
CEST 2020
Hostname: mediaServer.local
Server IP Address: 192.168.1.201
Server HTTP Port Number: 9000
Operating system: macOS 10.12.6 - EN - utf8
Platform Architecture: x86_64
Perl Version: 5.18.2 - darwin-thread-multi-2level
Audio::Scan: 1.02
IO::Socket::SSL: 1.966
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
Total Players Recognized: 6  

Thanks!

Paul



pfm21's Profile: http://forums.slimdevices.com/member.php?userid=1915
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2020-05-07 Thread pfm21x


Hello,

My ShairTunes 2 plugin has been working for over a year since I first
installed it. About 2 weeks ago, I installed the Airplay bridge because
a device I bought had airplay built in and I wanted to use LMS to stream
to it. Long story short, I ended up not liking the device and returned
it, but somehow since I installed it, ShariTunes 2 has stopped working.

I have tried everything, I have uninstalled Airplay Bridge; reinstalled
LMS and finally even deleted LMS completely from the server and
re-installed it. 

The behavior I am experiencing is the players are listed as airplay
destinations on the menu in my iMac, for instance, however when I select
one, no sound makes it to the speakers. Needless to say, the players
work when fed from the LMS natively. 

I would really appreciate any advice on how to get this working again. I
run an OS X environment with a combination of Raspberry Pi boxes running
Pi Core Player as well as a Transporter and a Squeezebox.

Logitech Media Server Version: 8.0.0 - 1588799628 @ Wed May 6 23:46:11
CEST 2020
Hostname: mediaServer.local
Server IP Address: 192.168.1.201
Server HTTP Port Number: 9000
Operating system: macOS 10.12.6 - EN - utf8
Platform Architecture: x86_64
Perl Version: 5.18.2 - darwin-thread-multi-2level
Audio::Scan: 1.02
IO::Socket::SSL: 1.966
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
Total Players Recognized: 6  

Thanks!

Paul



pfm21x's Profile: http://forums.slimdevices.com/member.php?userid=70171
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2017-07-31 Thread merlineng

Thanks - I'll take a look there.

T.



merlineng's Profile: http://forums.slimdevices.com/member.php?userid=67191
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2017-07-30 Thread philippe_44

merlineng wrote: 
> Hi - been looking for something that does this?
> 
> How does a 'layman' get this to work?

This thread is deprecated - please look here
http://forums.slimdevices.com/showthread.php?106289-announce-ShairTunes2W-Airtunes-on-LMS-(forked-version-with-Windows-support)



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

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2017-07-30 Thread merlineng

Hi - been looking for something that does this?

How does a 'layman' get this to work?



merlineng's Profile: http://forums.slimdevices.com/member.php?userid=67191
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-09-09 Thread Kim.T

Please look at the thread for the new version of ShairTunes located here
(where there is also a guide to OSX installation) :
http://forums.slimdevices.com/showthread.php?103783-Announce-ShairTunes2-plugin-Airtunes-on-your-LMS



MacMini running LMS 7.8 
Duet + 4 Squeezebox Radio's

Kim.T's Profile: http://forums.slimdevices.com/member.php?userid=15059
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-09-09 Thread nolan

This is a great plugin which I only recently discovered, it comes into
it's own with Apple music as I can set an album playing which I don't
have available locally on my LMS server.

One question I have, once I start a song playing on the iPhone then
select the airplay target I have to press play on the squeezebox before
it starts playing, is this normal? I can work around it with a playlist
on the iOS device but I wondered if there is a way around this.

This is with the latest iOS9 beta (13A4325c) and LMS 7.9.0 (1440648593).



nolan's Profile: http://forums.slimdevices.com/member.php?userid=7440
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-07-23 Thread TMAC

I am a newbie to the group so apologies for my simple question.

I am running LMS 7.8.1 with OS X Yosemite 10.4.4.  When I browse to
Advanced, Advanced Settings, Plugins, I do not see ShairTunes as an
available choice of plugins to install.  Further, I do not see it at
http://wiki.slimdevices.com/index.php/Squeezebox_Server_repositories. 
Is this because of the challenges of installing this on OS X it has not
been officially sanctioned or do I need to install a newer LMS to see
the plugin choice?  I read the informative entry
http://jslack.blogspot.jp/2014/08/airplay.html and also browsed to
https://github.com/disaster123/shairport2_plugin/blob/master/README.md
and realise that adding this plugin may be more than I am ready for at
this time.



TMAC's Profile: http://forums.slimdevices.com/member.php?userid=64601
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-07-09 Thread IanDury

Runs fine on my Wandboard with Arch Arm Linux (Squeeze on Arch) after
building the helper file shairport_helper-armv7l-linux-thread-multi and
extending Utils.pm to select this helper.
Big improvement compared to the orignal ShairTunes. Almost no
buffering/drop-out issues anymore which were the reason I never really
liked ShairTunes.

Many thanks!



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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-07-09 Thread yahmmu

lamp wrote: 
> Hi - I followed the steps here:
> http://jslack.blogspot.com/2014/08/airplay.html and
> https://github.com/disaster123/shairport2_plugin/blob/master/README.md
> to install the ShairTunes2 plugin (I did not install the helper as it is
> not needed per instructions, nor are avahi-daemon needed I mac I
> believe) on my Mac mini 2009 Core 2 Duo running Yosemite, and Logitech
> Media Server v7.9 (r1432891788). The Perl Version is 5.18.2 -
> darwin-thread-multi-2level
> 
> I got as far as having my Apple iDevices seeing my Logitech Players
> (Boom, Kitchen Radio, Touch) etc, but after clicking on them in the
> Airplay it immediately went back to other output etc iPhone. When I went
> to the Server Log it shows the platform is unsupported...
> 
> Is there anything I've done wrong?
> 
> Thanks in advance.
> > 
Code:

  >   > 
  > ….
  > [15-06-21 21:14:04.3346] Plugins::ShairTunes2::Plugin::conn_handle_request 
(447) I'm sorry your platform "darwin-thread-multi-2level" is unsupported or 
nobody has compiled a binary for it! Can't work.
  > ….
  > 

> > 

I got the same error on a year older mac mini running Snow Leopard.
Luckily it was just a tiny silly bug, the permissions of the bundled
32-bit helper were not right. 

Try this on the command line:


Code:

chmod a+x 
~/Library/Caches/Squeezebox/InstalledPlugins/Plugins/ShairTunes2/helperBinaries/shairport_helper-i386-osx



After successful fix the files should like this:


Code:

MiniSanne:~ sanne$ cd  
~/Library/Caches/Squeezebox/InstalledPlugins/Plugins/ShairTunes2/helperBinaries
  MiniSanne:helperBinaries sanne$ ls -l
  total 5248
  -rwxr-xr-x  1 sanne  staff   655440 30 Kes 20:31 
shairport_helper-arm-gnueabihf-multi-64int
  -rwxr-xr-x  1 sanne  staff   686192 30 Kes 20:31 shairport_helper-i386-linux
  -rwxr-xr-x  1 sanne  staff46488 30 Kes 20:31 shairport_helper-i386-osx
  -rwxr-xr-x  1 sanne  staff50800 17 Tou 18:44 
shairport_helper-i86pc-solaris
  -rwxr-xr-x  1 sanne  staff  1184464 30 Kes 22:36 shairport_helper-x64-linux
  -rwxr-xr-x  1 sanne  staff46652 22 Tou 21:38 shairport_helper-x64-osx
  



The "shairport_helper-i386-osx" file missed the x's originally.

Hope this fix works for you as well.



yahmmu's Profile: http://forums.slimdevices.com/member.php?userid=34492
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-07-01 Thread dborod

Hi,

I would also love to be able to make this work on my Mac server.



dborod's Profile: http://forums.slimdevices.com/member.php?userid=21049
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-21 Thread lamp

Hi - I followed the steps here:
http://jslack.blogspot.com/2014/08/airplay.html and
https://github.com/disaster123/shairport2_plugin/blob/master/README.md
to install the ShairTunes2 plugin (I did not install the helper as it is
not needed per instructions, nor are avahi-daemon needed I mac I
believe) on my Mac mini 2009 Core 2 Duo running Yosemite, and Logitech
Media Server v7.9 (r1432891788). The Perl Version is 5.18.2 -
darwin-thread-multi-2level

I got as far as having my Apple iDevices seeing my Logitech Players
(Boom, Kitchen Radio, Touch) etc, but after clicking on them in the
Airplay it immediately went back to other output etc iPhone. When I went
to the Server Log it shows the platform is unsupported...

Is there anything I've done wrong?

Thanks in advance.

[15-06-21 21:13:14.8557] Plugins::ShairTunes2::Plugin::initPlugin (91)
Initialising 0.16 on darwin-thread-multi-2level
[15-06-21 21:13:15.4767] Plugins::ShairTunes2::Plugin::publishPlayer
(221) start avahi-publish-service "Kitchen"
[15-06-21 21:13:15.4779] Plugins::ShairTunes2::Plugin::publishPlayer
(233) start avahi-publish-service failed
[15-06-21 21:13:15.4782] Plugins::ShairTunes2::Plugin::publishPlayer
(236) start dns-sd "Kitchen"
[15-06-21 21:13:16.9843] Plugins::ShairTunes2::Plugin::publishPlayer
(221) start avahi-publish-service "Boom"
[15-06-21 21:13:16.9859] Plugins::ShairTunes2::Plugin::publishPlayer
(233) start avahi-publish-service failed
[15-06-21 21:13:16.9863] Plugins::ShairTunes2::Plugin::publishPlayer
(236) start dns-sd "Boom"
[15-06-21 21:13:17.2087] Plugins::ShairTunes2::Plugin::publishPlayer
(221) start avahi-publish-service "Touch"
[15-06-21 21:13:17.2106] Plugins::ShairTunes2::Plugin::publishPlayer
(233) start avahi-publish-service failed
[15-06-21 21:13:17.2109] Plugins::ShairTunes2::Plugin::publishPlayer
(236) start dns-sd "Touch"
[15-06-21 21:14:04.2827]
Plugins::ShairTunes2::Plugin::handleSocketConnect (277) New connection
from fe80::4c9:dbe5:e39d:f0fb
[15-06-21 21:14:04.3346]
Plugins::ShairTunes2::Plugin::conn_handle_request (447) I'm sorry your
platform "darwin-thread-multi-2level" is unsupported or nobody has
compiled a binary for it! Can't work.



lamp's Profile: http://forums.slimdevices.com/member.php?userid=19916
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-21 Thread chincheta0815

> 
> Hi
> 
> could you please post to
> http://forums.slimdevices.com/showth...60#post820560?
> 
> But to answer your questions. Currently i've no idea. But some
> questions:
> 1.) Does it occur only once or every X minutes?
> 2.) Did you recompile with my code?
> 3.) Does it happen with the old code? 

Hi disaster123,

I took the post from the other thread over to this part

Well the timeout in the music playing occurs every X time units. Usually
after roughly a minute.
I did recompile with your code. No compiler errors.
It also does happen with the old code.

I always was thinking it has something to do with the the LMS/Perl part,
but now it seems to me that there is a bug in the helper binary.
It seems that there is an buffer overflow...

This is hard to debug since I cannot connect the event of no sound with
the log file entry exactly... (Small time diffs between the screen
display and the sound system.)



chincheta0815's Profile: http://forums.slimdevices.com/member.php?userid=42904
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-17 Thread unregistered

unregistered wrote: 
> I see the helper is there, but the instructions (apt-get, etc) for
> install aren't OS X. 
> 
> What steps do I need to take?  Or am I just missing something obvious?

Anybody?



unregistered's Profile: http://forums.slimdevices.com/member.php?userid=17969
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-14 Thread unregistered

I see the helper is there, but the instructions (apt-get, etc) for
install aren't OS X. 

What steps do I need to take?  Or am I just missing something obvious?



unregistered's Profile: http://forums.slimdevices.com/member.php?userid=17969
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-08 Thread disaster123

Thanks!

New Thread online:
http://forums.slimdevices.com/showthread.php?103783-Announce-ShairTunes2-plugin-Airtunes-on-your-LMS

epoch1970 wrote: 
> With v0.15 (and probably previous versions), avahi published records are
> not properly purged on my machine. I found this with logging set to
> info:> 
Code:

  >   > [15-06-08 15:48:15.5554] 
Plugins::ShairTunes2::Plugin::revoke_publishPlayer (202) Send TERM sig to old 
publish player services. pids: 14579, 14575, 14562, 14547
  > [15-06-08 15:48:15.5567] Slim::Utils::Misc::msg (1343) Warning: 
[15:48:15.5560] Argument "-TERM" isn't numeric in kill at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm 
line 203.

> > 
> Indeed, I checked one of those procs and it survives LMS restarts. 
> 
> Linux montreux 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC 2014
> x86_64 GNU/Linux
> Logitech Media Server (v7.9.0, 1417184790, Sat Nov 29 04:06:35 UTC
> 2014) perl 5.010001

Thanks that part of code only works in perl 5.18 or higher. I'll fix the
code in v0.16 to work also with older versions.

epoch1970 wrote: 
> It's been almost a decade and I am still waiting for the minimal doc on
> how to write a Slim::Plugin :)
> But anyways since no-one in the know responded to your question I hacked
> my way around in Shairtunes2/Plugin.pm. On v0.15, starting at line 555,
> I ran this code:> 
Code:

  >   >$airTunesMetaData{album}  = $dmapData{album};
  > $airTunesMetaData{title}  = $dmapData{title};
  > 
  > $log->debug( "DMAP DATA found. Length: " . length( $req->content ) . " " . 
Dumper( \%dmapData ) );
  > my $type = 
Slim::Utils::Unicode::encodingFromString($airTunesMetaData{title});
  > $log->info("Type is $type");
  > $airTunesMetaData{title} = 
Slim::Utils::Unicode::utf8decode_locale($airTunesMetaData{title});
  > $type = Slim::Utils::Unicode::encodingFromString($airTunesMetaData{title});
  > $log->info("Post-type is $type");
  > my $hashkey   = Plugins::ShairTunes2::Utils::imagekeyfrommeta( 
\%airTunesMetaData );
  > my $imagefilepath = File::Spec->catdir( $cachedir, 'shairtunes', $hashkey . 
"_cover.jpg" );

> > 
> I started w/ type detection, and the log reported either "ascii" or
> "utf8" on the title, according to the presence of high-bit characters
> or not.
> So I added at random a call to utf8decode_locale, and now the log
> reports utf8 systematically.
> 
> The unexpected bonus is that the title now displays correctly on my
> SB3, and in the standard web view (on mac OSX/Safari). You see here
> the song title correctly interpreted "Cherchez le Garçon (Solitaire)"
> and the album name still garbled "Cherchez le garçon".
> 
> I don't know about you (and other users) but for my part I am ready to
> patch the lot with this seemingly unwarranted call to
> utf8decode_locale ;)
> 
> EDIT. This is my locale settings on the machine > 
Code:

  >   > root@montreux:~# su squeezeboxserver -s /bin/bash -c "echo : $LANG : 
$LANGUAGE : $LC_all :"
  > : en_US.UTF-8 : en_US:en : :
  > root@montreux:~# 

> > 

Thanks for testing - i didn't used your code but it pointed me into the
right direction. Will be fixed in V0.16.


Further discussion and v0.16 in the new thread.



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-08 Thread epoch1970

disaster123 wrote: 
> Oh i have that one too. Sadly nobody replied to me which encoding LMS
> wants, See:
> http://forums.slimdevices.com/showthread.php?103696-Encoding-for-getMetadataFor
> 
> I don't know if i have to send the Perl Bytestream, UTF8 or a local
> encoding of the system...
It's been almost a decade and I am still waiting for the minimal doc on
how to write a Slim::Plugin :)
But anyways since no-one in the know responded to your question I hacked
my way around in Shairtunes2/Plugin.pm. On v0.15, starting at line 555,
I ran this code:
Code:

   $airTunesMetaData{album}  = $dmapData{album};
  $airTunesMetaData{title}  = $dmapData{title};
  
  $log->debug( "DMAP DATA found. Length: " . length( $req->content ) . " " . 
Dumper( \%dmapData ) );
  my $type = Slim::Utils::Unicode::encodingFromString($airTunesMetaData{title});
  $log->info("Type is $type");
  $airTunesMetaData{title} = 
Slim::Utils::Unicode::utf8decode_locale($airTunesMetaData{title});
  $type = Slim::Utils::Unicode::encodingFromString($airTunesMetaData{title});
  $log->info("Post-type is $type");
  my $hashkey   = Plugins::ShairTunes2::Utils::imagekeyfrommeta( 
\%airTunesMetaData );
  my $imagefilepath = File::Spec->catdir( $cachedir, 'shairtunes', $hashkey . 
"_cover.jpg" );


I started w/ type detection, and the log reported either "ascii" or
"utf8" on the title, according to the presence of high-bit characters or
not.
So I added at random a call to utf8decode_locale, and now the log
reports utf8 systematically.

The unexpected bonus is that the title now displays correctly on my SB3,
and in the standard web view (on mac OSX/Safari). You see here the song
title correctly interpreted "Cherchez le Garçon (Solitaire)" and the
album title still garbled "Cherchez le Garçon".
18239
I don't know about you (and other users) but for my part I am ready to
patch the lot with this seemingly unwarranted utf8decode_locale ;)



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-08 Thread epoch1970

With v0.15 (and probably previous versions), avahi published records are
not properly purged on my machine. I found this with logging set to
info:
Code:

[15-06-08 15:48:15.5554] Plugins::ShairTunes2::Plugin::revoke_publishPlayer 
(202) Send TERM sig to old publish player services. pids: 14579, 14575, 14562, 
14547
  [15-06-08 15:48:15.5567] Slim::Utils::Misc::msg (1343) Warning: 
[15:48:15.5560] Argument "-TERM" isn't numeric in kill at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm 
line 203.


Indeed, I checked one of those procs and it survives LMS restarts. 

Linux montreux 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC 2014 x86_64
GNU/Linux
Logitech Media Server Version: 7.9.0 - 1417184790 @ Sat Nov 29 04:06:35
UTC 2014



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-08 Thread epoch1970

Capt.insano wrote: 
> The announcement is lost in the middle of this thread and the changelog
> is scattered across many posts, it would be brilliant for users if a new
> thread for ShairTunes2 was created so people can see the brilliant
> improvements you have been making and follow along with future changes!!
Agreed.
The repo URL is lost in the middle of the thread, that's really not
ideal...



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-08 Thread Capt.insano

@disaster123

Any chance you could create a new thread for this? I stumbled in here by
accident to report an issue with the original ShairTunes plugin to find
out that I had been missing your new plugin goodness all this time
(v0.15 works flawlessly here, was really impressed having album art and
track info)!!

The announcement is lost in the middle of this thread and the changelog
is scattered across many posts, it would be brilliant for users if a new
thread for ShairTunes2 was created so people can see the brilliant
improvements you have been making and follow along with future
changes!!

regards,

The Capt.



Capt.insano's Profile: http://forums.slimdevices.com/member.php?userid=62111
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-07 Thread disaster123

epoch1970 wrote: 
> Thanks, disaster123,
> v0.15 works fine for me (Linux montreux 2.6.32-5-amd64 #1 SMP Tue May 13
> 16:34:35 UTC 2014 x86_64 GNU/Linux | Logitech Media Server Version:
> 7.9.0 - 1417184790)
> 
> (The UTF-8 encoding issue is still there for me; nobody else reported
> this?)

Oh i have that one too. Sadly nobody replied to me which encoding LMS
wants, See:
http://forums.slimdevices.com/showthread.php?103696-Encoding-for-getMetadataFor

I don't know if i have to send the Perl Bytestream, UTF8 or a local
encoding of the system...



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-07 Thread epoch1970

disaster123 wrote: 
> v0.15 is online.
Thanks, disaster123,
v0.15 works fine for me (Linux montreux 2.6.32-5-amd64 #1 SMP Tue May 13
16:34:35 UTC 2014 x86_64 GNU/Linux | Logitech Media Server Version:
7.9.0 - 1417184790)

(The UTF-8 encoding issue is still there for me; nobody else reported
this?)



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-07 Thread disaster123

v0.15 is online.

Changes:
- really works on lms < 7.8
- added v0.1 binary for arm - lower cpu usage - better buffer handling
- support for 32bit osx



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-07 Thread disaster123

jollybully wrote: 
> Hey, do you have any pointers or tips on how to get started compiling
> ShairTunes for BSD? Any guidance would be much appreciated. Thanks.

i think it should compile fine. Just run make inside the src directory.
Source:
https://github.com/disaster123/shairport2_plugin/tree/master/shairport_helper/src

strim wrote: 
> Thanks disaster123 for your good work
> Since v0.14 i see this in my Synology DS213 with the new LMS repack
> installed.
> Have Perl installed also, early versions gave a timeout..
> 
> What is wrong ? Plugin will not load..
> 
> 18201

I'm sure this is due to a mistake of loading a lms 7.8 lib even when you
run an older version. Will be fixed in v0.15today.

gyre wrote: 
> I've just added the plugin repository to lms 7.7.5.  I attempted to add
> shairtunes2 v0.14 and got the errors below.  I can't find ImageProxy.pm
> anywhere on the system.
> 
> ...

I'm sure this is due to a mistake of loading a lms 7.8 lib even when you
run an older version. Will be fixed in v0.15today.


djsecrist wrote: 
> I am running my Squeezebox Server software on an old Mac Mini (2,1)
> running Snow Leopard (OSX 10.6.8), and it doesn't like the precompiled
> helper binaries in ShairTunes2.  I was able to get it to work on my
> system by compiling my own version of the helper for x86 (I will try to
> attach) and making the following changes in the Utils.pm file.
> 

thx for your binary support for i386 macs will be added in v0.15.



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-04 Thread Michael Herger

I've just added the plugin repository to lms 7.7.5.  I attempted to add
shairtunes2 v0.14 and got the errors below.  I can't find ImageProxy.pm
anywhere on the system.


That's an issue the plugin author has to fix. ImageProxy indeed is new 
in 7.8. He should exclude any use of that module in earlier LMS 
versions. I though he had done this at some point, but maybe he missed a 
few lines.


Meanwhile you could comment out (prepend with #) line 19 as reported in 
the error message.


--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-04 Thread djsecrist

I am running my Squeezebox Server software on an old Mac Mini (2,1)
running Snow Leopard (OSX 10.6.8), and it doesn't like the precompiled
helper binaries in ShairTunes2.  I was able to get it to work on my
system by compiling my own version of the helper for x86 (I will try to
attach) and making the following changes in the Utils.pm file.

Original:
elsif ( $Config{'archname'} =~ /darwin/ ) {
$shairtunes_helper = $directory .
"helperBinaries/shairport_helper-x64-osx";
}


New:
elsif ( $Config{'archname'} =~ /darwin/ ) {
if ($Config{archname64}) {
$shairtunes_helper = $directory .
"helperBinaries/shairport_helper-x64-osx";
} 
else {
$shairtunes_helper = $directory .
"helperBinaries/shairport_helper-x86-osx";
}
}


+---+
|Filename: shairport_helper-x86-osx.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18219|
+---+


djsecrist's Profile: http://forums.slimdevices.com/member.php?userid=62134
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-03 Thread gyre

I've just added the plugin repository to lms 7.7.5.  I attempted to add
shairtunes2 v0.14 and got the errors below.  I can't find ImageProxy.pm
anywhere on the system.

Any light would be welcome.

Thanks :)

-- gyre --


Code:


  [15-06-03 09:02:30.6134] main::init (353) Starting Logitech Media Server 
(v7.7.5, 1416570306, Thu Nov 27 08:21:23 UTC 2014) perl 5.014004
  [15-06-03 09:02:31.4302] Slim::bootstrap::tryModuleLoad (286) Warning: Module 
[Plugins::ShairTunes2::Plugin] failed to load:
  Can't locate Slim/Web/ImageProxy.pm in @INC (@INC contains: 
/var/lib/squeezeboxserver/cache/InstalledPlugins 
/usr/share/squeezeboxserver/CPAN/arch/5.14/i386-linux-thread-multi 
/usr/share/squeezeboxserver/CPAN/arch/5.14/i386-linux-thread-multi/auto 
/usr/share/squeezeboxserver/CPAN/arch/5.14.4/i386-linux-thread-multi 
/usr/share/squeezeboxserver/CPAN/arch/5.14.4/i386-linux-thread-multi/auto 
/usr/share/squeezeboxserver/CPAN/arch/5.14/i386-linux-thread-multi 
/usr/share/squeezeboxserver/CPAN/arch/5.14/i386-linux-thread-multi/auto 
/usr/share/squeezeboxserver/CPAN/arch/i386-linux-thread-multi 
/usr/share/squeezeboxserver/CPAN/arch/5.14 /usr/share/squeezeboxserver/lib 
/usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/libexec 
/usr/share/squeezeboxserver/CPAN/arch/5.14/i386-linux-thread-multi 
/usr/share/squeezeboxserver/CPAN/arch/5.14/i386-linux-thread-multi/auto 
/usr/share/squeezeboxserver/CPAN/arch/5.14.4/i386-linux-thread-multi 
/usr/share/squeezeboxserver/CPAN/arch/5
 .14.4/i386-linux-thread-multi/auto 
/usr/share/squeezeboxserver/CPAN/arch/i386-linux-thread-multi 
/usr/share/squeezeboxserver/CPAN/arch/5.14 /usr/share/squeezeboxserver/lib 
/usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver 
/usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm 
line 19.
  BEGIN failed--compilation aborted at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm 
line 19.
  Compilation failed in require at (eval 1023) line 2.
  BEGIN failed--compilation aborted at (eval 1023) line 2.
  
  [15-06-03 09:02:31.4310] Slim::Utils::PluginManager::load (321) Error: 
Couldn't load Plugins::ShairTunes2::Plugin
  




gyre's Profile: http://forums.slimdevices.com/member.php?userid=33733
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-02 Thread strim

Since v0.14 i see this in my Synology DS213 with the new LMS repack
installed.
What is wrong ? Plugin will not load..

18201


+---+
|Filename: Schermafbeelding 2015-06-02 om 22.01.50.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18201|
+---+


strim's Profile: http://forums.slimdevices.com/member.php?userid=59606
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-01 Thread mentos

epoch1970 wrote: 
> 
> I am not sure about the state of affairs with Avahi itself on your
> server. Do you have static service files that are actually working? For
> example you could see HTTP servers in Safari on a Mac or a PC (NOT on
> iOS, it doesn't carry Bonjour for whatever reason.)

The server is just a small atom machine, dedicated to this task (LMS and
Softplayers), so I've never needed/checked Avahi before.

epoch1970 wrote: 
> 
> In my case Shairtunes2 never fails to generate Airtunes targets that I
> can see on iOS. However sometimes the targets are "zombies": you can
> choose them, but to no effect; and after a while the device reverts to
> its internal speaker.
> I think this happens when LMS restarts, for example after plugin update.
> I'm not exactly sure but I think that Avahi needs to be restarted, then
> LMS be restarted in order to get "true" Airplay targets.

Thats essentially the behaviour i'm seeing so i'll try restarting the
services in that order.

epoch1970 wrote: 
> 
> I also noticed that, to the difference of disaster123's Readme on
> Github, and to my own avahi.conf file, you seem to have:> 
Code:

  >   > [publish]
  > #publish--on-ipv4=no
  > #publish-a-on-ipv6=no

> > 
> On my machine these lines read:> 
Code:

  >   > [publish]
  > publish--on-ipv4=no
  > publish-a-on-ipv6=no

> > 
> I wouldn't know if this is of any importance.

The version of Avahi on my system was 6.16 which doesn't have those
options (daemon fails to start with invalid option). Therefore I
commented them out originally. Since they are set to "no" in any case, I
guess the specific options don't matter, although they are possibly
indicative of how old 6.16 is in terms of features/functionality.



mentos's Profile: http://forums.slimdevices.com/member.php?userid=63208
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-01 Thread epoch1970

mentos wrote: 
> I'll get a lot of harassment from the family if I break it by trying to
> move to a newer OS/etc.
Yes, the case is clear.
I am not sure about the state of affairs with Avahi itself on your
server. Do you have static service files that are actually working? For
example you could see HTTP servers in Safari on a Mac or a PC (NOT on
iOS, it doesn't carry Bonjour for whatever reason.)

In my case Shairtunes2 never fails to generate Airtunes targets that I
can see on iOS. However sometimes the targets are "zombies": you can
choose them, but to no effect; and after a while the device reverts to
its internal speaker.
I think this happens when LMS restarts, for example after plugin update.
I'm not exactly sure but I think that Avahi needs to be restarted, then
LMS be restarted in order to get "true" Airplay targets.

I also notice that, to the difference of disaster123's Readme on Github,
and to my own avahi.conf file, you seem to have:
Code:

[publish]
  #publish--on-ipv4=no
  #publish-a-on-ipv6=no


On my machine these lines read:
Code:

[publish]
  publish--on-ipv4=no
  publish-a-on-ipv6=no


I wouldn't know if this is of any importance.



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-01 Thread mentos

epoch1970 wrote: 
> You are running kernel 2.6.18. IMHO it is a miracle that your machine is
> able to suspend and restart.
> Can you arrange to shutdown avahi at sleep time, and restart it at wake
> up time ?
> 
> I remember trying to make a 2.6.26 system work reliably accross sleeps,
> I had to stop services and unload modules quite arbitrarily. Avahi was
> surely one of the first to go down before sleep and among the last to
> restart at wake-up time.

Surprisingly other then Shairtunes everything else works fine. The
machine is actually configured with USB sounds cards and soft players
since everything is co-located (LMS, AMP, Router) and audio wired to
speakers in each room (although two of the four bedrooms aren't being
used yet, its just a case of grabbing some ceiling speakers when
needed). Player sync works perfectly which I know can be a problem when
using soft players. This is one of the reasons I'm reluctant to mess
with it, as the household has become used to using the system for years
now. I'll get a lot of harassment from the family if I break it by
trying to move to a newer OS/etc. 

The only reason I need/want airplay is we're an "Apple household" and we
all use Deezer. Our mobile provider gives free Deezer with our Plans and
it worked perfectly with the LMS Deezer plugin. But now Deezer requires
a premium subscription to use the LMS Deezer plugin, which has scuppered
our Utopia :( We'd all become accustomed to managing our library on
Deezer (other then some older stuff that wasn't available on Deezer but
we still had on our local library) before they pulled the rug from under
us, so now trying to get back to that "perfect" position again. Paying
for premium accounts for everyone is going to get expensive, so had
hoped to simply Airplay Deezer from our devices to the LMS system.



mentos's Profile: http://forums.slimdevices.com/member.php?userid=63208
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-06-01 Thread jollybully

DSTMK wrote: 
> Today I successfully installed LMS into a jail on my FreeNAS Box and
> also compiled the shairtunes helper for BSD - worked :)
> 
> I think the problem with the sync groups comes from the fact that the
> helper only accepts one connection. I could probably change that, but
> I'd like to make sure if this is the correct solution. Any comments?

Hey, do you have any pointers or tips on how to get started compiling
ShairTunes for BSD? Any guidance would be much appreciated. Thanks.



jollybully's Profile: http://forums.slimdevices.com/member.php?userid=64450
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-31 Thread disaster123

I'm sorry but i can't help. CentOS 5 is just very old.

Does anybody have an idea how to immediatly react on pause or next? I
tried to find a useful message in the data but i only get metadata on
play, pause or next - which does not help.



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-31 Thread epoch1970

mentos wrote: 
> Reboot got it working again, but now back to original position as when I
> reboot before.
You are running kernel 2.6.18. IMHO it is a miracle that your machine is
able to suspend and restart.
Can you arrange to shutdown avahi at sleep time, and restart it at wake
up time ?

I remember trying to make a 2.6.26 system work reliably accross sleeps,
I had to stop services and unload modules quite arbitrarily. Avahi was
surely one of the first to go down before sleep and among the last to
restart at wake-up time.



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-31 Thread microadam

Will this support multiroom synchronous audio?



microadam's Profile: http://forums.slimdevices.com/member.php?userid=6
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-31 Thread mentos

However, while I can select one of the two zones showing on iPhone,
nothing plays to them.

I tried to play something using iPeng just to make sure AMP/etc were
working fine and LMS crapped out.


-[15-05-31 13:14:24.3612] main::init (368) Starting Logitech
Media Server (v7.8.0, 1395409907, Thu Mar 27 13:17:00 PDT 2014) perl
5.008008
[15-05-31 13:14:28.1655] Plugins::ShairTunes2::Plugin::initPlugin (93)
Initialising 0.14 on i386-linux-thread-multi
[15-05-31 13:14:28.1754] Plugins::SrvrPowerCtrl::Settings::new (209)
Server Power Control, version 20120427.163654, is running on sbs version
7.8.0 on unix:RedHat, mac  
[15-05-31 13:14:30.8895]
Plugins::ShairTunes2::Plugin::playerSubscriptionChange (145)
request=client new client=Bedroom 2
[15-05-31 13:14:30.8936] Plugins::ShairTunes2::Plugin::publishPlayer
(217) start avahi-publish-service "Bedroom 2"
[15-05-31 13:14:38.3761]
Plugins::ShairTunes2::Plugin::playerSubscriptionChange (145)
request=client new client=Gutch's Room
[15-05-31 13:14:38.3809] Plugins::ShairTunes2::Plugin::publishPlayer
(217) start avahi-publish-service "Gutch's Room"
[15-05-31 13:14:48.0177]
Plugins::ShairTunes2::Plugin::playerSubscriptionChange (145)
request=client new client=Main Bathroom
[15-05-31 13:14:48.0221] Plugins::ShairTunes2::Plugin::publishPlayer
(217) start avahi-publish-service "Main Bathroom"
[15-05-31 13:14:59.2862]
Plugins::ShairTunes2::Plugin::playerSubscriptionChange (145)
request=client new client=Living Room
[15-05-31 13:14:59.2920] Plugins::ShairTunes2::Plugin::publishPlayer
(217) start avahi-publish-service "Living Room"
[15-05-31 13:22:05.0072]
Plugins::ShairTunes2::Plugin::handleSocketConnect (273) New connection
from :::192.168.1.87
[15-05-31 13:22:05.0083] Plugins::ShairTunes2::Plugin::conn_read_data
(316) conn_read_data: read 209 bytes.
[15-05-31 13:22:05.0090] Plugins::ShairTunes2::Plugin::conn_read_data
(327) Content Length is: 0
[15-05-31 13:22:05.0095] Plugins::ShairTunes2::Plugin::conn_read_data
(330) ContentBody length already received: 0
[15-05-31 13:22:05.0101] Plugins::ShairTunes2::Plugin::conn_read_data
(345) Handle request...
[15-05-31 13:22:05.0487] Slim::Utils::Misc::msg (1311) Warning:
[13:22:05.0480] Use of uninitialized value in length at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm
line 387.
[15-05-31 13:22:05.0503]
Plugins::ShairTunes2::Plugin::handleSocketConnect (273) New connection
from fe80::10d1:88a7:d35:cb0d
[15-05-31 13:22:05.0519] Plugins::ShairTunes2::Plugin::handleSocketRead
(287) Closed: IO::Socket::INET6=GLOB(0xe7add34)
[15-05-31 13:22:05.0733] Plugins::ShairTunes2::Plugin::conn_read_data
(316) conn_read_data: read 925 bytes.
[15-05-31 13:22:05.0736] Plugins::ShairTunes2::Plugin::conn_read_data
(327) Content Length is: 648
[15-05-31 13:22:05.0739] Plugins::ShairTunes2::Plugin::conn_read_data
(330) ContentBody length already received: 648
[15-05-31 13:22:05.0742] Plugins::ShairTunes2::Plugin::conn_read_data
(345) Handle request...
[15-05-31 13:22:05.1566] Slim::Utils::Misc::msg (1311) Warning:
[13:22:05.1559] Use of uninitialized value in length at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm
line 387.
[15-05-31 13:22:05.1931] Plugins::ShairTunes2::Plugin::conn_read_data
(316) conn_read_data: read 294 bytes.
[15-05-31 13:22:05.1937] Plugins::ShairTunes2::Plugin::conn_read_data
(327) Content Length is: 0
[15-05-31 13:22:05.1943] Plugins::ShairTunes2::Plugin::conn_read_data
(330) ContentBody length already received: 0
[15-05-31 13:22:05.1949] Plugins::ShairTunes2::Plugin::conn_read_data
(345) Handle request...
[15-05-31 13:22:05.1965] Slim::Utils::Misc::msg (1311) Warning:
[13:22:05.1959] Use of uninitialized value in length at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm
line 387.
[15-05-31 13:22:05.1976]
Plugins::ShairTunes2::Plugin::conn_handle_request (452) decode command:
"/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/helperBinaries/shairport_helper-i386-linux"
tport '49521' iv 'a9573a2477adf4e2635badf193e2cd22' cport '57003' fmtp
'96 352 0 16 40 10 14 2 255 0 0 44100' dport '49521' key
'13650fa3c40093e7f44fa93bf6efa380'
-

Reboot got it working again, but now back to original position as when I
reboot before.



mentos's Profile: http://forums.slimdevices.com/member.php?userid=63208
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-31 Thread mentos

Spoke to soon. While typing that I realised that when it worked the
system had gone to sleep and I'd used WOL to wake it. Allowed the system
to sleep and repeated the steps from there and back to that position now
:)


-[root@sbs ~]# ps aux|egrep "avahi|mdns"
avahi 3355  0.0  0.0   2716  1332 ?Ss   13:14   0:00
avahi-daemon: running [sbs.local]
avahi 3356  0.0  0.0   2716   444 ?Ss   13:14   0:00
avahi-daemon: chroot helper
101   3525  0.0  0.0   2268   836 ?S13:14   0:00
avahi-publish-service FCA3469747CD@Main Bathroom _raop._tcp 49819 tp=UDP
sm=false sv=false ek=1 et=0,1 md=0,1,2 cn=0,1 ch=2 ss=16 sr=44100
pw=false vn=3 txtvers=1
101   3613  0.0  0.0   2268   840 ?S13:14   0:00
avahi-publish-service F45B0E6AEC16@Living Room _raop._tcp 37907 tp=UDP
sm=false sv=false ek=1 et=0,1 md=0,1,2 cn=0,1 ch=2 ss=16 sr=44100
pw=false vn=3 txtvers=1
root  3782  0.0  0.0   4036   692 pts/0R+   13:16   0:00 egrep
avahi|mdns-

In fact two zones are now being published.



mentos's Profile: http://forums.slimdevices.com/member.php?userid=63208
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-31 Thread mentos

Some tantalising progress :/

So I went ahead and grabbed avahi-0.6.31 from avahi.org. Ran ./configure
and encountered several dependency issues. Resolved some but others I
couldnt so had to disable them. Eventually ended up with:


-./configure --disable-qt3 --disable-qt4 --disable-gtk
--disable-gtk3 --disable-libdaemon --disable-monodoc-

While it completed, it didn't look like it had worked from the output:


- ---{ avahi 0.6.31 }---

prefix:/usr/local
sysconfdir:${prefix}/etc
localstatedir: ${prefix}/var
avahi socket: 
${prefix}/var/run/avahi-daemon/socket
dbus-1 system.d dir:  
${prefix}/etc/dbus-1/system.d
dbus-1 version:1.1.2
dbus-1 system socket: 
unix:path=/var/run/dbus/system_bus_socket
C Compiler:gcc -std=gnu99
CFLAGS:-g -O2 -fstack-protector
-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls
-Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings
-fdiagnostics-show-option -Wno-cast-qual -fno-strict-aliasing
Enable GLIB:   yes
Enable GLIB GObject:   yes
Enable GObject Introspection:  no
Enable GTK 2.0:no
Enable GTK 3.0:no
Enable D-Bus:  yes
With XML:  expat
Enable GDBM:   yes
Enable DBM:no
Enable libdaemon:  no
Enable Python: yes
Enable pygtk:  yes
Enable python-dbus:yes
Enable QT3:no
Enable QT4:no
Enable Mono:   yes
Enable Monodoc:no
Distribution/OS:   fedora
User for avahi-daemon: avahi
Group for avahi-daemon:avahi
Priviliged access group for Avahi clients: netdev
User for avahi-autoipd:avahi-autoipd
Group for avahi-autoipd:   avahi-autoipd
Enable chroot():   yes
Enable Linux inotify:  yes
Enable stack-smashing protection:  yes
systemd unit directory:

Building libavahi-core  yes
Building avahi-daemon:  no   (You need libdaemon and
expat/bsdxml!)
Building avahi-dnsconfd:no   (You need libdaemon and
expat/bsdxml!)
Building libavahi-client:   no   (You need avahi-daemon and
D-Bus!)
Building avahi-utils:   no   (You need avahi-daemon and
D-Bus!)
Building avahi-python:  no   (You need python, pygtk and
python-dbus!)
Building libavahi-glib: yes
Building libavahi-gobject:  no
Building avahi-discover-standalone: no
Building libavahi-qt3:  no
Building libavahi-qt4:  no
Building avahi-sharp:   yes
Building avahi-compat-libdns_sd:no
Building avahi-compat-howl: no
Building tests: no
Building avahi-core documentation:  no
Building avahi-autoipd: no   (You need libdaemon!)
Building libavahi-ui:   no-

I'd left ./configure running expecting another dependency issue. So when
I returned and saw the above the system had gone to sleep (have server
power control running). Used iPENG to WOL. When the system came back up
noticed avahi wasn't running so did the following:


-[root@sbs ~]# service avahi-daemon restart
Shutting down Avahi daemon: Failed to kill daemon: No such file or
directory
[FAILED]
Starting Avahi daemon...   [  OK  ]

[root@sbs ~]# service avahi-daemon status
Avahi daemon is running

[root@sbs ~]# ps aux|egrep "avahi|mdns"
avahi 3522  0.0  0.0   2716  1328 ?Ss   12:04   0:00
avahi-daemon: running [sbs.local]
avahi 3523  0.0  0.0   2716   444 ?Ss   12:04   0:00
avahi-daemon: chroot helper
101   3632  0.0  0.0   2268   832 ?S12:04   0:00
avahi-publish-service F45B0E6AEC16@Living Room _raop._tcp 48392 tp=UDP
sm=false sv=false ek=1 et=0,1 md=0,1,2 cn=0,1 ch=2 ss=16 sr=44100
pw=false vn=3 txtvers=1
-

WOA I thought, I can see the publish service. Checked my iPhone and
sure enough AIRPLAY icon was there and Living Room was showing up. Tried
to select "LIVING ROOM" but the iPhone, but on hitting "done" the iPhone
Froze for a few seconds. Audio output stopped from the iPhone but didn't
play through the SBS. When I checked AIRPLAY on the iPhone it no longer
had "LIVING ROOM" se

Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-31 Thread mentos

disaster123 wrote: 
> I think the avahi services are too old. As you do not even see the
> airplay showing up - it has nothing todo witht he helper binary. I think
> you've to upgrade your OS or compile a newer avahi daemon on your own.

Thats probably a good idea, since the newest one I can pull is 6.16. 

http://www.avahi.org

Seem to be several available. Guess I'll work my way through them and
see if any work :)



mentos's Profile: http://forums.slimdevices.com/member.php?userid=63208
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-31 Thread mentos

mherger wrote: 
> > Noticed disaster123 had taken up the reigns for the development of
> > shairtunes and hoped perhaps it would work on my setup now, but no go
> 
> I think I'm sitting in the same boat: I'm using a CentOS 5 variant too,
> 
> and I'm seeing the same behaviour (see my earlier comments). I'm 
> wondering whether some of the tools are rather dated and therefor fail 
> to work.
> 
> 
> -- 
> 
> Michael

Thats also what I suspect. But its good to have some confirmation
someone else on Centos 5 is seeing the same behaviour. Not that I don't
want yours to work :D, but since we followed the same instructions and
got to the same place it likely means all of that work was correct.



mentos's Profile: http://forums.slimdevices.com/member.php?userid=63208
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-31 Thread disaster123

I think the avahi services are too old. As you do not even see the
airplay showing up - it has nothing todo witht he helper binary. I think
you've to upgrade your OS or compile a newer avahi daemon on your own.



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-30 Thread Michael Herger

Noticed disaster123 had taken up the reigns for the development of
shairtunes and hoped perhaps it would work on my setup now, but no go


I think I'm sitting in the same boat: I'm using a CentOS 5 variant too, 
and I'm seeing the same behaviour (see my earlier comments). I'm 
wondering whether some of the tools are rather dated and therefor fail 
to work.



--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-30 Thread mentos

Noticed disaster123 had taken up the reigns for the development of
shairtunes and hoped perhaps it would work on my setup now, but no go
:(

The i386 helper thats bundled with the plugin doesnt work for me:


-[root@sbs helperBinaries]# ./shairport_helper-i386-linux.bak
FATAL: kernel too old
Segmentation fault-

So I copied over and renamed the one I compiled when trying stuarts
original plugin:


-[root@sbs helperBinaries]# ./shairport_helper-i386-linux
FATAL: Must supply AES key and IV!-

The SBS log file "/var/log/squeezeboxserver/server.log " appears to show
the plugin is working:


-[15-05-30 18:43:23.3150] main::init (368) Starting Logitech
Media Server (v7.8.0, 1395409907, Thu Mar 27 13:17:00 PDT 2014) perl
5.008008
[15-05-30 18:43:27.3461] Plugins::ShairTunes2::Plugin::initPlugin (93)
Initialising 0.14 on i386-linux-thread-multi
[15-05-30 18:43:27.3671] Plugins::SrvrPowerCtrl::Settings::new (209)
Server Power Control, version 20120427.163654, is running on sbs version
7.8.0 on unix:RedHat, mac  
[15-05-30 18:43:29.5624] Slim::Web::JSONRPC::requestMethod (443) request
not dispatchable!
[15-05-30 18:43:29.8450]
Plugins::ShairTunes2::Plugin::playerSubscriptionChange (145)
request=client new client=Bedroom 2
[15-05-30 18:43:29.8492] Plugins::ShairTunes2::Plugin::publishPlayer
(217) start avahi-publish-service "Bedroom 2"
[15-05-30 18:43:37.3204]
Plugins::ShairTunes2::Plugin::playerSubscriptionChange (145)
request=client new client=Bedroom 1
[15-05-30 18:43:37.3248] Plugins::ShairTunes2::Plugin::publishPlayer
(217) start avahi-publish-service "Bedroom 1"
[15-05-30 18:43:47.0290]
Plugins::ShairTunes2::Plugin::playerSubscriptionChange (145)
request=client new client=Main Bathroom
[15-05-30 18:43:47.0333] Plugins::ShairTunes2::Plugin::publishPlayer
(217) start avahi-publish-service "Main Bathroom"
[15-05-30 18:43:58.3415]
Plugins::ShairTunes2::Plugin::playerSubscriptionChange (145)
request=client new client=Living Room
[15-05-30 18:43:58.3461] Plugins::ShairTunes2::Plugin::publishPlayer
(217) start avahi-publish-service "Living Room"-

But the Airplay symbol doesn't pop up on my iDevices. So doesnt look
like its working :/

Any hints/pointers on what to try next?

Some more info that may be helpful:


-[root@sbs helperBinaries]# uname -a
Linux sbs.home 2.6.18-371.11.1.el5 #1 SMP Wed Jul 23 15:14:26 EDT 2014
i686 athlon i386 GNU/Linux
-


-[root@sbs helperBinaries]# cat /etc/redhat-release
CentOS release 5.10 (Final)-


-[root@sbs helperBinaries]# ps aux|egrep "avahi|mdns"
avahi 3614  0.0  0.0   2716  1304 ?Ss   18:43   0:00
avahi-daemon: running [sbs.local]
avahi 3615  0.0  0.0   2716   440 ?Ss   18:43   0:00
avahi-daemon: chroot helper
root  3687  0.0  0.0   4036   696 pts/0R+   18:51   0:00 egrep
avahi|mdns-


-[root@sbs helperBinaries]# vi /etc/avahi/avahi-daemon.conf
[server]
use-ipv4=yes
use-ipv6=yes  #if you have ios7 devices change to yes

[wide-area]
enable-wide-area=yes

[publish]
#publish--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
~-

Any help greatly appreciated :)



mentos's Profile: http://forums.slimdevices.com/member.php?userid=63208
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-30 Thread rokotus

disaster123 wrote: 
> Isn't this "default" arm? This should work out of the box with v0.14.

OK, didn't try default :o I'll do that with 0.15.



rokotus's Profile: http://forums.slimdevices.com/member.php?userid=64438
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-29 Thread disaster123

moe wrote: 
> Sent you a new binary version for ARM. 
> moe

Thanks will include in v0.15 - hopefully somebody can compile for mac os
x.

rokotus wrote: 
> Thanks! I'm using ShairTunes on an old Sheevaplug, and got it working
> after compiling helper for my architecture
> (arm-linux-gnueabi-thread-multi-64int) and editing Utils.pm accordingly.
> I can provide the binary if needed.

Isn't this "default" arm? This should work out of the box with v0.14.



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-29 Thread rokotus

Thanks! I'm using ShairTunes on an old Sheevaplug, and got it working
after compiling helper for my architecture
(arm-linux-gnueabi-thread-multi-64int) and editing Utils.pm accordingly.
I can provide the binary if needed.



rokotus's Profile: http://forums.slimdevices.com/member.php?userid=64438
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-29 Thread moe

disaster123 wrote: 
> V0.14 is online. Everybody with linux should upgrade. For ARM and Mac OS
> X i need somebody to compile new binaries ;-( as i made several changes
> to the helper source code.
> 

Sent you a new binary version for ARM. 
moe



moe's Profile: http://forums.slimdevices.com/member.php?userid=64418
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-29 Thread disaster123

V0.14 is online. Everybody with linux should upgrade. For ARM and Mac OS
X i need somebody to compile new binaries ;-( as i made several changes
to the helper source code.

Changelog since v0.13:
- ARM binary added (sadly only from v0.13 - need somebody to recompile
for v0.14)
- log startup errors / stderr of shairport_helper
- shairport_helper: MASSIVE reduce of CPU load using pthread_cond_wait
instead of ugly sleeps
- shairport_helper: buffer tuning
- shairport_helper: introduce a version number for binaries



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-29 Thread disaster123

epoch1970 wrote: 
> On my machine, LMS wants to update the Shairtunes2 plugin constantly.
> I've looked into
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2 and
> I see that while the directory itself is brand new, the install.xml file
> inside it still says "0.12"
> Then I went to Github and I see the file currently says
> "0.13".
> However, the version held into "Shairtunes2.zip" says
> "0.12" (obtained from
> https://github.com/disaster123/shairport2_plugin/blob/master/ShairTunes2.zip?raw=true)
> 
> I don't know how the LMS update process works but I would submit the zip
> file on GitHub is not up-to-date.

Sorry my fault. Fixed with v0.14 - will be online in a few seconds.

bruinboy wrote: 
> Shairtunes got fussy again
> 
> Log:
> 
> [15-05-28 16:17:06.5733] Plugins::ShairTunes2::Plugin::initPlugin (92)
> Initialising 0.12 on darwin-thread-multi-2level
> [15-05-28 16:17:07.2086] Plugins::ShairTunes2::Plugin::publishPlayer
> (216) start avahi-publish-service "Extra"
> [15-05-28 16:17:07.2099] Plugins::ShairTunes2::Plugin::publishPlayer
> (228) start avahi-publish-service failed
> [15-05-28 16:17:07.2103] Plugins::ShairTunes2::Plugin::publishPlayer
> (231) start dns-sd "Extra"
> [15-05-28 16:17:07.2620] Plugins::ShairTunes2::Plugin::publishPlayer
> (216) start avahi-publish-service "Living Room"
> [15-05-28 16:17:07.2630] Plugins::ShairTunes2::Plugin::publishPlayer
> (228) start avahi-publish-service failed
> [15-05-28 16:17:07.2633] Plugins::ShairTunes2::Plugin::publishPlayer
> (231) start dns-sd "Living Room"
> [15-05-28 16:17:07.3215] Plugins::ShairTunes2::Plugin::publishPlayer
> (216) start avahi-publish-service "Bedroom"
> [15-05-28 16:17:07.3230] Plugins::ShairTunes2::Plugin::publishPlayer
> (228) start avahi-publish-service failed
> [15-05-28 16:17:07.3233] Plugins::ShairTunes2::Plugin::publishPlayer
> (231) start dns-sd "Bedroom"
> 
> Thanks for ideas on a fix, in advance.
> 
> Cheers,
> 
> 
> S

I see nothing wrong.



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-28 Thread bruinboy

Shairtunes got fussy again

Log:

[15-05-28 16:17:06.5733] Plugins::ShairTunes2::Plugin::initPlugin (92)
Initialising 0.12 on darwin-thread-multi-2level
[15-05-28 16:17:07.2086] Plugins::ShairTunes2::Plugin::publishPlayer
(216) start avahi-publish-service "Extra"
[15-05-28 16:17:07.2099] Plugins::ShairTunes2::Plugin::publishPlayer
(228) start avahi-publish-service failed
[15-05-28 16:17:07.2103] Plugins::ShairTunes2::Plugin::publishPlayer
(231) start dns-sd "Extra"
[15-05-28 16:17:07.2620] Plugins::ShairTunes2::Plugin::publishPlayer
(216) start avahi-publish-service "Living Room"
[15-05-28 16:17:07.2630] Plugins::ShairTunes2::Plugin::publishPlayer
(228) start avahi-publish-service failed
[15-05-28 16:17:07.2633] Plugins::ShairTunes2::Plugin::publishPlayer
(231) start dns-sd "Living Room"
[15-05-28 16:17:07.3215] Plugins::ShairTunes2::Plugin::publishPlayer
(216) start avahi-publish-service "Bedroom"
[15-05-28 16:17:07.3230] Plugins::ShairTunes2::Plugin::publishPlayer
(228) start avahi-publish-service failed
[15-05-28 16:17:07.3233] Plugins::ShairTunes2::Plugin::publishPlayer
(231) start dns-sd "Bedroom"

Thanks for ideas on a fix, in advance.

Cheers,


S



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-28 Thread epoch1970

On my machine, LMS wants to update the Shairtunes2 plugin constantly.
I've looked into
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2 and
I see that while the directory itself is brand new, the install.xml file
inside it still says "0.12"
Then I went to Github and I see the file currently says
"0.13".
However, the version held into "Shairtunes2.zip" says
"0.12".

I don't know how the update process works but I would submit the zip
file is not up-to-date.



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread Michael Herger

It worked!

Everything is working perfectly, now!


Great! Have fun!

--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread bruinboy

mherger wrote: 
> Ok, make this:
> 
> sudo /usr/bin/perl -MCPAN -e'install Net::SDP'
> 
> "sudo" would run the command as the admin.
> 
> /usr/bin/perl seems to be the OSX' stock perl 5.16.2, that's fine.
> 
> -- 
> 
> Michael

It worked!

Everything is working perfectly, now!

How can I repay you for your time and expertise?

Scott



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread Michael Herger

Ok, make this:

sudo /usr/bin/perl -MCPAN -e'install Net::SDP'

"sudo" would run the command as the admin.

/usr/bin/perl seems to be the OSX' stock perl 5.16.2, that's fine.

--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread bruinboy

MacMinis-Mac-mini:~ macmini$ /usr/bin/perl -MCPAN -e'install Net::SDP'


Reading '/Users/macmini/.cpan/Metadata'
Database was generated on Tue, 26 May 2015 18:29:02 GMT
Running install for module 'Net::SDP'
Running make for N/NJ/NJH/Net-SDP-0.07.tar.gz
mkdir /Users/macmini/.cpan/sources/authors/id/N: Permission denied at
/System/Library/Perl/5.16/CPAN/FTP.pm line 519.
MacMinis-Mac-mini:~ macmini$ 

Thanks Michael



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread bruinboy

mherger wrote: 
> > Actually, I have no idea what I'm doing, as you can tell.
> > How do i make sure to use /usr/bin/perl when installing modules?
> 
> /usr/bin/perl -MCPAN -e'install Net::SDP'
> 
> > How do I get rid of perlbrew?
> 
> TBH: I don't know. And if you don't know how you got there you probably
> 
> don't want to get rid of it either. Something else might break.
> 
> But you still owe me a few answers. What would
> 
> /usr/bin/perl -v
> 
> give you? Mavericks came with 5.16.2 - which is not in the list you 
> posted...
> 
> Also: what does LMS in Settings/Information show you about the perl 
> being used?
> 
> -- 
> 
> Michael


LMS says:

Perl Version: 5.16.2 - darwin-thread-multi-2level


MacMinis-Mac-mini:~ macmini$ /usr/bin/perl -v

This is perl 5, version 16, subversion 2 (v5.16.2) built for
darwin-thread-multi-2level
(with 3 registered patches, see perl -V for more detail)



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread Michael Herger

Actually, I have no idea what I'm doing, as you can tell.
How do i make sure to use /usr/bin/perl when installing modules?


/usr/bin/perl -MCPAN -e'install Net::SDP'


How do I get rid of perlbrew?


TBH: I don't know. And if you don't know how you got there you probably 
don't want to get rid of it either. Something else might break.


But you still owe me a few answers. What would

/usr/bin/perl -v

give you? Mavericks came with 5.16.2 - which is not in the list you 
posted...


Also: what does LMS in Settings/Information show you about the perl 
being used?


--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread bruinboy

And I'm using Mavericks.



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread bruinboy

mherger wrote: 
> > Net::SDP seems to have been installed in:
> >
> > /Users/macmini/perl5/perlbrew/perls/perl-5.16.0/bin/perl
> > /usr/bin/perl
> 
> Yes, that sounds wrong. It seems that you're using some perlbrew in the
> 
> shell, but LMS would pick /usr/bin/perl (or whatever system default). 
> Make sure you use the latter when installing modules.
> 
> Do you really need perlbrew? IMHO it can be really confusing, unless you
> 
> know really good what you're doing ;-).
> 
> -- 
> 
> Michael


Actually, I have no idea what I'm doing, as you can tell.
How do i make sure to use /usr/bin/perl when installing modules?
How do I get rid of perlbrew?

Thanks!

S



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread Michael Herger

Net::SDP seems to have been installed in:

/Users/macmini/perl5/perlbrew/perls/perl-5.16.0/bin/perl
/usr/bin/perl


Yes, that sounds wrong. It seems that you're using some perlbrew in the 
shell, but LMS would pick /usr/bin/perl (or whatever system default). 
Make sure you use the latter when installing modules.


Do you really need perlbrew? IMHO it can be really confusing, unless you 
know really good what you're doing ;-).


--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread bruinboy

Net::SDP seems to have been installed in:

/Users/macmini/perl5/perlbrew/perls/perl-5.16.0/bin/perl
/usr/bin/perl

Could this be the issue? (Incorrect location?)



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread Michael Herger

perlperlbug perldoc5.16 perlthanks5.12
perl5.12perlbug5.12 perlivp perlthanks5.16
perl5.16perlbug5.16 perlivp5.12
perl5.16.0  perldoc perlivp5.16
perlbrewperldoc5.12 perlthanks


Oh... you got perlbrew, too? What would "perl -v" be using? Make sure 
you know what you're doing with perlbrew.


What OSX version is this anyway?


perl5.12 -MNet::SDP


What about "perl5.16 -MNet::SDP" and "perl -MNet::SDP"?

--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread bruinboy

mherger wrote: 
> > I believe it is installed correctly, yet shairtunes2 can't find it.
> > Incidentally, Shairtunes (the original) seemed to have the same
> issue.
> > Is it the wrong install?  Installed in the wrong place?  Broken?
> 
> If you updated your Mac you might have two perl versions installed. Open
> 
> a terminal, type "perl", then press tab. I'm seeing 5.16 and 5.18 
> installed on my Yosemite system.
> 
> Then try "perl5.1x -MNet::SDP" for whatever version you've installed. 
> Would all of the find the module?
> 
> -- 
> 
> Michael

Perl tab replies:


perlperlbug perldoc5.16 perlthanks5.12
perl5.12perlbug5.12 perlivp perlthanks5.16
perl5.16perlbug5.16 perlivp5.12 
perl5.16.0  perldoc perlivp5.16 
perlbrewperldoc5.12 perlthanks 


Then, typing:

perl5.12 -MNet::SDP
Can't locate Net/SDP.pm in @INC (@INC contains:
/Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12
/Network/Library/Perl/5.12/darwin-thread-multi-2level
/Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.5
/System/Library/Perl/5.12/darwin-thread-multi-2level
/System/Library/Perl/5.12
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.12 .).
BEGIN failed--compilation aborted


Thanks for the help!

Scott



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-26 Thread Michael Herger

I believe it is installed correctly, yet shairtunes2 can't find it.
Incidentally, Shairtunes (the original) seemed to have the same issue.
Is it the wrong install?  Installed in the wrong place?  Broken?


If you updated your Mac you might have two perl versions installed. Open 
a terminal, type "perl", then press tab. I'm seeing 5.16 and 5.18 
installed on my Yosemite system.


Then try "perl5.1x -MNet::SDP" for whatever version you've installed. 
Would all of the find the module?


--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-25 Thread bruinboy

disaster123 wrote: 
> There's no perl install command. There's only cpan install. Did you type
> the wrong thing? What was the output?
> .

MacMinis-Mac-mini:~ macmini$ sudo cpan install Net::SDP
Password:
Reading '/Users/macmini/.cpan/Metadata'
Database was generated on Sun, 24 May 2015 19:29:02 GMT
Net::SDP is up to date (0.07).
MacMinis-Mac-mini:~ macmini$ 


I believe it is installed correctly, yet shairtunes2 can't find it. 
Incidentally, Shairtunes (the original) seemed to have the same issue. 
Is it the wrong install?  Installed in the wrong place?  Broken?

Thanks in advance,

Scott



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-25 Thread moe

disaster123 wrote: 
> 
> 
> Dropbox or any other free upload site. I'll download and put into the
> repo.

okay send as PM.
moe



moe's Profile: http://forums.slimdevices.com/member.php?userid=64418
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-25 Thread disaster123

bruinboy wrote: 
> You need the perl Net::SDP Modul. No idea how to install on Mac OS X.
> How did you install the other modules?
> 
> 
> I typed sudo perl install Net::SDP .
> 
> This is consistently the broken piece of the puzzle.  Calling all mac
> experts... how do I do this correctly/troubleshoot it.
> 
> If I get this module installed correctly, I think all will be well.
> 
> Scott

There's no perl install command. There's only cpan install. Did you type
the wrong thing? What was the output?


rickwookie wrote: 
> Super-noob github question. How the hell do you put a binary file in a
> github repo? Seems to me (through all of my 5 mins of research) that you
> can only add binary files to 'Releases'.

You can't without having a git repository. github isn't filesharing.
Please send me a pm or upload to dropbox i'll include your binary.

moe wrote: 
> Thank You for the grate plugin.
> I was aple to compile the binary for the raspberry pi 2 arm
> (arm-linux-gnueabihf-thread-multi-64int).
> How can I send the binary to you for the repostory?
> 
> moe

Dropbox or any other free upload site. I'll download and put into the
repo.



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-25 Thread moe

Thank You for the grate plugin.
I was aple to compile the binary for the raspberry pi 2 arm
(arm-linux-gnueabihf-thread-multi-64int).
How can I send the binary to you for the repostory?

moe



moe's Profile: http://forums.slimdevices.com/member.php?userid=64418
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-25 Thread rickwookie

Super-noob github question. How the hell do you put a binary file in a
github repo? Seems to me (through all of my 5 mins of research) that you
can only add binary files to 'Releases'.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-25 Thread Michael Herger

Wouldn't Slim::Utils::Misc::findbin() do the job for you?


Looks interesting any documentation on that one available?


No. You can assume that there's basically no formal documentation for 
LMS source code...


Just call findbin with the name of your binary file:

Slim::Utils::Misc::findbin('socketwrapper')

LMS would search the Bin and plugin sub-folders for binaries, applying 
some guessing about the architecture used etc. See 
Slim::Utils::OS::initSearchPath.


--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-25 Thread bruinboy

You need the perl Net::SDP Modul. No idea how to install on Mac OS X.
How did you install the other modules?


I typed sudo perl install Net::SDP .

This is consistently the broken piece of the puzzle.  Calling all mac
experts... how do I do this correctly/troubleshoot it.

If I get this module installed correctly, I think all will be well.

Scott



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread disaster123

rickwookie wrote: 
> Excuse my ignorance, but I notice that the zip file that gets downloaded
> for your plugin
> "https://raw.github.com/disaster123/shairport2_plugin/master/ShairTunes2.zip";
> as referenced in
> "https://raw.githubusercontent.com/disaster123/shairport2_plugin/master/public.xml";,
> doesn't contain the src folder. How do I get it? Do I need to use some
> sort of git-fetch command, and if so, what is it?
> 
> Btw, I noticed in that xml that you define minTarget="7.5". Is that now
> the case for v0.13 or should that be minTarget="7.8"?

The source code is on github. 7.5 is fine cause i skip cover code for
versions < 7.8.

rickwookie wrote: 
> Wow, I recompiled it and the binary is now 638k. The old one's only 42k.
> What's that all about?

Yes those are now static binaries. Beeing independant of lib / os
version.

bruinboy wrote: 
> @disaster123, et al.
> 
> When I start your plugin, I get:
> 
> "Plugin failed to load"
> 
> Server Log:
> 
> [15-05-24 14:15:34.6079] Slim::bootstrap::tryModuleLoad (286) Warning:
> Module [Plugins::ShairTunes2::Plugin] failed to load:
> Can't locate Net/SDP.pm in @INC (@INC contains:
> /Users/macmini/Library/Caches/Squeezebox/InstalledPlugins 
> 
> System/Library/Perl/5.16/darwin-thread-multi-2level
> /System/Library/Perl/5.16
> /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level
> /System/Library/Perl/Extras/5.16 .) at
> /Users/macmini/Library/Caches/Squeezebox/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm
> line 30.
> BEGIN failed--compilation aborted at
> /Users/macmini/Library/Caches/Squeezebox/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm
> line 30.
> Compilation failed in require at (eval 1098) line 2.
> BEGIN failed--compilation aborted at (eval 1098) line 2.
> 
> It seems I'm getting tantalizingly close.
> 
> Thanks for the ongoing troubleshooting.
> 
> Scott

You need the perl Net::SDP Modul. No idea how to install on Mac OS X.
How did you install the other modules?

mherger wrote: 
> > Done a bit more digging and found 'this post'
> >
> (http://stackoverflow.com/questions/21094114/how-do-i-detect-the-os-name-in-perl-to-a-particular-version)
> > suggesting that archname is not the way to detect the running system
> as
> > Config only contains the details from the system where Perl was
> built,
> > not the one it's running on. In fact I've just noticed that typeing
> Perl
> > -V at the command prompt on both my Pi1 and Pi2 not only give
> identical
> > results, that it's armv7l, but also that it's an odroidu2 :confused:
> 
> Wouldn't Slim::Utils::Misc::findbin() do the job for you?
> 
> -- 
> 
> Michael

Looks interesting any documentation on that one available?



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread Michael Herger

Done a bit more digging and found 'this post'
(http://stackoverflow.com/questions/21094114/how-do-i-detect-the-os-name-in-perl-to-a-particular-version)
suggesting that archname is not the way to detect the running system as
Config only contains the details from the system where Perl was built,
not the one it's running on. In fact I've just noticed that typeing Perl
-V at the command prompt on both my Pi1 and Pi2 not only give identical
results, that it's armv7l, but also that it's an odroidu2 :confused:


Wouldn't Slim::Utils::Misc::findbin() do the job for you?

--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread bruinboy

@disaster123, et al.

When I start your plugin, I get:

"Plugin failed to load"

Server Log:

[15-05-24 14:15:34.6079] Slim::bootstrap::tryModuleLoad (286) Warning:
Module [Plugins::ShairTunes2::Plugin] failed to load:
Can't locate Net/SDP.pm in @INC (@INC contains:
/Users/macmini/Library/Caches/Squeezebox/InstalledPlugins 

System/Library/Perl/5.16/darwin-thread-multi-2level
/System/Library/Perl/5.16
/System/Library/Perl/Extras/5.16/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.16 .) at
/Users/macmini/Library/Caches/Squeezebox/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm
line 30.
BEGIN failed--compilation aborted at
/Users/macmini/Library/Caches/Squeezebox/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm
line 30.
Compilation failed in require at (eval 1098) line 2.
BEGIN failed--compilation aborted at (eval 1098) line 2.

It seems I'm getting tantalizingly close.

Thanks for the ongoing troubleshooting.

Scott



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread rickwookie

Wow, I recompiled it and the binary is now 638k. The old one's only 42k.
What's that all about?



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread rickwookie

Excuse my ignorance, but I notice that the zip file that gets downloaded
for your plugin
"https://raw.github.com/disaster123/shairport2_plugin/master/ShairTunes2.zip";
as referenced in
"https://raw.githubusercontent.com/disaster123/shairport2_plugin/master/public.xml";,
doesn't contain the src folder. How do I get it? do I need to use some
sort of git-fetch command, and if so, what is it?

Btw, I noticed in that xml that you define minTarget="7.5". Is that now
the case for v0.13 or should that be minTarget="7.8"?



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread disaster123

I think the most safe way would be to use the code from triode spotify
plugin. But as long as i don't need to detect arm it seems easy ;-) 

You'll find the differences in the source here:
https://github.com/disaster123/shairport2_plugin/commits/master/shairport_helper/src

Most important one here:
https://github.com/disaster123/shairport2_plugin/commit/980a9f278b85690a288229a32559f08c4602cf44



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread rickwookie

Done a bit more digging and found 'this post'
(http://stackoverflow.com/questions/21094114/how-do-i-detect-the-os-name-in-perl-to-a-particular-version)
suggesting that archname is not the way to detect the running system as
Config only contains the details from the system where Perl was built,
not the one it's running on. In fact I've just noticed that typeing Perl
-V at the command prompt on both my Pi1 and Pi2 not only give identical
results, that it's armv7l, but also that it's an odroidu2 :confused:

So, I've used the suggestion there and now my Utils.pm starts like this:
Code:

package Plugins::ShairTunes2::Utils;
  
  use strict;
  use warnings;
  
  use Config;
  use Digest::MD5 qw(md5 md5_hex);
  
  use POSIX qw(uname);
  
  my %dmapData = (
  artist => '',
  title  => '',
  album  => '',
  );
  
  my %dmaptypes= getDmapTypes();
  my %dmaptypeToUnpack = (
  '1'  => 'c',
  '3'  => 'n',
  '5'  => 'N',
  '7'  => 'Q',
  '9'  => 'a*',# utf-8 encoded
  '10' => 'N',
  '11' => 'nn',
  '42' => 'a*',# this is a local invention - 9 is
  # getting handled as utf-8, but for
  # dpap.picturedata that would be
  # bad m'kay
  );
  
  sub helperBinary {
  my ( $volume, $directory, $file ) = File::Spec->splitpath( __FILE__ );
  my $shairtunes_helper;
  
  if ( $Config{'archname'} =~ /solaris/ ) {
  $shairtunes_helper = $directory . 
"helperBinaries/shairport_helper-i86pc-solaris";
  }
  elsif ( $Config{'archname'} =~ /linux/ ) {
  # arm-linux-gnueabihf-thread-multi-64int
  if ( $Config{'archname'} =~ /arm/ ) {
  if ( uname() =~ /armv7l/ ) {
  $shairtunes_helper = $directory . 
"helperBinaries/shairport_helper-armv7l-linux";
  }
  else {
  $shairtunes_helper = $directory . 
"helperBinaries/shairport_helper-armv6l-linux";
  }
  }
  # x86_64-linux-gnu-thread-multi
  elsif ( $Config{'archname'} =~ /x86_64/ ) {
  $shairtunes_helper = $directory . "helperBinaries/shairport_helper-x64-linux";
  }
  else {
  $shairtunes_helper = $directory . 
"helperBinaries/shairport_helper-i386-linux";
  }
  }
  elsif ( $Config{'archname'} =~ /darwin/ ) {
  $shairtunes_helper = $directory . "helperBinaries/shairport_helper-x64-osx";
  }
  else {
  die( "No shairport_helper binary for your system available." );
  }
  return $shairtunes_helper;
  }

Should I compile my helper binary though and send it to you? What's
changed in the source code from StuartUSA's version? I thought you just
changed stuff in the Perl plugin. It seems to work ok for me (artwork
shows up on my SBRadio for example), but if it will get improvements,
I'll remake it now.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread rickwookie

ok I dug around and found that Utils.pm seems responsible for
determining the helper binary filename, based on the value of
$Config{'archname'}, and I see that $Config{'archname'} is dumped to the
debug output in sub initPlugin at line 89 of Plugin.pm, so I checked and
my string is arm-linux-gnueabihf-thread-multi-64int. I then found a
spare RPi V1 laying around (as you do) and booted it up, typed perl -v
and got arm-linux-gnueabihf-thread-multi-64int.
Hmm, so how do we distinguish between Pi1 and Pi2 in Perl?
Anyway, for now I've modified my Utils.pm thus:
Code:

sub helperBinary {
  my ( $volume, $directory, $file ) = File::Spec->splitpath( __FILE__ );
  my $shairtunes_helper;
  
  if ( $Config{'archname'} =~ /solaris/ ) {
  $shairtunes_helper = $directory . 
"helperBinaries/shairport_helper-i86pc-solaris";
  }
  elsif ( $Config{'archname'} =~ /linux/ ) {
  if ( $Config{'archname'} =~ /arm/ ) {
  # arm-linux-gnueabihf-thread-multi-64int
  if ( $Config{'archname'} =~ /multi/ ) {
  $shairtunes_helper = $directory . 
"helperBinaries/shairport_helper-armv7l-linux";
  }
  # arm-linux-gnueabihf-thread-multi-64int???
  else {
  $shairtunes_helper = $directory . 
"helperBinaries/shairport_helper-armv6-linux";
  }
  }
  # x86_64-linux-gnu-thread-multi
  elsif ( $Config{'archname'} =~ /x86_64/ ) {
  $shairtunes_helper = $directory . "helperBinaries/shairport_helper-x64-linux";
  }
  else {
  $shairtunes_helper = $directory . 
"helperBinaries/shairport_helper-i386-linux";
  }
  }
  elsif ( $Config{'archname'} =~ /darwin/ ) {
  $shairtunes_helper = $directory . "helperBinaries/shairport_helper-x64-osx";
  }
  else {
  die( "No shairport_helper binary for your system available." );
  }
  return $shairtunes_helper;
  }


and copied my previously made /usr/local/bin/shairport_helper to
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/helperBinaries/shairport_helper-armv7l-linux

And it works!

So yeah, there's not a lot of point in me passing on my compiled helper
binary unless someone can tell me how to distinguish between a Pi1 and a
Pi2 as I suspect my helper won't run on a Pi1 (armv7 vs armv6).



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread disaster123

mherger wrote: 
> > Installing the plugin from the repo does not work. It installs
> version
> > 0.12, which gives the same error message: Plugin is incompatible with
> > your platform.
> 
> disaster123 - your install.xml limits installation to Linux/Unix 
> systems, but excludes OSX/Windows.
> 
>   Linux
>   Unix
> 
> -- 
> 
> Michael

Thanks! Fixed in 0.13.

mherger wrote: 
> > Anyway, I'm running 7.7.6 so I'd need to upgrade to try this, so
> looking
> > at the installers available my question is, 7.8.1 or 7.9.0?
> 
> disaster123 - are there any other 7.8+ specifics than the image proxy? 
> Couldn't you exclude that code from older versions and skip the artwork
> 
> feature for 7.7? I do this in some of my plugins:
> 
> use constant CAN_IMAGEPROXY => 
> (Slim::Utils::Versions->compareVersions($::VERSION, '7.8.0') >= 0);
> 
> 
> 
> sub initPlugin {
> 
> if (CAN_IMAGEPROXY) {
>   # register your image proxy here
> }
> 
>   ...
> }
> 
> 
> -- 
> 
> Michael

included. Next version can run from 7.5 onwords. I hope 7.5 is fine.

rickwookie wrote: 
> Hmm, so why's it trying to use an i386 (shairport_helper-i386-linux)
> binary?:> 
Code:

  >   > [15-05-24 16:30:57.9639] 
Plugins::ShairTunes2::Plugin::conn_handle_request (430) decode command: 
"/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/helperBinaries/shairport_helper-i386-linux"
 tport '61515' iv '2188525e4ffe3cd388047878f7a78cbc' cport '59418' fmtp '96 352 
0 16 40 10 14 2 255 0 0 44100' dport '61515' key 
'85aa4514e5138e1568988bc5872ea634'
  > [15-05-24 16:30:58.0271] Slim::Utils::Misc::msg (1311) Warning: 
[16:30:58.0246] Use of uninitialized value $portdesc in pattern match (m//) at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm 
line 438.
  > [15-05-24 16:30:58.0294] Slim::Utils::Misc::msg (1311) Warning: 
[16:30:58.0281] Use of uninitialized value $portdesc in concatenation (.) or 
string at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm 
line 438.
  > [15-05-24 16:30:58.0321] Slim::Networking::IO::Select::__ANON__ (147) 
Error: Select task failed calling 
Plugins::ShairTunes2::Plugin::handleSocketRead: Expected port number from 
decoder; got  at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm 
line 438.
  > ; fh=IO::Socket::INET=GLOB(0x5d43bb8)
  > [15-05-24 16:31:05.2807] Plugins::ShairTunes2::Plugin::handleSocketRead 
(275) Closed: IO::Socket::INET=GLOB(0x5d43bb8)

> > 
> 
> and copied my previously made /usr/local/bin/shairport_helper to
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/helperBinaries/shairport_helper-armv7l-linux

Fixed this in v0.13 it will no longer try to run x86 code. But i still
do not have any arm binary. Can you provide one? Copying the old one
from StuartUSA isn't a code idea as the C code has changed.

epoch1970 wrote: 
> This I wouldn't know; but if you rename this i386 executable and put
> your older arm binary under its name then the plugin might work.
Copying the old one from StuartUSA isn't a code idea as the C code has
changed.



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread epoch1970

rickwookie wrote: 
> Hmm, so why's it trying to use an i386 (shairport_helper-i386-linux)
> binary?
This I wouldn't know; but if you rename this i386 executable and put
your older arm binary under its name then the plugin might work.



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread rickwookie

epoch1970 wrote: 
> As a stopgap measure you can try linking the old helper to the one that
> the plugin tries to use (logging at debug level will show the name of
> the executable the plugin uses.)
> Same as 'I did'
> (http://forums.slimdevices.com/showthread.php?100379-Announce-ShairTunes-Plugin&p=818880&viewfull=1#post818880)
> before disaster123 provided an i386 version of the helper.

Hmm, so why's it trying to use an i386 binary?:
Code:

[15-05-24 16:30:57.9639] Plugins::ShairTunes2::Plugin::conn_handle_request 
(430) decode command: 
"/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/helperBinaries/shairport_helper-i386-linux"
 tport '61515' iv '2188525e4ffe3cd388047878f7a78cbc' cport '59418' fmtp '96 352 
0 16 40 10 14 2 255 0 0 44100' dport '61515' key 
'85aa4514e5138e1568988bc5872ea634'
  [15-05-24 16:30:58.0271] Slim::Utils::Misc::msg (1311) Warning: 
[16:30:58.0246] Use of uninitialized value $portdesc in pattern match (m//) at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm 
line 438.
  [15-05-24 16:30:58.0294] Slim::Utils::Misc::msg (1311) Warning: 
[16:30:58.0281] Use of uninitialized value $portdesc in concatenation (.) or 
string at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm 
line 438.
  [15-05-24 16:30:58.0321] Slim::Networking::IO::Select::__ANON__ (147) Error: 
Select task failed calling Plugins::ShairTunes2::Plugin::handleSocketRead: 
Expected port number from decoder; got  at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm 
line 438.
  ; fh=IO::Socket::INET=GLOB(0x5d43bb8)
  [15-05-24 16:31:05.2807] Plugins::ShairTunes2::Plugin::handleSocketRead (275) 
Closed: IO::Socket::INET=GLOB(0x5d43bb8)




rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread rickwookie

Squeezemenicely wrote: 
> Running LMS on Wandboard via SOA
> 
> This is what I get, when Trying to use the repository:
> 
> Falsches Repository
> http://raw.github.com/disaster123/shairport2_plugin/master/public.xml -
> Redirection limit exceeded

Maybe this?

mherger wrote: 
> So if somebody complains about "re-direction exceeded" or something, 
> tell him to install the required perl modules (as per your 
> documentation) first, then restart LMS.
> 
> -- 
> 
> Michael



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-24 Thread Squeezemenicely

Running LMS on Wandboard via SOA

This is what I get, when Trying to use the repository:

Falsches Repository
http://raw.github.com/disaster123/shairport2_plugin/master/public.xml -
Redirection limit exceeded



LMS 7.9.0 on Wandboard (SoA)
Synology DS-410j NAS
Squeezebox Touch, Squeezebox Boom, Squeezebox Radio, HifiBerry
PicorePlayer
Schiit - BIFROST Dac
Spotify Premium
iPhone: iPeng - iPad: Squeezepad, iPengHD

Squeezemenicely's Profile: http://forums.slimdevices.com/member.php?userid=41812
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread Michael Herger

Anyway, I'm running 7.7.6 so I'd need to upgrade to try this, so looking
at the installers available my question is, 7.8.1 or 7.9.0?


disaster123 - are there any other 7.8+ specifics than the image proxy? 
Couldn't you exclude that code from older versions and skip the artwork 
feature for 7.7? I do this in some of my plugins:


use constant CAN_IMAGEPROXY => 
(Slim::Utils::Versions->compareVersions($::VERSION, '7.8.0') >= 0);


...

sub initPlugin {

if (CAN_IMAGEPROXY) {
# register your image proxy here
}

...
}


--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread Michael Herger

Installing the plugin from the repo does not work. It installs version
0.12, which gives the same error message: Plugin is incompatible with
your platform.


disaster123 - your install.xml limits installation to Linux/Unix 
systems, but excludes OSX/Windows.


Linux
Unix

--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread bruinboy

epoch1970 wrote: 
> For the dependencies you can use the instructions from
> https://github.com/adamcohenrose/shairport_plugin/blob/master/README.md
> In LMS>Settings>Plugins, add Disaster123's plugin repository URL: 
> http://raw.github.com/disaster123/shairport2_plugin/master/public.xml
> Install the plugin from the web interface.

Installing the plugin from the repo does not work. It installs version
0.12, which gives the same error message: Plugin is incompatible with
your platform.

Thanks in advance for the ongoing troubleshooting.

PS I installed the dependencies without issue.

Scott



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread epoch1970

bruinboy wrote: 
> Which url?  What do I install?  I installed the ShairTunes2.zip from
> your github website, but when installed LMS states: "plugin is
> incompatible with your platform"
> 
> S
For the dependencies you can use the instructions from
https://github.com/adamcohenrose/shairport_plugin/blob/master/README.md
In LMS>Settings>Plugins, add Disaster123's plugin repository URL: 
http://raw.github.com/disaster123/sh...ter/public.xml
Install the plugin from the web interface.



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread epoch1970

rickwookie wrote: 
> I still have the one I compiled from StuartUSA's version, in
> /usr/local/bin
> 
> Is that the issue? Do I need to move it somewhere else?

As a stopgap measure you can try linking the old helper to the one that
the plugin tries to use (logging at debug level will show the name of
the executable the plugin uses.)
Same as 'I did'
(http://forums.slimdevices.com/showthread.php?100379-Announce-ShairTunes-Plugin&p=818880&viewfull=1#post818880)
before disaster123 provided an i386 version of the helper.



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread rickwookie

disaster123 wrote: 
> You're on ARM. I don't have an ARM binary ready. Can you compile one?

I still have he one I compiled from StuartUSA's version in
/usr/local/bin

Is that the issue? Do I need to move it somewhere else?



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread bruinboy

disaster123 wrote: 
> Sorry no - but for Mac OS X those should fit:
> https://github.com/adamcohenrose/shairport_plugin/blob/master/README.md
> 
> But use my url for the plugin.


Which url?  What do I install?  I installed the ShairTunes2.zip from
your github website, but when installed LMS states: "plugin is
incompatible with your platform"

S



bruinboy's Profile: http://forums.slimdevices.com/member.php?userid=62436
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread disaster123

epoch1970 wrote: 
> Disaster123,
> thanks for the i386 executable.
> 
> I went to the server and saw it was ready to restart to finish plugin
> update. I did, then the players were numb. I could select them from my
> iPad, but none would react. Restarted avahi, to no avail. Restarted LMS
> again and then players became responsive. I am running LMS off a very
> low powered machine (Geode LX 800) and this might come into play.
> 
> I am under the impression the players (the helper?) do not flush the
> audio buffer before playing? 
> For the sake of testing, I am using the Music app on my iPad (iOS
> current version.) There I have a bunch of songs I bought on iTunes. None
> are local, when I play them they stream from Apple's cloud. So it takes
> a little time (1 or 2 secs) before a song starts playing on the iPad.
> When I select an SB3 player as the Airplay target, the display follows
> closely which track I select on the iPad.
> However, when I switch track the player seems to want to go in pause
> mode. The iPad is playing, and the SB3 is paused.
> If I press play, then I hear what's left in the buffer of the previous
> song (at that moment song info is wrong on the SB3), then I hear the
> right song (corresponding to the song info)
> The most robust workaround seems to press the rewind << key on the
> remote twice. 1st press brings the player to "stopped" mode, 2nd press
> to "play".
> 
> I tried browsing some youtube video clips using Safari on the iPad, and
> did not notice the same behavior when jumping from one song to another.

I've similiar problems with my SBS3. While the radio works always fine -
the SB3 classic sucks most of the time. Sadly i've no idea why ;-(



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread epoch1970

Disaster123,
thanks for the i386 executable.

I went to the server and saw it was ready to restart to finish plugin
update. I did, then the players were numb. I could select them from my
iPad, but none would react. Restarted avahi, to no avail. Restarted LMS
again and then players became responsive. I am running LMS off a very
low powered machine (Geode LX 800) and this might come into play.

I am under the impression the players (the helper?) do not flush the
audio buffer before playing? 
For the sake of testing, I am using the Music app on my iPad (iOS
current version.) There I have a bunch of songs I bought on iTunes. None
are local, when I play them they stream from Apple's cloud. So it takes
a little time (1 or 2 secs) before a song starts playing on the iPad.
When I select an SB3 player as the Airplay target, the display follows
closely which track I select on the iPad.
However, when I switch track the player seems to want to go in pause
mode. The iPad is playing, and the SB3 is paused.
If I press play, then I hear what's left in the buffer of the previous
song (at that moment song info is wrong on the SB3), then I hear the
right song (corresponding to the song info)
The most robust workaround seems to press the rewind << key on the
remote twice. 1st press brings the player to "stopped" mode, 2nd press
to "play".

I tried browsing some youtube video clips using Safari on the iPad, and
did not notice the same behavior when jumping from one song to another.



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.8.1
(Debian 7.5)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • WeatherTime by Martin Rehfeld • ShairTunes
by StuartUSA • Local Player, BBC iPlayer, SwitchPlayer by Triode • Auto
Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread disaster123

rickwookie wrote: 
> Please excuse the impatience but I went ahead and installed 7.8.1
> (assumed less risk) and tried the plugin. The four players get
> announced, and I don't seem to be getting the player disconnects that I
> was before with StuartUSA'a version. However trying to airplay (I'm
> trying from Amazon music on my iPhone for example) to my Bedroom SBRadio
> I get no airplay output. In fact if it's playing from my library it will
> just happily carry on.
> .

You're on ARM. I don't have an ARM binary ready. Can you compile one?



disaster123's Profile: http://forums.slimdevices.com/member.php?userid=13752
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread rickwookie

Please excuse the impatience but I went ahead and installed 7.8.1
(assumed less risk) and tried the plugin. The four players get
announced, and I don't seem to be getting the player disconnects that I
was before with StuartUSA'a version. However trying to airplay (I'm
trying from Amazon music on my iPhone for example) to my Bedroom SBRadio
I get no airplay output. In fact if it's playing from my library it will
just happily carry on.

Here's the log:
[15-05-23 16:21:45.8648] Plugins::ShairTunes2::Plugin::initPlugin (89)
Initialising 0.12 on arm-linux-gnueabihf-thread-multi-64int
[15-05-23 16:21:49.7569] Plugins::ShairTunes2::Plugin::publishPlayer
(205) start avahi-publish-service "Dining Room"
[15-05-23 16:21:51.3957] Plugins::ShairTunes2::Plugin::publishPlayer
(205) start avahi-publish-service "Lounge"
[15-05-23 16:21:51.5095] Plugins::ShairTunes2::Plugin::publishPlayer
(205) start avahi-publish-service "Bedroom"
[15-05-23 16:21:52.2165] Plugins::ShairTunes2::Plugin::publishPlayer
(205) start avahi-publish-service "Patio"
[15-05-23 16:22:01.1198]
Slim::Plugin::AudioScrobbler::Plugin::_handshakeOK (349) Invalid Last.fm
username or password.
[15-05-23 16:22:45.1020]
Plugins::ShairTunes2::Plugin::handleSocketConnect (261) New connection
from 192.168.11.134
[15-05-23 16:22:45.3593] Slim::Utils::Misc::msg (1311) Warning:
[16:22:45.3569] Use of uninitialized value $portdesc in pattern match
(m//) at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm
line 438.
[15-05-23 16:22:45.3614] Slim::Utils::Misc::msg (1311) Warning:
[16:22:45.3601] Use of uninitialized value $portdesc in concatenation
(.) or string at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm
line 438.
[15-05-23 16:22:45.3789] Slim::Networking::IO::Select::__ANON__ (147)
Error: Select task failed calling
Plugins::ShairTunes2::Plugin::handleSocketRead: Expected port number
from decoder; got  at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2/Plugin.pm
line 438.
; fh=IO::Socket::INET=GLOB(0x56649f0)

So, hopefully there's something to go by there.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread rickwookie

Ok so I REALLY want to try this. I had StuartUSA's version working but
it gave all sorts of problems with players constantly dropping off the
server, problems all fixed by disabling the plugin again (go figure).

Anyway, I'm running 7.7.6 so I'd need to upgrade to try this, so looking
at the installers available my question is, 7.8.1 or 7.9.0? I see both
versions are being built nightly, so why wouldn't I want to go straight
to 7.9.0?



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2015-05-23 Thread rickwookie

disaster123 wrote: 
> It's included in v0.2 - please test. Binary is from adamcohenrose github
> repo. Don't have Mac OS X.

Ha! Adam Cohen Rose. Small word.



rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


  1   2   3   4   >