-
-
Notifications
You must be signed in to change notification settings - Fork 538
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
gds.fm launched new page #2486
gds.fm launched new page #2486
Conversation
Thanks for taking the time to fix an integration. Can you give an example URL where this is working? When I visit https://gds.fm/ and hit play nothing seems to get detected for me. |
It's missing the Here's a working example (although it does not grabs track info):
|
Edit: Please ignore the following; I was debugging an old build 🤦. I have pushed the changes, it seems to work correctly now. The track meta data seems to be missing on the page sometimes, but I think there's not much you can do in those cases. Old message for sake of completeness: Maybe there's a misunderstanding on my side; I thought I have added comments to the different selectors (I took out the overwritten callback, so this is the entire
I have double-checked the selectors, they are correct if my understanding (that I made explicit in the comments) is correct. What happens with the above code however (I'm debugging this on Firefox 78) is:
So I'm pretty sure I'm misunderstanding something, even though the comments in the BaseConnector source code seem pretty clear. |
Thank you! |
Describe the changes you made
gds.fm moved from play.gds.fm to gds.fm and slightly changed the page layout. I updated the selectors and URL so it roughly works again. I have a question about I encountered though:
.player-meta__title
, which I chose asConnector.trackSelector
only contains the track title. The track artist is in a sibling element… however on track change the artist is always appended to the title, with the artist also being detected independently. Any idea why that happens? Thanks for the addon, it's fantastic!