-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Album cover label on Discord off by one #744
Comments
Works fine for me, does this happen every time for you or just occasionally? |
Yes, it seems to happen every time. The first song in the queue works fine though, presumably because there's no previous song. |
I get this constantly on Linux too |
The album name is the only thing that is captured through dom elements instead of through youtube api (because it doesn't seem to exist there) So probably somehow on your pc's album name in the dom gets updated late Not quite sure how to fix it for you Dev note: a listener that sends new songInfo when album element is updated is possible, could use the new songInfo 'cause' parameter to avoid breaking other plugins |
Hi everyone. Is there a way to disable the hover over feature? I also have this glitch. Thank you. |
Well if you read my last comment, I have a solution in mind. But it requires #946 to be merged first (like many other things I think about doing 😝) |
btw here are 2 other ways to get the album name: navigator.mediaSession.metadata.album $('ytmusic-player-page').getState().playerPage.playerOverlay.playerOverlayRenderer.browserMediaSession.browserMediaSessionRenderer.album.runs[0].text They both seems to be slower than the current implementation (somehow it's updated in the DOM text first) |
With the Discord rich presence, the name of the album when hovering the cover displays the previous song's album.
The text was updated successfully, but these errors were encountered: