-
Notifications
You must be signed in to change notification settings - Fork 0
/
shortcuts.json
215 lines (215 loc) · 8.16 KB
/
shortcuts.json
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
{
"categories": [
{
"id": "2d32bb67-77eb-42a8-9a0c-e2f453d5af39",
"name": "Shortcuts",
"shortcuts": [
{
"codeOnSuccess": "showToast(\"stream server is \"+JSON.parse(response.body).status);",
"description": "fetch the stream server status",
"iconName": "flat_color_lightbulb_4",
"id": "246134fb-1f3f-435c-838e-b852eef1f72e",
"name": "status",
"responseHandling": {
"failureOutput": "simple",
"id": "8d03a1f8-3ddb-4dd3-bbbe-eefa9f9fe9f7",
"successOutput": "none",
"uiType": "toast"
},
"timeout": 5000,
"url": "http://{{34961d43-f271-4bf1-a042-4e91f71a4985}}"
},
{
"codeOnPrepare": "copyToClipboard(\"http://\"+getVariable(/*[variable]*/\"34961d43-f271-4bf1-a042-4e91f71a4985\"/*[/variable]*/)+\"/m\");\nshowToast(\"copied movie url\");",
"description": "copy movie url",
"executionType": "scripting",
"iconName": "flat_color_videocameraclassic",
"id": "c167af49-b550-4158-b3a8-9e5d877da541",
"name": "movie"
},
{
"codeOnPrepare": "copyToClipboard(\"http://\"+getVariable(/*[variable]*/\"34961d43-f271-4bf1-a042-4e91f71a4985\"/*[/variable]*/)+\"/s\");\nshowToast(\"copied series url\");",
"description": "copy series url",
"executionType": "scripting",
"iconName": "flat_color_folder",
"id": "030718cb-55e9-4f28-b970-758de411bfee",
"name": "series"
},
{
"bodyContent": "ananthu kingbbbb",
"codeOnSuccess": "showToast(JSON.parse(response.body).status);",
"contentType": "bbmm",
"description": "get current episode",
"iconName": "freepik_rocket",
"id": "2623b609-a58e-4693-a0f9-555d51f62dde",
"name": "series episode status",
"requestBodyType": "x_www_form_urlencode",
"responseHandling": {
"failureOutput": "simple",
"id": "034935fa-3e34-4788-8635-a9ec5e404241",
"successOutput": "none",
"uiType": "toast"
},
"timeout": 5000,
"url": "http://{{34961d43-f271-4bf1-a042-4e91f71a4985}}/series/ep/status"
},
{
"bodyContent": "ananthu kingbbbb",
"codeOnSuccess": "showToast(JSON.parse(response.body).status);",
"contentType": "bbmm",
"description": "increment episode",
"iconName": "freepik_rocket",
"id": "7d99c7bc-5de4-427d-be73-df75db69af5f",
"method": "POST",
"name": "series episode increment",
"requestBodyType": "x_www_form_urlencode",
"responseHandling": {
"failureOutput": "simple",
"id": "ffe74d4b-27e0-4d0b-ba7d-d51979cab520",
"successOutput": "none",
"uiType": "toast"
},
"timeout": 5000,
"url": "http://{{34961d43-f271-4bf1-a042-4e91f71a4985}}/series/ep/increment"
},
{
"bodyContent": "ananthu kingbbbb",
"codeOnSuccess": "showToast(JSON.parse(response.body).status);",
"contentType": "bbmm",
"description": "decrement episode",
"iconName": "freepik_rocket",
"id": "189f1114-fce2-41e1-990a-db28baba511c",
"method": "POST",
"name": "series episode decrement",
"requestBodyType": "x_www_form_urlencode",
"responseHandling": {
"failureOutput": "simple",
"id": "6d3f0ba4-9a66-4c8f-8aee-94ec40d8f43f",
"successOutput": "none",
"uiType": "toast"
},
"timeout": 5000,
"url": "http://{{34961d43-f271-4bf1-a042-4e91f71a4985}}/series/ep/decrement"
},
{
"bodyContent": "ananthu kingbbbb",
"codeOnPrepare": "setVariable(/*[variable]*/\"8798c155-23cd-4794-b5c0-569b89fe81e2\"/*[/variable]*/, prompt(\"current ep?\"));",
"codeOnSuccess": "showToast(JSON.parse(response.body).status);",
"contentType": "bbmm",
"description": "set current episode",
"iconName": "freepik_rocket",
"id": "476f98ff-b9e6-45e6-be4d-0630bc6d0de7",
"method": "POST",
"name": "series episode set",
"parameters": [
{
"id": "8d1d489b-53c3-4c68-8f21-35926ecf080a",
"key": "s-ep",
"value": "{{8798c155-23cd-4794-b5c0-569b89fe81e2}}"
}
],
"requestBodyType": "x_www_form_urlencode",
"responseHandling": {
"failureOutput": "simple",
"id": "b8758d3c-df4f-42a7-8fab-d41017642664",
"successOutput": "none",
"uiType": "toast"
},
"timeout": 5000,
"url": "http://{{34961d43-f271-4bf1-a042-4e91f71a4985}}/series/ep/set"
},
{
"codeOnPrepare": "copyToClipboard(\"http://\"+getVariable(/*[variable]*/\"34961d43-f271-4bf1-a042-4e91f71a4985\"/*[/variable]*/)+\"/x\");\nshowToast(\"copied x url\");",
"description": "copy x url",
"executionType": "scripting",
"iconName": "flat_color_heart",
"id": "2d8bd553-5f5d-4200-90dd-9223232da07c",
"name": "x"
},
{
"bodyContent": "ananthu kingbbbb",
"codeOnSuccess": "showToast(JSON.parse(response.body).status);",
"contentType": "bbmm",
"description": "status of youtube-dl",
"iconName": "freepik_rocket",
"id": "717cd52b-bf7a-4b4d-b35a-17cbd8367b2f",
"name": "job status",
"requestBodyType": "x_www_form_urlencode",
"responseHandling": {
"failureOutput": "simple",
"id": "586dbc68-75be-4cc4-9e90-e1a9998bb3c1",
"successOutput": "none",
"uiType": "toast"
},
"timeout": 5000,
"url": "http://{{34961d43-f271-4bf1-a042-4e91f71a4985}}/job/status"
},
{
"bodyContent": "ananthu kingbbbb",
"codeOnPrepare": "setVariable(/*[variable]*/\"70575aa7-30f5-4a31-808f-82dc478d5927\"/*[/variable]*/, prompt(\"x url?\"));",
"codeOnSuccess": "showToast(JSON.parse(response.body).status);",
"contentType": "bbmm",
"description": "start youtube-dl",
"iconName": "freepik_rocket",
"id": "3bfaf866-5647-4117-89ad-0d0fabeb5be2",
"method": "POST",
"name": "job start",
"parameters": [
{
"id": "6a909775-cdbf-40a5-860b-aae29b487c14",
"key": "x-url",
"value": "{{70575aa7-30f5-4a31-808f-82dc478d5927}}"
}
],
"requestBodyType": "x_www_form_urlencode",
"requireConfirmation": true,
"responseHandling": {
"failureOutput": "simple",
"id": "49592556-7665-4da0-af83-a12e6062c056",
"successOutput": "none",
"uiType": "toast"
},
"timeout": 5000,
"url": "http://{{34961d43-f271-4bf1-a042-4e91f71a4985}}/job/start"
},
{
"bodyContent": "ananthu kingbbbb",
"codeOnSuccess": "showToast(JSON.parse(response.body).status);",
"contentType": "bbmm",
"description": "stop youtube-dl",
"iconName": "freepik_rocket",
"id": "e006b57e-ce0b-4fae-bc8f-27631a8ee15a",
"method": "POST",
"name": "job stop",
"requestBodyType": "x_www_form_urlencode",
"requireConfirmation": true,
"responseHandling": {
"failureOutput": "simple",
"id": "8724b9c4-da61-4895-8fa1-ff53f8562b4d",
"successOutput": "none",
"uiType": "toast"
},
"timeout": 5000,
"url": "http://{{34961d43-f271-4bf1-a042-4e91f71a4985}}/job/stop"
}
]
}
],
"variables": [
{
"id": "34961d43-f271-4bf1-a042-4e91f71a4985",
"key": "URI",
"value": "192.168.1.7:5002"
},
{
"id": "70575aa7-30f5-4a31-808f-82dc478d5927",
"key": "X_URL"
},
{
"id": "8798c155-23cd-4794-b5c0-569b89fe81e2",
"key": "S_EP",
"value": "103"
}
],
"version": 45
}