D28936: Use a Proxy object to detect changes within the MediaMetadata
Fabian Vogt
noreply at phabricator.kde.org
Fri Apr 24 14:51:01 BST 2020
fvogt added a comment.
In D28936#656422 <https://phabricator.kde.org/D28936#656422>, @broulik wrote:
> > this doesn't catch something like this
>
> Yeah it doesn't. I thought I could "monitor" an Object but the caller actually has to //use// the Proxy for it to detect anything :/
>
> Any ideas? :)
Other than using an interval timer to sync regularly, not really. At least the first case seems impossible to fix.
The second case could be fixed though by `navigator.mediaSession.metadata === this` or something like that...
REPOSITORY
R856 Plasma Browser Integration
REVISION DETAIL
https://phabricator.kde.org/D28936
To: broulik, #plasma, fvogt, ognarb, cblack
Cc: IlyaBizyaev, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200424/1b03d8e4/attachment.html>
More information about the Plasma-devel
mailing list