1
0
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:
krateng 2022-02-22 07:37:28 +01:00
parent 38e2a184af
commit 9f862dd89b
4 changed files with 22 additions and 1 deletions

View File

@ -39,6 +39,13 @@ pages = {
"https://soundcloud.com"
],
"script":"soundcloud.js"
},
"Navidrome":{
"patterns":[
"https://navidrome.",
"http://navidrome."
],
"script":"navidrome.js"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "Maloja Scrobbler",
"version": "1.10",
"version": "1.11",
"description": "Scrobbles tracks from various sites to your Maloja server",
"manifest_version": 2,
"permissions": [

View File

@ -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"