-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmanifest.json
More file actions
96 lines (96 loc) · 2.61 KB
/
manifest.json
File metadata and controls
96 lines (96 loc) · 2.61 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
{
"name": "AudioMuse-AI Instant Mix",
"id": "audiomuseai",
"author": "AudioMuse",
"homepage": "https://github.com/yourusername/audiomuse-navidrome-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"
},
"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
},
"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": "Group",
"label": "Song Instant Mix",
"elements": [
{
"type": "HorizontalLayout",
"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": [
"*"
]
}
}
}