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
546 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()"
2020-05-30 19:10:17 +03:00
maloja_scrobbler_selector_duration = ".//div[@class='playback-bar']/div[3]/text()"
2019-05-17 18:56:29 +03:00
2020-12-01 18:49:19 +03:00
maloja_scrobbler_selector_control = ".//div[contains(@class,'player-controls__buttons')]/button[3]/@title"