epoch1970 wrote: 
> Installing 0.2.2.6.4 now. With clean config. And we are green for go,
> logging everything...
> 
> EDIT. I got it again. This time I was skipping (slowly) from song to
> song, in order to find the last one of the evening. After 2 or 3 skips,
> the Zipp volume dropped to 0.
> I have saved the log (404835 lines) and will have a look tomorrow.

I've tried to reproduce that with 2 AirPlay devices in sync but did not
succeed. I noticed that when players are sync'd, from time to time, LMS
sends a serie of 3 volume commands in a few ms: nominal, mute, nominal,
but this did not create an issue on my setup. This explains the strange
log I saw on yours, but this is just a logging problem when volume
changes really fast. 

Detailed explanation is:

- volume commands received from LMS are memorized in player's context
and then queued to be processed later in a special airplay command
thread. 
- log is made in the airplay thread, when processing the commands,
displaying the player's context volume and the requested value in the
queue

- When command #1 arrives with volume 20, context's volume is set with
20 and 20 is also put in the queue
- Normally, command #1 is processed and logs says 20 in context's volume
and 20 in de-queued command: all good
- if command #2 arrives with volume 0 *before* command #1 is processed
in airplay thread, context's volume is set with 0 and 0 is put int the
queue
- then command #1 is dequeued and logs says: context's volume is 0 and
de-queued volume is 20: inconsistent log
- then command #2 is dequeued and log says: context's volume is 0 and
de-queued volume is 0

Confusing log but not a bug, the proper volume is always set. There is a
potential rare race issue when you use the new "trigger" option, I could
solve it with more mutexes, but I have to admit that this is a really
rare issue



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=105198

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to