cpd73 wrote: > Yeah, I know. I did consider adding a menu to the sub-toolbar - but just > looked too noisy. I could leave the items always in the menu, but > disabled when not appropriate. Just not sure. I needed to free up some > space for the sub-toolbar text, and this seemed the most logical way. > > > > Material uses LMS's cometd for status updates, as do most other > controllers (AFAIK). These status updates have the song's metadata > (artist, title, etc), playback status (state, duration, position), and > the cover URL. Material uses what is called a long-poll HTTP connection. > This connection stays open for 30 seconds. If a playback change happens > in that 30 seconds, cometed is supposed to return the status. If nothing > happens, the latest status is returned. This process is then repeated. > > So, it looks like one satus update had the song's meta-data, but not its > correct playback state or cover URL. When the 30 seconds expired, the > status at the end of this had the correct info. > > I have seen issues with LMS's cometd not reporting changes quickly > enough. In the developers forum I reported that a queue filled with 2 > second tracks can miss updates- but had no replies. I added code to poll > near the start, and end, of a track to work around this. > > I have no idea why you seem to be consistently experiencing this. Does > it *always* happen? Does it happen for all RP stations? I must admit I'm > pretty new to RP, and have only used the "Interactive FLAC" stream on > the Main-Mix. Does it happen to you on this stream? Does it a happen > elsewhere (e.g. local playback, Spotty, non-RP streams)? > > If you want to see Meterial's cometd interaction, start Material using > -http://SERVER:9000/material/desktop?debug=cometd- and cometed status > updates will be shown in the console tab of your browser's developer > tools. If you do this, do you see a player status update at the time a > song changes, but the display has not updated correctly?
I normally use the main interactive FLAC stream as well and that was where I first noticed it. It also happens on the mellow interactive stream. I just tried on the main normal stream and the delay between my Squeezebox Touch display and Material Skin was 28 seconds. Yes it always happens but the delay is not constant. I have seen as low as 13 seconds and as high as 28 seconds. The delay only happens on RP streams and nowhere else. I will investigate the cometd status updates and report back. Sent from my SM-G900F using Tapatalk ------------------------------------------------------------------------ slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 View this thread: http://forums.slimdevices.com/showthread.php?t=109624 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins