[Presence | Bug] Deezer
Closed this issue · 0 comments
Describe the Bug
Deezer recently made a small change to the UI, which breaks the detection of the paused/playing state. It now shows as if you always have the track paused, even though it is playing.
From what I can understand by looking at the source code, the SVG icon for playing now has the class class="svg-icon-group-btn is-highlight"
, and sadly no ID, which makes detection harder:(( There is an aria-label, but it is localized - I'm Swedish, so for me it is equal to Pausa
("Pause" in Swedish) when a track is playing and Spela
("Play" in Swedish) when a track is paused. A thought - comparing the track duration timestamp every second will do, but might be inefficient. (I'm not the developer of this RPC, so I'm not going to interfere!)
Steps to Reproduce
- Open the Deezer web application
- Play any track
- The PreMiD RPC will be stuck on displaying the "Paused" icon.
Expected Behavior
PreMiD to show a "Playing" icon and how much time is left on the track in the RPC.
Screenshots
But it shows up like this in the RPC:¨
Environment
- OS:
- Browser:
- Version:
OS: Windows 10
Browser: Opera GX
Version: LVL3 (core: 77.0.4054.275)
(based on Chrome 91.0.4472.164) (64-bit)
Additional context
None