SqueezeBox speak

I wonder if we miss messages from the server; as even with massive timeout values the problem persists; I noticed that the “wait” methods register only after the command was sent. Could this result in a race condition were we miss the answer (if it is too fast; insted of too slow)?

For example:

// Give up since we timed out waiting for playlist to update
            squeezeBoxServerHandler.setVolume(mac, playerState.getVolume());
            waitForVolume(playerState.getVolume());

should 1st register then send the command:

        SqueezeBoxNotificationListener listener = new SqueezeBoxNotificationListener(mac);
        squeezeBoxServerHandler.registerSqueezeBoxPlayerListener(listener);
        squeezeBoxServerHandler.setVolume(mac, targetVolume);

Possible, but the LMS would need to respond very, very quickly, which is not the behavior I’ve observed from the LMS.

or the runtime is slow for any reason … I´ll give it a try if I refactor the thing to properly register 1st; as it could happen (and according to Murphy it will).

ok … my setup needs both, higher timouts and proper synchronization; then tts seems to work. My prototype has some problems with dynamically created playlists - but that´s not a big issue. I´ll give it a couple of days to run to see if it remains stable.

I factored the notification handling out into its own class to make the classes smaller; might in any case be worth a consideration.

That’s good. If it continues to work well, can you submit a PR?

@mhilbush
Strange; problem still persists - if I remove the wiat for the prefset confirmation of the command it works. Using trace I see that I only receive prefset messages for power and playlist item played; but not for stop and volume. Do you have any idea?

2017-12-24 13:06:52.673 [INFO ] [e.smarthome.model.script.Debug.rules] - TTS test - start ...
2017-12-24 13:06:52.677 [DEBUG] [eezebox.internal.SqueezeBoxAudioSink] - Processing audioStream http://192.168.0.73:8080/audio/049e28a9-501b-4754-83a0-5b195af940e1.mp3 of format AudioFormat [codec=MP3, container=NONE, bitDepth=16, bitRate=64000, frequency=44100]
2017-12-24 13:06:52.678 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Play notification sound on player 00:04:20:29:62:0e at URI http://192.168.0.73:8080/audio/049e28a9-501b-4754-83a0-5b195af940e1.mp3
2017-12-24 13:06:52.681 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Cur State: vol=16, mut=NOT MUTED, pwr=OFF, stp=STOPPED, ctl=PAUSED, shf=OFF, rpt=OFF, tix=0, tnm=1, tim=46
2017-12-24 13:06:52.685 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Initializing notification volume to current player volume
2017-12-24 13:06:52.687 [DEBUG] [.internal.SqueezeBoxPlayNotification] - Current number of tracks in the playlist: 1
2017-12-24 13:06:52.688 [DEBUG] [.internal.SqueezeBoxPlayNotification] - Setting up player for notification
2017-12-24 13:06:52.688 [DEBUG] [.internal.SqueezeBoxPlayNotification] - Powering on the player
2017-12-24 13:06:52.689 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:04:20:29:62:0e power 1
2017-12-24 13:06:52.694 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Registering player listener
2017-12-24 13:06:52.695 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:04:20:29:62:0e playlist add http://192.168.0.73:8080/audio/049e28a9-501b-4754-83a0-5b195af940e1.mp3
2017-12-24 13:06:52.696 [TRACE] [.internal.SqueezeBoxPlayNotification] - Waiting up to 50000 ms for playlist to be updated...
2017-12-24 13:06:52.713 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A04%3A20%3A29%3A62%3A0e power 1 
2017-12-24 13:06:52.714 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled player update message type 'power'.
2017-12-24 13:06:52.717 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0x99c7344) 
2017-12-24 13:06:52.718 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled player update message type 'displaynotify'.
2017-12-24 13:06:52.722 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A04%3A20%3A29%3A62%3A0e playlist add http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2F049e28a9-501b-4754-83a0-5b195af940e1.mp3 
2017-12-24 13:06:52.722 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled playlist message type '[00%3A04%3A20%3A29%3A62%3A0e, playlist, add, http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2F049e28a9-501b-4754-83a0-5b195af940e1.mp3]'
2017-12-24 13:06:52.726 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A04%3A20%3A28%3A65%3Ac7 menustatus ARRAY(0x962fba4) add 00%3A04%3A20%3A28%3A65%3Ac7
2017-12-24 13:06:52.727 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled player update message type 'menustatus'.
2017-12-24 13:06:52.730 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A04%3A20%3A2a%3A3b%3A21 menustatus ARRAY(0x99e0c0c) add 00%3A04%3A20%3A2a%3A3b%3A21
2017-12-24 13:06:52.731 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled player update message type 'menustatus'.
2017-12-24 13:06:52.734 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A04%3A20%3A29%3Aa7%3A27 menustatus ARRAY(0x99e54d4) add 00%3A04%3A20%3A29%3Aa7%3A27
2017-12-24 13:06:52.735 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled player update message type 'menustatus'.
2017-12-24 13:06:52.738 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A04%3A20%3A28%3A65%3A91 menustatus ARRAY(0x9810fb4) add 00%3A04%3A20%3A28%3A65%3A91
2017-12-24 13:06:52.739 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled player update message type 'menustatus'.
2017-12-24 13:06:52.742 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A04%3A20%3A23%3A52%3A3c menustatus ARRAY(0x9631814) add 00%3A04%3A20%3A23%3A52%3A3c
2017-12-24 13:06:52.742 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled player update message type 'menustatus'.
2017-12-24 13:06:52.746 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A04%3A20%3A2a%3A37%3A4b menustatus ARRAY(0x99c53c4) add 00%3A04%3A20%3A2a%3A37%3A4b
2017-12-24 13:06:52.747 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled player update message type 'menustatus'.
2017-12-24 13:06:52.750 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 4b%3A22%3A1b%3A57%3Aca%3A87 menustatus ARRAY(0x980a0bc) add 4b%3A22%3A1b%3A57%3Aca%3A87
2017-12-24 13:06:52.751 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled player update message type 'menustatus'.
2017-12-24 13:06:52.822 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A04%3A20%3A29%3A62%3A0e prefset server power 1
2017-12-24 13:06:52.824 [TRACE] [ebox.handler.SqueezeBoxPlayerHandler] - Updating channel power for thing squeezebox:squeezeboxplayer:D841762A-D007-4609-988D-EC0A58A82A56:00042029620e with mac 00:04:20:29:62:0e to state ON
2017-12-24 13:07:00.169 [INFO ] [.smarthome.model.script.Wecker.rules] - TimeToAlarm - Timer: null
2017-12-24 13:07:40.051 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: players 0
2017-12-24 13:07:43.612 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unregistering player listener
2017-12-24 13:07:43.613 [WARN ] [.internal.SqueezeBoxPlayNotification] - TIMEOUT after 50000 waiting for playlist to update!
2017-12-24 13:07:43.615 [ERROR] [.internal.SqueezeBoxPlayNotification] - TIMEOUT

How does the communication look with your LMS and what version of the server do you use?

This is really strange.

Here’s my LMS version: Logitech Media Server Version: 7.9.1 - 1511768958 @ Mon Nov 27 07:52:54 UTC 2017

I’m not on OH 2.2 stable. But, I’m on snapshot build 1140, which is pretty close to the 2.2 stable release.

I’ll do some tests to see if I can get similar behavior.

Here’s what I’m seeing, which looks completely unremarkable. All the times look like what I’m accustomed to seeing.

2017-12-24 11:24:33.331 [DEBUG] [eezebox.internal.SqueezeBoxAudioSink] - Processing audioStream http://192.168.10.30:8080/audio/3a7cec50-3f0c-464c-b9db-78f6615aa54d.mp3 of format AudioFormat [codec=MP3, container=NONE, bitDepth=16, bitRate=64000, frequency=44100]
2017-12-24 11:24:33.332 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Play notification sound on player 00:26:18:57:f0:31 at URI http://192.168.10.30:8080/audio/3a7cec50-3f0c-464c-b9db-78f6615aa54d.mp3
2017-12-24 11:24:33.332 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Cur State: vol=80, mut=NOT MUTED, pwr=ON, stp=NOT STOPPED, ctl=PLAYING, shf=OFF, rpt=OFF, tix=0, tnm=1, tim=184
2017-12-24 11:24:33.333 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Setting up player for notification
2017-12-24 11:24:33.333 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:26:18:57:f0:31 stop
2017-12-24 11:24:33.334 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:26:18:57:f0:31 mixer volume 53
2017-12-24 11:24:33.435 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Done waiting 100 ms for volume to update
2017-12-24 11:24:33.435 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Playing notification
2017-12-24 11:24:33.436 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:26:18:57:f0:31 playlist add http://192.168.10.30:8080/audio/3a7cec50-3f0c-464c-b9db-78f6615aa54d.mp3
2017-12-24 11:24:33.939 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Done waiting 500 ms for playlist to update
2017-12-24 11:24:33.940 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:26:18:57:f0:31 playlist index 1
2017-12-24 11:24:35.547 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Done waiting 1600 ms for stop
2017-12-24 11:24:35.549 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Restoring player state
2017-12-24 11:24:35.550 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:26:18:57:f0:31 mixer volume 0
2017-12-24 11:24:35.652 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Done waiting 100 ms for volume to update
2017-12-24 11:24:35.653 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:26:18:57:f0:31 playlist delete 1
2017-12-24 11:24:37.261 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Done waiting 1600 ms for playlist to update
2017-12-24 11:24:37.262 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Resuming last item playing
2017-12-24 11:24:37.263 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:26:18:57:f0:31 playlist index 0
2017-12-24 11:24:38.069 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Done waiting 800 ms for playlist to update
2017-12-24 11:24:38.069 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:26:18:57:f0:31 time 184
2017-12-24 11:24:38.070 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Playing the playlist item
2017-12-24 11:24:38.070 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:26:18:57:f0:31 mixer volume 80
2017-12-24 11:24:38.171 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Done waiting 100 ms for volume to update

Looking specifically at the playlist add at TRACE level… The key line is this one, which indicates that the playlist contains the new entry. I don’t see that line in your log, and I have no idea why not. It’s important to have this, as it’s used later to delete the TTS playlist entry.

2017-12-24 11:46:29.582 [TRACE] [ndler.SqueezeBoxNotificationListener] - Number of playlist tracks is 2 for player 00:26:18:57:f0:31
2017-12-24 11:46:29.225 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Playing notification
2017-12-24 11:46:29.225 [DEBUG] [ebox.handler.SqueezeBoxServerHandler] - Sending command: 00:26:18:57:f0:31 playlist add http://192.168.10.30:8080/audio/de9d481a-8199-44f9-8d60-3674ddb4531b.mp3
2017-12-24 11:46:29.226 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Registering player listener
2017-12-24 11:46:29.226 [TRACE] [ebox.handler.SqueezeBoxPlayerHandler] - Waiting up to 5000 ms for playlist to be updated...
2017-12-24 11:46:29.234 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A26%3A18%3A57%3Af0%3A31 displaynotify showbriefly HASH(0x8247630) 
2017-12-24 11:46:29.234 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled player update message type 'displaynotify'.
2017-12-24 11:46:29.237 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A26%3A18%3A57%3Af0%3A31 playlist add http%3A%2F%2F192.168.10.30%3A8080%2Faudio%2Fde9d481a-8199-44f9-8d60-3674ddb4531b.mp3 
2017-12-24 11:46:29.238 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled playlist message type '[00%3A26%3A18%3A57%3Af0%3A31, playlist, add, http%3A%2F%2F192.168.10.30%3A8080%2Faudio%2Fde9d481a-8199-44f9-8d60-3674ddb4531b.mp3]'
2017-12-24 11:46:29.238 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Message received: 00%3A26%3A18%3A57%3Af0%3A31 playlist load_done
2017-12-24 11:46:29.239 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unhandled playlist message type '[00%3A26%3A18%3A57%3Af0%3A31, playlist, load_done]'
2017-12-24 11:46:29.574 [TRACE] [ndler.SqueezeBoxNotificationListener] - Mode is stop for player 00:26:18:57:f0:31
2017-12-24 11:46:29.578 [TRACE] [ebox.handler.SqueezeBoxPlayerHandler] - Updating channel currentPlayingTime for thing squeezebox:squeezeboxplayer:BD72319C-1EC2-4FD3-8A1C-877B6796A80C:00261857f031 with mac 00:26:18:57:f0:31 to state 0
2017-12-24 11:46:29.580 [TRACE] [ndler.SqueezeBoxNotificationListener] - Volume is 53 for player 00:26:18:57:f0:31
2017-12-24 11:46:29.582 [TRACE] [ndler.SqueezeBoxNotificationListener] - Number of playlist tracks is 2 for player 00:26:18:57:f0:31
2017-12-24 11:46:29.583 [TRACE] [ebox.handler.SqueezeBoxPlayerHandler] - Updating channel numberPlaylistTracks for thing squeezebox:squeezeboxplayer:BD72319C-1EC2-4FD3-8A1C-877B6796A80C:00261857f031 with mac 00:26:18:57:f0:31 to state 2
2017-12-24 11:46:29.628 [TRACE] [ebox.handler.SqueezeBoxServerHandler] - Unregistering player listener
2017-12-24 11:46:29.629 [DEBUG] [ebox.handler.SqueezeBoxPlayerHandler] - Done waiting 400 ms for playlist to update

@mhilbush

Hi Mark,

I´ve tried the same server version as you do; still the same issue. I wonder if I shall change the playlist wait to expect the “load_done” message; as this is seen on both our systems. What do you think?

with kind regards,
Patrik

This is really perplexing…

Early on I considered using load_done, as it will indicate that the playlist add is successful. However, without the playlist number, it’s not possible to delete the TTS playlist item from the playlist once the TTS item has finished playing.

Also, since you’re having timeout issues on volume commands, load_done won’t help with those issues. :frowning:

It almost seems like messages from the LMS are being dropped somewhere. Is your LMS running on the same hardware as OH?

By any chance, do you have a backup of the OH version that worked, and would it be possible to revert to that backup in order to confirm that this issue goes away?

I think you also mentioned that you had 8 players. Would it be possible to reduce the number of players (by deleting the player Things), in order to see if that is having any influence on the behavior you’re seeing.

I´ll try to revert back to OH 2.1 binding and log the trace to see if it is different. OH and the LMS are on the same hardware - also tried some SW players to verify if the problem exists there as well.

Will post the log as soon as I´m ready.

@mhilbush

Hi Mark,

I played a little with telnet and I only receive a prefset for volume if the volume actually changes; if I send the same value as it is already then no response arrives:

00:04:20:2a:37:4b mixer volume 10
00%3A04%3A20%3A2a%3A37%3A4b mixer volume 10
00:04:20:2a:37:4b mixer volume 11
00%3A04%3A20%3A2a%3A37%3A4b mixer volume 11
00%3A04%3A20%3A2a%3A37%3A4b prefset server volume 11
00:04:20:2a:37:4b mixer volume 12
00%3A04%3A20%3A2a%3A37%3A4b mixer volume 12
00%3A04%3A20%3A2a%3A37%3A4b prefset server volume 12
00:04:20:2a:37:4b mixer volume 12
00%3A04%3A20%3A2a%3A37%3A4b mixer volume 12

Ugh. That might explain why volume is timing out intermittently. But it still doesn’t explain the other timeouts and long response times.

Maybe the fix for the volume issue is to begin handling the mixer volume message, which currently is not handled.

I can not “listen” with the telnet what happens exactly; I´ll have removed the timeouts to record a message sequence on my system:

pgfeller@DESKTOP-70STG73:~$ telnet 192.168.0.73 9090
Trying 192.168.0.73...
Connected to 192.168.0.73.
Escape character is '^]'.
listen 1
listen 1
00%3A04%3A20%3A2a%3A37%3A4b power 1
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2b41bc)
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2b58dc) HASH(0xc2b596c)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2b58ac) HASH(0xc2b5b7c)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc25c63c) HASH(0xc2b826c)
4b%3A22%3A1b%3A57%3Aca%3A87 menustatus ARRAY(0xc1cf874) add 4b%3A22%3A1b%3A57%3Aca%3A87
00%3A04%3A20%3A29%3A62%3A0e menustatus ARRAY(0xc2a4754) add 00%3A04%3A20%3A29%3A62%3A0e
00%3A04%3A20%3A29%3Aa7%3A27 menustatus ARRAY(0xc132834) add 00%3A04%3A20%3A29%3Aa7%3A27
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2b16ac) HASH(0xc2b1b3c)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2b92a4) HASH(0xc2a12d4)
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2bd68c) HASH(0xc2b1e5c)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2b994c) HASH(0xc2b184c)
00%3A04%3A20%3A23%3A52%3A3c menustatus ARRAY(0xc2af354) add 00%3A04%3A20%3A23%3A52%3A3c
00%3A04%3A20%3A2a%3A3b%3A21 menustatus ARRAY(0xc2b94a4) add 00%3A04%3A20%3A2a%3A3b%3A21
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2afb7c) HASH(0xc2b3e3c)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2abdec) HASH(0xc24c70c)
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2bd86c) HASH(0xc2b5fac)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2abb5c) HASH(0xc2b5ebc)
00%3A04%3A20%3A28%3A65%3A91 menustatus ARRAY(0xc2a30e4) add 00%3A04%3A20%3A28%3A65%3A91
00%3A04%3A20%3A28%3A65%3Ac7 menustatus ARRAY(0xc25f814) add 00%3A04%3A20%3A28%3A65%3Ac7
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2b012c) HASH(0xc2b013c)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2bc904) HASH(0xc2bcf94)
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2bd284) HASH(0xc2bd1b4)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2a162c) HASH(0xc2a6db4)
00%3A04%3A20%3A2a%3A37%3A4b prefset server power 1
00%3A04%3A20%3A29%3A62%3A0e playlist open http%3A%2F%2Fstream.srg-ssr.ch%2Fm%2Fregi_ag_so%2Faacp_96
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2bce34) HASH(0xc2bcc84)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc1d1274) HASH(0xc2b243c)
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2bc6e4) HASH(0xc2aab64)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2bda9c) HASH(0xc2bdc2c)
00%3A04%3A20%3A29%3A62%3A0e playlist open http%3A%2F%2Fstream.srg-ssr.ch%2Fm%2Fregi_ag_so%2Faacp_96
00%3A04%3A20%3A2a%3A37%3A4b menustatus ARRAY(0xc2b4624) add 00%3A04%3A20%3A2a%3A37%3A4b
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2b09b4) HASH(0xc2a4e44)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2af5ec) HASH(0xc2b018c)
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2ba594) HASH(0xc1b7f94)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2bd91c) HASH(0xc2bb4c4)
00%3A04%3A20%3A2a%3A37%3A4b playlist add http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2F40c42011-4dc7-404b-970d-f116e4a1bf93.mp3
00%3A04%3A20%3A2a%3A37%3A4b playlist load_done
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc24acbc) HASH(0xc25631c)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc265814) HASH(0xc24c77c)
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2ac534) HASH(0xc2abc8c)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2bf2f4) HASH(0xc2b63dc)
00%3A04%3A20%3A2a%3A37%3A4b playlist index 1
00%3A04%3A20%3A29%3A62%3A0e playlist stop
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2b8b04) HASH(0xc2beb04)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2a0f24) HASH(0xc2b8944)
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2a2904) HASH(0xc2b64ac)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc255a64) HASH(0xc2b7f7c)
00%3A04%3A20%3A29%3A62%3A0e playlist cant_open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2Fa45504d3-4783-44ea-ad48-91f8000da4df.mp3 404%20Not%20Found
00%3A04%3A20%3A29%3A62%3A0e playlist cant_open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2F54630c1b-4e49-439e-89a5-70c21982a846.mp3 404%20Not%20Found
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2b0ff4) HASH(0xc2b9204)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc25906c) HASH(0xc2a6c04)
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2bbd2c) HASH(0xc2bd9ec)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2b8f64) HASH(0xc2b34f4)
00%3A04%3A20%3A29%3A62%3A0e playlist cant_open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2Fd674903c-c837-4e88-9c94-3109d6f66ca5.mp3 404%20Not%20Found
4b%3A22%3A1b%3A57%3Aca%3A87 prefset server currentSong 4
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc243d94) HASH(0xc2afdec)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc257994) HASH(0xc2beb04)
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2a9f2c) HASH(0xc2a1f6c)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2b387c) HASH(0xc2bf484)
00%3A04%3A20%3A29%3A62%3A0e prefset server currentSong 4
00%3A04%3A20%3A2a%3A37%3A4b prefset server currentSong 4
00%3A04%3A20%3A29%3Aa7%3A27 prefset server currentSong 4
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2bdd6c) HASH(0xc2b568c)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2b8dc4) HASH(0xc2b013c)
00%3A04%3A20%3A23%3A52%3A3c prefset server currentSong 4
00%3A04%3A20%3A2a%3A3b%3A21 prefset server currentSong 4
00%3A04%3A20%3A28%3A65%3A91 prefset server currentSong 4
00%3A04%3A20%3A28%3A65%3Ac7 prefset server currentSong 4
00%3A04%3A20%3A29%3A62%3A0e playlist cant_open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2Fd674903c-c837-4e88-9c94-3109d6f66ca5.mp3 404%20Not%20Found
4b%3A22%3A1b%3A57%3Aca%3A87 prefset server currentSong 5
00%3A04%3A20%3A29%3A62%3A0e prefset server currentSong 5
00%3A04%3A20%3A2a%3A37%3A4b prefset server currentSong 5
00%3A04%3A20%3A29%3Aa7%3A27 prefset server currentSong 5
00%3A04%3A20%3A23%3A52%3A3c prefset server currentSong 5
00%3A04%3A20%3A2a%3A3b%3A21 prefset server currentSong 5
00%3A04%3A20%3A28%3A65%3A91 prefset server currentSong 5
00%3A04%3A20%3A28%3A65%3Ac7 prefset server currentSong 5
00%3A04%3A20%3A29%3A62%3A0e playlist cant_open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2F8b421a51-abf6-422c-9200-116dd8a00e95.mp3 404%20Not%20Found
4b%3A22%3A1b%3A57%3Aca%3A87 prefset server currentSong 6
00%3A04%3A20%3A29%3A62%3A0e prefset server currentSong 6
00%3A04%3A20%3A2a%3A37%3A4b prefset server currentSong 6
00%3A04%3A20%3A29%3Aa7%3A27 prefset server currentSong 6
00%3A04%3A20%3A23%3A52%3A3c prefset server currentSong 6
00%3A04%3A20%3A2a%3A3b%3A21 prefset server currentSong 6
00%3A04%3A20%3A28%3A65%3A91 prefset server currentSong 6
00%3A04%3A20%3A28%3A65%3Ac7 prefset server currentSong 6
00%3A04%3A20%3A29%3A62%3A0e playlist cant_open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2Fe0ba6141-14c0-4e8d-ba22-e099854a6acf.mp3 404%20Not%20Found
4b%3A22%3A1b%3A57%3Aca%3A87 prefset server currentSong 7
00%3A04%3A20%3A29%3A62%3A0e prefset server currentSong 7
00%3A04%3A20%3A2a%3A37%3A4b prefset server currentSong 7
00%3A04%3A20%3A29%3Aa7%3A27 prefset server currentSong 7
00%3A04%3A20%3A23%3A52%3A3c prefset server currentSong 7
00%3A04%3A20%3A2a%3A3b%3A21 prefset server currentSong 7
00%3A04%3A20%3A28%3A65%3A91 prefset server currentSong 7
00%3A04%3A20%3A28%3A65%3Ac7 prefset server currentSong 7
00%3A04%3A20%3A29%3A62%3A0e playlist cant_open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2Ffd5e95a7-df0b-416e-a785-9ee28e4b4c69.mp3 404%20Not%20Found
00%3A04%3A20%3A29%3A62%3A0e playlist cant_open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2F881aad5c-aecd-4833-86aa-b9f90f6451c3.mp3 404%20Not%20Found
00%3A04%3A20%3A29%3A62%3A0e playlist cant_open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2Fe9068d8e-784b-48ba-8a46-a58973a4cc11.mp3 404%20Not%20Found
00%3A04%3A20%3A29%3A62%3A0e playlist open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2F40c42011-4dc7-404b-970d-f116e4a1bf93.mp3
00%3A04%3A20%3A29%3A62%3A0e playlist open http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2F40c42011-4dc7-404b-970d-f116e4a1bf93.mp3
4b%3A22%3A1b%3A57%3Aca%3A87 prefset server currentSong 10
00%3A04%3A20%3A29%3A62%3A0e prefset server currentSong 10
00%3A04%3A20%3A2a%3A37%3A4b prefset server currentSong 10
00%3A04%3A20%3A29%3Aa7%3A27 prefset server currentSong 10
00%3A04%3A20%3A23%3A52%3A3c prefset server currentSong 10
00%3A04%3A20%3A2a%3A3b%3A21 prefset server currentSong 10
00%3A04%3A20%3A28%3A65%3A91 prefset server currentSong 10
00%3A04%3A20%3A28%3A65%3Ac7 prefset server currentSong 10
00%3A04%3A20%3A29%3A62%3A0e displaynotify showbriefly HASH(0xc2a8504) HASH(0xc2bf554)
00%3A04%3A20%3A2a%3A37%3A4b displaynotify showbriefly HASH(0xc2a9e4c) HASH(0xc12dc7c)
00%3A04%3A20%3A29%3A62%3A0e playlist newsong http%3A%2F%2F192.168.0.73%3A8080%2Faudio%2F40c42011-4dc7-404b-970d-f116e4a1bf93.mp3 10
00%3A04%3A20%3A29%3A62%3A0e playlist stop
listen 0
listen 0

Here I already only send a volume update if the target volume does not match the player state; thus you do not see this requests. Do you get a response if you set the same volume twice?

I’ll check.

What’s with all the playlist cant_open messages? Do you have a bunch of expired TTS streams in your playlist?

just remnants of failed experiments; did not clean the playlist

In TRACE mode, I see a player status message every couple seconds. I suspect it’s picking up the volume from that message in the event it doesn’t get a prefset volume message. That explains why some volume sets are a couple hundred ms and others are 2-3000 ms.

Those status messages I see in TRACE mode seem to cycle through my 3 players sequentially. I suspect I’m just getting lucky that I get one for the right player when waiting for the volume update. I suspect you’re less lucky with 8 players. :wink:

Can you delete a few of your player things to see what happens?

I’m starting to think this might be the right solution.