Re: [SlimDevices: Plugins] Triode Spotify plug-in Player can't connect, Unable to stream

2014-08-21 Thread baroquedub

For anyone finding this thread with similar issues...

Well, tired of hitting my head against a brick wall I finally took the
plunge and updated my system. Rather than sticking with Ubuntu I've
reinstalled the operating system, choosing Lubuntu (14.04) because of
its much smaller footprint. I also upgraded to Logitech Media Server 7.8
(note that the last 'official' release 7.7.x won't work on Trusty Tahr
14.04)

And Triode's Spotify plug-in now works great. I didn't have to change
any network settings in my router, or set-up any special port-forwarding
rules. Just worked right away. So I expect the issue was somehow with
Squeezboxserver version 7.5.1 running on Ubuntu 10.04. Go figure.

Thanks for a great plug-in Triode - great to finally have Spotify on all
my Squeezeboxes :)



http://baroquedub.co.uk/

baroquedub's Profile: http://forums.slimdevices.com/member.php?userid=20938
View this thread: http://forums.slimdevices.com/showthread.php?t=99281

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


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2014-08-21 Thread mentos

Also heres output of netstat for UDP and TCP


Code:


  [root@sbs ~]# netstat -tulpn
  Active Internet connections (only servers)
  Proto Recv-Q Send-Q Local Address   Foreign Address 
State   PID/Program name   
  tcp0  0 0.0.0.0:90900.0.0.0:*   
LISTEN  2886/perl   
  tcp0  0 0.0.0.0:39525   0.0.0.0:*   
LISTEN  2886/perl   
  tcp0  0 0.0.0.0:90000.0.0.0:*   
LISTEN  2886/perl   
  tcp0  0 0.0.0.0:22  0.0.0.0:*   
LISTEN  2790/sshd   
  tcp0  0 127.0.0.1:250.0.0.0:*   
LISTEN  2838/sendmail   
  tcp0  0 0.0.0.0:34830.0.0.0:*   
LISTEN  2886/perl   
  tcp0  0 :::33797:::*
LISTEN  2886/perl   
  tcp0  0 :::57492:::*
LISTEN  2886/perl   
  tcp0  0 :::56308:::*
LISTEN  2886/perl   
  tcp0  0 :::50837:::*
LISTEN  2886/perl   
  tcp0  0 :::22   :::*
LISTEN  2790/sshd   
  udp0  0 0.0.0.0:52362   0.0.0.0:* 
  3616/avahi-daemon   
  udp0  0 0.0.0.0:34830.0.0.0:* 
  2886/perl   
  udp0  0 0.0.0.0:56654   0.0.0.0:* 
  2886/perl   
  udp0  0 0.0.0.0:53530.0.0.0:* 
  3616/avahi-daemon   
  udp0  0 0.0.0.0:19000.0.0.0:* 
  2886/perl   
  udp0  0 192.168.1.200:1900  0.0.0.0:* 
  2886/perl   
  udp0  0 192.168.1.200:123   0.0.0.0:* 
  2815/ntpd   
  udp0  0 127.0.0.1:123   0.0.0.0:* 
  2815/ntpd   
  udp0  0 0.0.0.0:123 0.0.0.0:* 
  2815/ntpd   
  udp0  0 :::38064:::*  
  3616/avahi-daemon   
  udp0  0 fe80::226:2dff:fe48:cd5b:123 :::* 
   2815/ntpd   
  udp0  0 ::1:123 :::*  
  2815/ntpd   
  udp0  0 :::123  :::*  
  2815/ntpd   
  




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

2014-08-21 Thread mentos

I really appreciate the help. I'm tempted to just leave it, but I've
expended so much time on it I'm loathed to do so.

I've tried disabling the firewall on my router (BT Home Hub 5) and
disabling PNP security, incase its doing some multicast filtering. But I
assume even if it was I should still see the publish processes on the
server?



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

2014-08-21 Thread bpa

mentos wrote: 
 I really appreciate the help. I'm tempted to just leave it, but I've
 expended so much time on it I'm loathed to do so.
 
 I've tried disabling the firewall on my router (BT Home Hub 5) and
 disabling PNP security, incase its doing some multicast filtering. But I
 assume even if it was I should still see the publish processes on the
 server?

Router etc. will do nothing to stop an application opening a port on
your Linux system ethernet interface. There is no sign of port 5123
being open so there is a problem with plugin initialisation.

The log says Plugin is version 0.23.6 yet source code for plugin on git
says version is 0.23 - where did you get the plugin from and how did you
install it ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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

2014-08-21 Thread castalla

bpa wrote: 
 Router etc. will do nothing to stop an application opening a port on
 your Linux system ethernet interface. There is no sign of port 5123
 being open so there is a problem with plugin initialisation.
 
 The log says Plugin is version 0.23.6 yet source code for plugin on git
 says version is 0.23 - where did you get the plugin from and how did you
 install it ?

Not trying to muddy the waters ... but just noticed the reference to
ethernet.  Errr  see here:
http://forums.slimdevices.com/showthread.php?100379-Announce-ShairTunes-Pluginp=781703viewfull=1#post781703

I never discovered a solution  but it became academic as I run LMS
on wifi, so I didn't pursue it further



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Smart Radio
Raspberry Pi + Squeezeplug LMS + Squeezelite - Logitech Mini Boombox
speaker (mothballed)
Cubieboard + Debian 7 + LMS 7.8.1 + Squeezelite - Soundwave SW100
bluetooth speaker - Airplay
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers -
Airplay
IBOX + Debian 7 + LMS 7.8.1 + Squeezelite - Logitech Mini Boombox
speaker - Soundwave SW100 bluetooth speaker - AirPlay

castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
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: New versions of erlands plugins

2014-08-21 Thread SlimChances

Erland
I will run another scan and make note of the time on on log and time
during scan. I will not play any music for the duration of the scan and
see what happens



Logitech Media Server Version:  7.9.0 - 1408216432 @ Tue Aug 19 04:02:47
UTC 2014
Operating system: Debian - EN - utf8   Platform
Architecture: x86_64-linux
Perl Version: 5.18.2 - x86_64-linux-gnu-thread-multi
Database Version: DBD::SQLite 1.34_01
(sqlite 3.7.7.1)

One SB Touch connected by ethernet - Denon AVR -1912 Receiver, Paradigm
4.1 speakers
Two SB Radio wireless

SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: ShairTunes Plugin

2014-08-21 Thread bpa

castalla wrote: 
 Not trying to muddy the waters ... but just noticed the reference to
 ethernet.  Errr  see here:
 http://forums.slimdevices.com/showthread.php?100379-Announce-ShairTunes-Pluginp=781703viewfull=1#post781703
 
 I never discovered a solution  but it became academic as I run LMS
 on wifi, so I didn't pursue it further

Before the plugin was written, I played witht he Airplay stuff by having
the shairport helper feeding into LMS  WaveInput on a Ubuntu system
using Ethernet. Avahi worked ok on Ethernet in that context.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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

2014-08-21 Thread castalla

bpa wrote: 
 Before the plugin was written, I played with the Airplay stuff by having
 the shairport helper feeding into LMS  WaveInput on a Ubuntu system
 using Ethernet. Avahi worked ok on Ethernet in that context.
 
 At the moment the issue is no process listening on port 5123, this is
 part of initialisation and before any interaction with avahi.  So either
 process is listening but netstat output is faulty or initialisation
 didn't work AND plugin didn't detect the failure. SO I'm assuming
 netstat output is OK and Plugin has failed - so first I'm checking
 whether the source of Plugin.pm on git the same as the one being used.

Errr  I can't see 5123 listening on my system ?

I may not be looking correctly  (lsof -t -i:5123) 



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Smart Radio
Raspberry Pi + Squeezeplug LMS + Squeezelite - Logitech Mini Boombox
speaker (mothballed)
Cubieboard + Debian 7 + LMS 7.8.1 + Squeezelite - Soundwave SW100
bluetooth speaker - Airplay
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers -
Airplay
IBOX + Debian 7 + LMS 7.8.1 + Squeezelite - Logitech Mini Boombox
speaker - Soundwave SW100 bluetooth speaker - AirPlay

castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
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

2014-08-21 Thread mentos

castalla wrote: 
 Not trying to muddy the waters ... but just noticed the reference to
 ethernet.  Errr  see here:
 http://forums.slimdevices.com/showthread.php?100379-Announce-ShairTunes-Pluginp=781703viewfull=1#post781703
 
 I never discovered a solution  but it became academic as I run LMS
 on wifi, so I didn't pursue it further

Yes I saw that earlier, thats why I went and disabled firewall and UPNP
security, I figured maybe the router was blocking multicast on wired. I
have seen others report issues with routers blocking multicast and stock
Apple TV's not working.



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

2014-08-21 Thread mentos

bpa wrote: 
 Router etc. will do nothing to stop an application opening a port on
 your Linux system ethernet interface. There is no sign of port 5123
 being open so there is a problem with plugin initialisation.
 
 The log says Plugin is version 0.23.6 yet source code for plugin on git
 says version is 0.23 - where did you get the plugin from and how did you
 install it ?

Yes I agree, but just wanted to make sure its just a straight forward
Multicast that Airplay sources like Shairtunes do and theres nothing
needed from Sinks to trigger anything. Also since I don't know the
processes which run on a working system I thought maybe everything was
actually ok, thats why the input from you guys as to what I should see
is invaluable.

I got the shairtunes plugin by adding the source listed here to the LMS
plugins page:

https://github.com/StuartUSA/shairport_plugin

I was running an earlier version of LMS at the time though, now I'm on
7.8.



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

2014-08-21 Thread mentos

castalla wrote: 
 Errr  I can't see 5123 listening on my system ?
 
 I may not be looking correctly  (lsof -t -i:5123) 

lsof -t -i:5123 returns nothing :/



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

2014-08-21 Thread castalla

mentos wrote: 
 lsof -t -i:5123 returns nothing :/

Same here.



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Smart Radio
Raspberry Pi + Squeezeplug LMS + Squeezelite - Logitech Mini Boombox
speaker (mothballed)
Cubieboard + Debian 7 + LMS 7.8.1 + Squeezelite - Soundwave SW100
bluetooth speaker - Airplay
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers -
Airplay
IBOX + Debian 7 + LMS 7.8.1 + Squeezelite - Logitech Mini Boombox
speaker - Soundwave SW100 bluetooth speaker - AirPlay

castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
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

2014-08-21 Thread mentos

castalla wrote: 
 Same here.

Ahh I misunderstood what you meant, I thought you were asking me to run
it :)



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

2014-08-21 Thread castalla

mentos wrote: 
 Ahh I misunderstood what you meant, I thought you were asking me to run
 it :)

:)  Can you try using wifi?



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Smart Radio
Raspberry Pi + Squeezeplug LMS + Squeezelite - Logitech Mini Boombox
speaker (mothballed)
Cubieboard + Debian 7 + LMS 7.8.1 + Squeezelite - Soundwave SW100
bluetooth speaker - Airplay
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers -
Airplay
IBOX + Debian 7 + LMS 7.8.1 + Squeezelite - Logitech Mini Boombox
speaker - Soundwave SW100 bluetooth speaker - AirPlay

castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
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

2014-08-21 Thread bpa

I'm convinced Port 5123 listen is failing. So you need to check the
error code from socket initialisation - I suggest add lines in red in
Plugin.pm and restart LMS making sure plugin.shairplug logging is set to
DEBUG and for startup


Code:


  sub createListenPort()
  {
  my $port = 5123;
  my $listen;
  
  $listen   = new IO::Socket::INET6(Listen = 1,
  Domain = AF_INET6,
  ReuseAddr = 1,
  Proto = 'tcp' );
  $log-info(Returns from Listen in inet 6:  Listen=$listen  and status:  $! )
  $listen ||= new IO::Socket::INET(Listen = 1,
  ReuseAddr = 1,
  Proto = 'tcp' );
  
  $log-info(Returns from Listen in inet 4:  Listen=$listen  and status:  $! )
  
  return $listen
  }
  
  




bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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

2014-08-21 Thread mentos

castalla wrote: 
 :)  Can you try using wifi?

I never bothered setting up the wireless card, since its located right
next to router :/



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: Custom Clock applet for Touch/Radio/Controller

2014-08-21 Thread ciarpame

Does the plugin works with LMS 7.8 or 7.9? 

Thank you.



ciarpame's Profile: http://forums.slimdevices.com/member.php?userid=32995
View this thread: http://forums.slimdevices.com/showthread.php?t=68269

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


Re: [SlimDevices: Plugins] Soundcloud plugin for squeezeserver

2014-08-21 Thread mivola

nldroid wrote: 
 It's definitly an Api change. The difference between the two methods is
 that the 'stream redirect' that soundcloud returns uses *https *and the
 'download redirect' uses *http*. 
 
 I 'fixed' it by adding one line to the ProtocolHandler.pm file. 
 
 
 
 The first line is line 143. I added the second line.
 
 I don't know if this is a permanent/good solution.
 
 Edit for some more information:
 
 Soundcloud returns the redirector location when getting the stream data.
 It's part of the header that's in the http response. For some reason,
 the https location doesn't work (with this plugin).

Hi,

I tried your fix as well (on Debian Linux) but without success. Here is
a snippet from the log:


Code:


  [14-08-22 07:46:57.4355] Plugins::SqueezeCloud::ProtocolHandler::getNextTrack 
(169) Getting track from soundcloud for 101464420
  [14-08-22 07:46:57.5735] Plugins::SqueezeCloud::ProtocolHandler::gotNextTrack 
(115) h 
ttp://api.soundcloud.com/tracks/101464420/stream?client_id=ff21e0d51f1ea3baf9607a1d072c564f
  [14-08-22 07:46:57.7121] Plugins::SqueezeCloud::ProtocolHandler::gotNextTrack 
(133) setting soundcloud_meta_101464420
  [14-08-22 07:46:58.5670] 
Plugins::SqueezeCloud::ProtocolHandler::handleDirectError (291) Direct stream 
failed: h 
ttp://soundcloud.hs.llnwd.net/LbJlDNnidizQ.128.mp3?AWSAccessKeyId=AKIAJNIGGLK7XA7YZSNQExpires=1408686821Signature=0cT9kPUPqOpaXmLQ5QQGzVlXzZc%3De=1408686821h=056a4a8b54bd315fe4e348fc8dc82432
 [400] HTTP/1.0 400 Bad Request
  



Any other ideas? 

Thanks in advance!
Michael



mivola's Profile: http://forums.slimdevices.com/member.php?userid=63238
View this thread: http://forums.slimdevices.com/showthread.php?t=92723

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