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

13 lines
561 B
JavaScript
Raw Normal View History

2019-05-17 18:56:29 +03:00
maloja_scrobbler_selector_playbar = "//div[@class='now-playing-bar']"
maloja_scrobbler_selector_metadata = ".//div[@class='now-playing-bar__left']"
2020-03-23 19:24:58 +03:00
maloja_scrobbler_selector_title = ".//a[@data-testid='nowplaying-track-link']/text()"
maloja_scrobbler_selector_artists = ".//a[contains(@href,'/artist/')]"
maloja_scrobbler_selector_artist = "./text()"
2019-05-17 18:56:29 +03:00
maloja_scrobbler_selector_duration = ".//div[@class='playback-bar__progress-time'][2]/text()"
2019-10-03 05:10:40 +03:00
maloja_scrobbler_selector_control = ".//div[contains(@class,'player-controls__buttons')]/div[3]/button/@title"