web-scrobbler/web-scrobbler

[YouTube Music] Scrobbling broken on new UI for small windows.

itsSanalog opened this issue · 2 comments

Describe the bug
YouTube Music has a new minimal UI when running on a browser window that's small, completely changing the title and artist layout and removing the album information, preventing anything from being scrobbled.

How to reproduce
Steps to reproduce the behavior:

  1. Go to music.youtube.com
  2. Play any song
  3. Resize window until the UI changes to a 'mobile music player' style (in my case, it appeared when window width <616px).
  4. See error

Screenshots
example of the new UI

Environment (please complete the following information)

  • OS: Windows 10
  • Browser: Chrome
  • Extension version: 3.6.2

+1, I use a small window to only show album art, and it's very annoying having to manually input every single artist. Out of curiosity, is there a way to grab the now playing information from Chrome itself? The built-in player control always shows the correct song title and artist:
image

If it's possible to use this it could get much easier to standardise across different streaming platforms.

Thank you for reporting, and thank you @TheColorman for helpful input.
PR #4587 has been created, reworking entire ytm connector using the mediasession api that chrome now playing information uses.