Re: [SlimDevices: Plugins] [Announce] Spotty 3.x - Spotify Podcasts on your Squeezebox

2020-02-28 Thread tbali


mherger wrote: 
> Ports used are: 4070, 443, 80, 5353/UDP. But that's outgoing. What 
> you'll probably need is 5353.

Beside 5353 (mDNS) I had to open those I listed above (42247, 40641,
35134) from the guest network to the spotty-x86_64 instances which are
listening on these TCP ports (see lsof command output). So every Spotty
instance gets a TCP port assigned somehow, it looks like randomly, and
they get always a new one at restart. They advertise these over mDNS
like this: 


Code:

PTR Livingroom._spotify-connect._tcp.local., A **, TXT "VERSION=1.0" "CPath=/", SRV *lmsseverfqdn*.local.:*42247*



Now I allowed access to the port range 32000-65535, but this isn't the
nicest solution. But not a problem so don't put efforts in it.

Thanks for this integration! It's superb, my kids and wife love it.



tbali's Profile: http://forums.slimdevices.com/member.php?userid=65336
View this thread: http://forums.slimdevices.com/showthread.php?t=111217

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


Re: [SlimDevices: Plugins] [Announce] Spotty 3.x - Spotify Podcasts on your Squeezebox

2020-02-27 Thread tbali


Hello Michael,

How are the listening TCP ports assigned to the spotty instances? Can
that be configured somehow? Or what port range is used?
I've tried to look this up in the spotty sources but could not find it.

This is what I have now for 3 Connect instances on the LMS server:


Code:

# lsof -i | grep spotty | grep LISTEN
  spotty-x8 5494 squeezeboxserver   25u  IPv4 29805632  0t0  TCP *:42247 
(LISTEN)
  spotty-x8 7487 squeezeboxserver   25u  IPv4 33727953  0t0  TCP *:40641 
(LISTEN)
  spotty-x8 8614 squeezeboxserver   25u  IPv4 34087658  0t0  TCP *:35134 
(LISTEN)
  



I'm asking because I managed to let Spotify clients use Spotty from
different (Guest) network via Avahi reflector, and it works like a
charm, but want to open only the required ports to the LMS server
machine.

Thanks in advance!



tbali's Profile: http://forums.slimdevices.com/member.php?userid=65336
View this thread: http://forums.slimdevices.com/showthread.php?t=111217

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