philippe_44 wrote: 
> If the debug tells you that no player is detected, then no config file
> will be generated, that's the way it works. Check if you have multiple
> NICs and then you might be bound to the wrong one or see if your network
> topology (router) is filtering out some broadcast packets, or if you are
> running in a docker container, make sure you have read user guide and #1
> post of this thread

Thank you for checking in, Philippe.


    
- Single network interface
- no docker/vm - running straight
- no SELinux
- no firewall
- all in the same subnet,
- on the same wifi network
- Wireshark reveals that the Sonos devices are broadcasting SSDP
  packets to 255.255.255.255:1900
- I can talk to both devices (Sonos) on port 1400.
- There are no active network interfaces on my laptop but lo and
  wlan0.
  


mylaptop ~ $ ifconfig 
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10<host>
loop  txqueuelen 1000  (Local Loopback)
RX packets 2250828  bytes 3618279852 (3.3 GiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 2250828  bytes 3618279852 (3.3 GiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.100.22  netmask 255.255.255.0  broadcast
192.168.100.255
ether xx:yy:zz:aa:bb:cc  txqueuelen 1000  (Ethernet)
RX packets 44915013  bytes 37332713136 (34.7 GiB)
RX errors 0  dropped 17  overruns 0  frame 0
TX packets 25109437  bytes 15041952391 (14.0 GiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


mylaptop ~
$/var/lib/logitechmediaserver/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-x86-64-static
-i /tmp/sq2pnp.conf -f /tmp/sq2pnp.debug -d all=debug

results in:

[12:10:46.417544] main:1756 Starting squeeze2upnp version: v1.42.0 (Nov
15 2020 @ 16:16:15)
[12:10:46.417659] main:1764 

!!!!!!!!!!!!!!!!!! ERROR LOADING CONFIG FILE !!!!!!!!!!!!!!!!!!!!!

[12:10:46.419682] register_alac:550 using alac to decode alc
[12:10:46.419724] register_mad:433 using mad to decode mp3
[12:10:46.419738] register_faad:647 using faad to decode aac
[12:10:46.419750] register_vorbis:346 using vorbis to decode ogg
[12:10:46.419761] register_pcm:339 using pcm
[12:10:46.419773] register_flac:313 using flac to decode flc
[12:10:46.419784] register_opus:286 using opus to decode ops
[12:10:46.419795] register_m4a_thru:307 using mp4 to aac (ADTS)
[12:10:46.419806] register_flac_thru:247 using flac
[12:10:46.419817] register_thru:106 using thru
[12:10:46.419828] register_soxr:394 using soxr for resampling
[12:10:46.419840] Start:1519 Binding to 192.168.100.22:49152
[12:11:06.001377] UpdateThread:1092 Presence checking
[12:11:06.201797] UpdateThread:1092 Presence checking
[12:11:07.821851] Stop:1541 stopping squeezelite devices ...
[12:11:07.821997] Stop:1545 terminate update thread ...
[12:11:07.822166] Stop:1550 terminate main thread ...
[12:11:07.822336] Stop:1554 stopping UPnP devices ...
[12:11:07.822378] Stop:1557 un-register libupnp callbacks ...
[12:11:07.822399] Stop:1559 end libupnp ...


....and no config file is written to /tmp/sq2pnp.conf 

I find it highly likely that I am overlooking something immensely stupid
and simple, but I normally figure out stupid and simple stuff by
sleeping on it.

The debugfile does not explicitly state that it found players. Or that
it did not. I assume 'UpdateThread:1092 Presence checking' hints at
finding a player. (I have two.)


------------------------------------------------------------------------
dagb's Profile: http://forums.slimdevices.com/member.php?userid=19138
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

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

Reply via email to