garylaski / userscripts

My userscripts for soundcloud, musicbrainz
6 stars 2 forks source link

Button never finishes loading #18

Open psychoadept opened 3 months ago

psychoadept commented 3 months ago

Currently for me, the button is staying grayed out with the text "Loading..."

Track: https://soundcloud.com/flaviaspeaks/ripe Album: https://soundcloud.com/flaviaspeaks/sets/suck-my-feminism

I'm on vivaldi with tampermonkey beta. Other scripts are working normally.

garylaski commented 3 months ago

Thanks for reporting!

The script constructs a MutationObserver to monitor the page for changes, but if the page is fully loaded before the observation starts, then it might never trigger the code to scrape the tracks.

Just to confirm this is the issue, can you try interacting with the page after it says "Loading..."? (I've been pressing the play button)

psychoadept commented 3 months ago

So, on track pages I can't tell that it makes a difference, but the button finally changed to "Open" on a couple of album pages, both the one I linked and the same artist "Out Loud." I've listened to those today. Ones I haven't listened to in their entirety still aren't working.