mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Added support for navidrome scrobbling
This commit is contained in:
parent
38e2a184af
commit
9f862dd89b
Binary file not shown.
@ -39,6 +39,13 @@ pages = {
|
|||||||
"https://soundcloud.com"
|
"https://soundcloud.com"
|
||||||
],
|
],
|
||||||
"script":"soundcloud.js"
|
"script":"soundcloud.js"
|
||||||
|
},
|
||||||
|
"Navidrome":{
|
||||||
|
"patterns":[
|
||||||
|
"https://navidrome.",
|
||||||
|
"http://navidrome."
|
||||||
|
],
|
||||||
|
"script":"navidrome.js"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Maloja Scrobbler",
|
"name": "Maloja Scrobbler",
|
||||||
"version": "1.10",
|
"version": "1.11",
|
||||||
"description": "Scrobbles tracks from various sites to your Maloja server",
|
"description": "Scrobbles tracks from various sites to your Maloja server",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"permissions": [
|
"permissions": [
|
||||||
|
@ -0,0 +1,14 @@
|
|||||||
|
maloja_scrobbler_selector_playbar = "//div[contains(@class,'music-player-panel')]"
|
||||||
|
|
||||||
|
|
||||||
|
maloja_scrobbler_selector_metadata = ".//span[contains(@class,'audio-title')]"
|
||||||
|
|
||||||
|
maloja_scrobbler_selector_title = ".//span[contains(@class,'songTitle')]/text()"
|
||||||
|
maloja_scrobbler_selector_artist = ".//span[contains(@class,'songArtist')]/text()"
|
||||||
|
maloja_scrobbler_selector_duration = ".//span[contains(@class,'duration')]/text()"
|
||||||
|
|
||||||
|
|
||||||
|
maloja_scrobbler_selector_control = ".//span[contains(@class,'group play-btn')]/@title"
|
||||||
|
|
||||||
|
maloja_scrobbler_label_playing = "Click to pause"
|
||||||
|
maloja_scrobbler_label_paused = "Click to play"
|
Loading…
Reference in New Issue
Block a user