This repository has been archived by the owner on May 3, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Spotify integration script (#258)
* Fix Spotify integration script The Spotify integration script had several errors preventing successful extraction of metadata: - getArtist() and getSongTitle() were attempting to use the non-existent .text DOM Node property. Fixed to use .innerText - getArtUrl() was using an outdated css selector to access the album art div - isFavorite() was failing with an error if getButtons().addRemoveToMusic was null, which can be the case shortly after page load. Added a check for this. * Fix Spotify favorite detection regex
- Loading branch information