-
Notifications
You must be signed in to change notification settings - Fork 0
/
entry.tp
73 lines (73 loc) · 2.82 KB
/
entry.tp
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
{
"sdk": 6,
"version": 151,
"name": "mediamixer",
"id": "com.github.orangopus.mediamixer",
"configuration": {
"colorDark": "#6c6f73",
"colorLight": "#3d62ad"
},
"plugin_start_cmd": "node %TP_PLUGIN_FOLDER%mediamixer\\plugin.js",
"categories": [
{
"id": "com.github.orangopus.mediamixer.main",
"name": "Linux Media Mixer",
"imagepath": "%TP_PLUGIN_FOLDER%TouchPortalMediaMixer\\icon-24.png",
"actions": [
{
"id": "com.github.orangopus.mediamixer.action.setAppVolume",
"name": "Set Application Volume",
"description": "Set the volume for a specific application.",
"prefix": "Set volume of",
"type": "communicate",
"tryInline": true,
"data": [
{
"id": "applicationName2",
"type": "text",
"label": "Application Name",
"default": ""
},
{
"id": "volumePercentage2",
"type": "choice",
"label": "Volume Percentage",
"default": "50",
"valueChoices": ["0", "10", "20", "30", "40", "50", "60", "70", "80", "90", "100"]
}
]
}
],
"connectors": [
{
"id": "com.github.orangopus.mediamixer.connector.APPcontrol",
"name": "Volume Mixer: APP Volume slider",
"format": "Control volume for {$applicationName$} at {$volumePercentage$}%",
"data": [
{
"id": "applicationName",
"type": "text",
"label": "Application Name",
"default": ""
},
{
"id": "volumePercentage",
"type": "choice",
"label": "Volume Percentage",
"default": "",
"valueChoices": ["0", "10", "20", "30", "40", "50", "60", "70", "80", "90", "100"]
}
]
}
],
"states": [
{
"id": "volumePercentage",
"type": "text",
"desc": "volumePercentage",
"default": ""
}
]
}
]
}