added custom activity name template
Some checks failed
Build / Build (push) Failing after 6m3s

This commit is contained in:
2026-03-09 18:01:58 -06:00
parent 9d9dce052a
commit 24fb4cf752
4 changed files with 93 additions and 6 deletions

View File

@@ -56,10 +56,17 @@
"Default",
"Track",
"Album",
"Artist"
"Artist",
"Custom"
],
"default": "Default"
},
"activitynametemplate": {
"type": "string",
"title": "Custom Activity Name Template",
"description": "Template for the activity name. Available placeholders: {track}, {artist}, {album}",
"default": "{artist} - {track}"
},
"uguuenabled": {
"type": "boolean",
"title": "Upload artwork to uguu.se (enable if Navidrome is not publicly accessible)",
@@ -118,6 +125,19 @@
"format": "radio"
}
},
{
"type": "Control",
"scope": "#/properties/activitynametemplate",
"rule": {
"effect": "SHOW",
"condition": {
"scope": "#/properties/activityname",
"schema": {
"const": "Custom"
}
}
}
},
{
"type": "Control",
"scope": "#/properties/uguuenabled"