------------------------------------------------------------------------
A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=116649
------------------------------------------------------------------------
Question: On what player types does the alarm fail for you?
- Squeezebox Radio (official firmware 7.x)
- Squeezebox Radio (community firmware 8.x)
- Squeezebox Touch (official firmware 7.x)
- Squeezebox Touch (community firmware 8.x)
- SB Classic/Boom/Receiver/Transporter
- Other (eg. Raspberry Pi based)
------------------------------------------------------------------------
cpd73 wrote:
> This looks odd to me. And the only part that -could- be from Material.
> Material subscribes to player preference changes
> */4fd1bca6/slim/playerprefs/00:04:20:26:xx:aa* - but not sure about the
> rest of the line. To subscribe to these I send:
>
> >
Code:
--------------------
> >
> {data:{response:'/'+this.cometd.getClientId()+'/slim/playerprefs/'+id,
request:[id, ['prefset']]}}
>
--------------------
> >
>
> Where `id` is the player's ID, and `this.cometd.getClientId()` is the
> cometd ID.
>
> However, to -unsubscribe- I send:
>
> >
Code:
--------------------
> >
> {data:{response:'/'+this.cometd.getClientId()+'/slim/playerprefs/'+id,
request:[id, []]}}
>
--------------------
> >
>
> ...i.e. the last array is empty. Could this be the issue? Is this the
> correct way to unsubscribe? Unsubscribing of playerprefs was only
> added in July of this year. If anyone wants to take a look subscribe
> is @line 739 and unsubscribe @line 753 of
> https://github.com/CDrummond/lms-material/blob/master/MaterialSkin/HTML/material/html/js/server.jsWouldn't
> that affect LMS 8.2 as well as 8.3 though? Nobody has reported
an issue with 8.2.
Sent from my Pixel 3a using Tapatalk
------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116649
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta