-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathmanifest.json
More file actions
153 lines (153 loc) · 4.56 KB
/
Copy pathmanifest.json
File metadata and controls
153 lines (153 loc) · 4.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "AudioMuse-AI Instant Mix",
"id": "audiomuseai",
"author": "AudioMuse",
"website": "https://github.com/NeptuneHub/AudioMuse-AI-NV-plugin",
"version": "1.0.0",
"description": "Replaces the Instant Mix button with AudioMuse-AI recommendations for similar tracks",
"config": {
"schema": {
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"title": "AudioMuse-AI API URL",
"description": "Base URL for the AudioMuse-AI server (e.g., http://192.168.3.203:8000).",
"default": "http://192.168.3.203:8000"
},
"apiToken": {
"type": "string",
"title": "API Token",
"description": "Optional Bearer token for AudioMuse-AI API authentication. Leave blank if not required."
},
"server": {
"type": "string",
"title": "Server Name",
"description": "Server name as configured in AudioMuse-AI multi-server setup (e.g. 'Navidrome'). Leave blank if multi-server is not used; the parameter will not be sent."
},
"artistSimilarCount": {
"type": "integer",
"title": "Number of Similar Artists",
"description": "Maximum number of similar artists to request from AudioMuse-AI. Default: 10",
"default": 10,
"minimum": 1,
"maximum": 100
},
"instantMixSource": {
"type": "string",
"title": "Instant Mix Functionality",
"description": "Which AudioMuse-AI similarity engine powers Instant Mix. 'Lyrics by Song' needs the SemGrove index and 'Hyperbolic Similarity' needs the hyperbolic projection built in AudioMuse-AI. Default: Similar Song.",
"default": "similarSong",
"oneOf": [
{
"const": "similarSong",
"title": "Similar Song"
},
{
"const": "lyricsBySong",
"title": "Lyrics by Song"
},
{
"const": "hyperbolic",
"title": "Hyperbolic Similarity"
}
]
},
"eliminateDuplicates": {
"type": "boolean",
"title": "Eliminate Duplicates",
"description": "Remove duplicate tracks from results. Default: true",
"default": true
},
"radiusSimilarity": {
"type": "boolean",
"title": "Use Radius Similarity",
"description": "Use radius-based similarity algorithm. Default: true",
"default": true
}
}
},
"uiSchema": {
"type": "VerticalLayout",
"elements": [
{
"type": "Group",
"label": "General Configuration",
"elements": [
{
"type": "Control",
"scope": "#/properties/apiUrl"
},
{
"type": "Control",
"scope": "#/properties/apiToken",
"options": {
"format": "password"
}
},
{
"type": "Control",
"scope": "#/properties/server"
}
]
},
{
"type": "Group",
"label": "Song Instant Mix",
"elements": [
{
"type": "Control",
"scope": "#/properties/instantMixSource"
},
{
"type": "HorizontalLayout",
"rule": {
"effect": "HIDE",
"condition": {
"scope": "#/properties/instantMixSource",
"schema": {
"enum": [
"lyricsBySong",
"hyperbolic"
]
}
}
},
"elements": [
{
"type": "Control",
"scope": "#/properties/eliminateDuplicates"
},
{
"type": "Control",
"scope": "#/properties/radiusSimilarity"
}
]
}
]
},
{
"type": "Group",
"label": "Artist Radio",
"elements": [
{
"type": "Control",
"scope": "#/properties/artistSimilarCount"
}
]
}
]
}
},
"permissions": {
"config": {
"reason": "To read plugin configuration in Navidrome UI"
},
"http": {
"reason": "To call AudioMuse-AI API for similar tracks",
"requiredHosts": [
"*"
]
}
}
}