mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Added bandcamp to scrobbler
This commit is contained in:
15
scrobblers/chromium-generic/sites/bandcamp.js
Normal file
15
scrobblers/chromium-generic/sites/bandcamp.js
Normal file
@@ -0,0 +1,15 @@
|
||||
maloja_scrobbler_selector_playbar = "//div[contains(@class,'trackView')]"
|
||||
|
||||
|
||||
maloja_scrobbler_selector_metadata = "."
|
||||
// need to select everything as bar / metadata block because artist isn't shown in the inline player
|
||||
|
||||
maloja_scrobbler_selector_title = ".//span[@class='title']/text()"
|
||||
maloja_scrobbler_selector_artist = ".//span[contains(@itemprop,'byArtist')]/a/text()"
|
||||
maloja_scrobbler_selector_duration = ".//span[@class='time_total']/text()"
|
||||
|
||||
|
||||
maloja_scrobbler_selector_control = ".//td[@class='play_cell']/a[@role='button']/div[contains(@class,'playbutton')]/@class"
|
||||
|
||||
maloja_scrobbler_label_playing = "playbutton playing"
|
||||
maloja_scrobbler_label_paused = "playbutton"
|
||||
Reference in New Issue
Block a user