1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00
maloja/scrobblers/chromium/sites/spotify.js
2020-05-30 18:10:17 +02:00

13 lines
550 B
JavaScript

maloja_scrobbler_selector_playbar = "//div[@class='now-playing-bar']"
maloja_scrobbler_selector_metadata = ".//div[@class='now-playing-bar__left']"
maloja_scrobbler_selector_title = ".//a[@data-testid='nowplaying-track-link']/text()"
maloja_scrobbler_selector_artists = ".//a[contains(@href,'/artist/')]"
maloja_scrobbler_selector_artist = "./text()"
maloja_scrobbler_selector_duration = ".//div[@class='playback-bar']/div[3]/text()"
maloja_scrobbler_selector_control = ".//div[contains(@class,'player-controls__buttons')]/div[3]/button/@title"