Skip to content

Commit 32e3ceb

Browse files
committed
Add SkyShowTime Streaming Service
1 parent 6be9367 commit 32e3ceb

1 file changed

Lines changed: 331 additions & 0 deletions

File tree

Lines changed: 331 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,331 @@
1+
-- @operation: export
2+
-- @entity: batch
3+
-- @name: Add SkyShowTime Streaming Service
4+
-- @exportedAt: 2026-04-06T01:16:36.910Z
5+
-- @opIds: 4153, 4154, 4155, 4156, 4157, 4158, 4159, 4160, 4161, 4162, 4163, 4164, 4165, 4166, 4167, 4168, 4169, 4170, 4171, 4172, 4173, 4174, 4175, 4176, 4177, 4178, 4179, 4180, 4181, 4182, 4183, 4184, 4185, 4186, 4187
6+
7+
-- --- BEGIN op 4153 ( create regular_expression "SkyShowTime" )
8+
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('SkyShowTime', '\b(iP)\b', 'BBC iPlayer is a video on demand service from the BBC. The service is available over-the-top on a wide range of devices, including mobile phones and tablets, personal computers and smart televisions. iPlayer services delivered to UK-based viewers are free from commercial advertising. ', NULL);
9+
10+
insert into "tags" ("name") values ('Streaming Service') on conflict ("name") do nothing;
11+
12+
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('SkyShowTime', 'Streaming Service');
13+
14+
insert into "tags" ("name") values ('WEB-DL') on conflict ("name") do nothing;
15+
16+
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('SkyShowTime', 'WEB-DL');
17+
-- --- END op 4153
18+
19+
-- --- BEGIN op 4154 ( update regular_expression "SkyShowTime" )
20+
update "regular_expressions" set "pattern" = '\b(SKST)\b' where "name" = 'SkyShowTime' and "pattern" = '\b(iP)\b';
21+
-- --- END op 4154
22+
23+
-- --- BEGIN op 4155 ( update regular_expression "SkyShowTime" )
24+
update "regular_expressions" set "description" = 'SkyShowtime is a European joint-venture between Comcast and Paramount Skydance Corporation which combines programming from Peacock and Paramount+ as well as Sky Studios' where "name" = 'SkyShowTime' and "description" = 'BBC iPlayer is a video on demand service from the BBC. The service is available over-the-top on a wide range of devices, including mobile phones and tablets, personal computers and smart televisions. iPlayer services delivered to UK-based viewers are free from commercial advertising. ';
25+
-- --- END op 4155
26+
27+
-- --- BEGIN op 4156 ( create custom_format "SKST" )
28+
insert into "custom_formats" ("name", "description") values ('SKST', '');
29+
-- --- END op 4156
30+
31+
-- --- BEGIN op 4157 ( update custom_format "SKST" )
32+
update "custom_formats" set "description" = 'Matches ''Bravia Core'' WEB-DLs' where "name" = 'SKST' and "description" = '';
33+
-- --- END op 4157
34+
35+
-- --- BEGIN op 4158 ( update custom_format "SKST" )
36+
update "custom_formats" set "include_in_rename" = 1 where "name" = 'SKST' and "include_in_rename" = 0;
37+
-- --- END op 4158
38+
39+
-- --- BEGIN op 4159 ( update custom_format "SKST" )
40+
insert into "tags" ("name") values ('Streaming Service') on conflict ("name") do nothing;
41+
42+
insert into "custom_format_tags" ("custom_format_name", "tag_name") values ('SKST', 'Streaming Service');
43+
44+
insert into "tags" ("name") values ('WEB-DL') on conflict ("name") do nothing;
45+
46+
insert into "custom_format_tags" ("custom_format_name", "tag_name") values ('SKST', 'WEB-DL');
47+
-- --- END op 4159
48+
49+
-- --- BEGIN op 4160 ( update custom_format "SKST" )
50+
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
51+
VALUES ('SKST', 'BCORE Regex', 'release_title', 'all', 0, 1);
52+
53+
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('SKST', 'BCORE Regex', 'Bravia Core');
54+
-- --- END op 4160
55+
56+
-- --- BEGIN op 4161 ( update custom_format "SKST" )
57+
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
58+
VALUES ('SKST', 'WEB-DL', 'source', 'all', 0, 0);
59+
60+
INSERT INTO condition_sources (custom_format_name, condition_name, source) VALUES ('SKST', 'WEB-DL', 'web_dl');
61+
-- --- END op 4161
62+
63+
-- --- BEGIN op 4162 ( update custom_format "SKST" )
64+
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
65+
VALUES ('SKST', 'WEBRip', 'source', 'all', 0, 0);
66+
67+
INSERT INTO condition_sources (custom_format_name, condition_name, source) VALUES ('SKST', 'WEBRip', 'webrip');
68+
-- --- END op 4162
69+
70+
-- --- BEGIN op 4163 ( update custom_format "SKST" )
71+
update "custom_formats" set "description" = 'Matches ''SkyShowTime'' WEB-DLs' where "name" = 'SKST' and "description" = 'Matches ''Bravia Core'' WEB-DLs';
72+
-- --- END op 4163
73+
74+
-- --- BEGIN op 4164 ( update custom_format "SKST" )
75+
DELETE FROM custom_format_conditions
76+
WHERE custom_format_name = 'SKST'
77+
AND name = 'BCORE Regex'
78+
AND type = 'release_title'
79+
AND arr_type = 'all'
80+
AND negate = 0
81+
AND required = 1;
82+
-- --- END op 4164
83+
84+
-- --- BEGIN op 4165 ( update custom_format "SKST" )
85+
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
86+
VALUES ('SKST', 'SKST Regex', 'release_title', 'all', 0, 1);
87+
88+
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('SKST', 'SKST Regex', 'SkyShowTime');
89+
-- --- END op 4165
90+
91+
-- --- BEGIN op 4166 ( update quality_profile "1080p Balanced" )
92+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
93+
SELECT '1080p Balanced', 'SKST', 'radarr', 0
94+
WHERE NOT EXISTS (
95+
SELECT 1 FROM quality_profile_custom_formats
96+
WHERE quality_profile_name = '1080p Balanced'
97+
AND custom_format_name = 'SKST'
98+
AND arr_type = 'radarr'
99+
);
100+
-- --- END op 4166
101+
102+
-- --- BEGIN op 4167 ( update quality_profile "1080p Balanced" )
103+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
104+
SELECT '1080p Balanced', 'SKST', 'sonarr', 0
105+
WHERE NOT EXISTS (
106+
SELECT 1 FROM quality_profile_custom_formats
107+
WHERE quality_profile_name = '1080p Balanced'
108+
AND custom_format_name = 'SKST'
109+
AND arr_type = 'sonarr'
110+
);
111+
-- --- END op 4167
112+
113+
-- --- BEGIN op 4168 ( update quality_profile "1080p Compact" )
114+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
115+
SELECT '1080p Compact', 'SKST', 'radarr', 0
116+
WHERE NOT EXISTS (
117+
SELECT 1 FROM quality_profile_custom_formats
118+
WHERE quality_profile_name = '1080p Compact'
119+
AND custom_format_name = 'SKST'
120+
AND arr_type = 'radarr'
121+
);
122+
-- --- END op 4168
123+
124+
-- --- BEGIN op 4169 ( update quality_profile "1080p Compact" )
125+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
126+
SELECT '1080p Compact', 'SKST', 'sonarr', 0
127+
WHERE NOT EXISTS (
128+
SELECT 1 FROM quality_profile_custom_formats
129+
WHERE quality_profile_name = '1080p Compact'
130+
AND custom_format_name = 'SKST'
131+
AND arr_type = 'sonarr'
132+
);
133+
-- --- END op 4169
134+
135+
-- --- BEGIN op 4170 ( update quality_profile "1080p Efficient" )
136+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
137+
SELECT '1080p Efficient', 'SKST', 'radarr', 0
138+
WHERE NOT EXISTS (
139+
SELECT 1 FROM quality_profile_custom_formats
140+
WHERE quality_profile_name = '1080p Efficient'
141+
AND custom_format_name = 'SKST'
142+
AND arr_type = 'radarr'
143+
);
144+
-- --- END op 4170
145+
146+
-- --- BEGIN op 4171 ( update quality_profile "1080p Efficient" )
147+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
148+
SELECT '1080p Efficient', 'SKST', 'sonarr', 0
149+
WHERE NOT EXISTS (
150+
SELECT 1 FROM quality_profile_custom_formats
151+
WHERE quality_profile_name = '1080p Efficient'
152+
AND custom_format_name = 'SKST'
153+
AND arr_type = 'sonarr'
154+
);
155+
-- --- END op 4171
156+
157+
-- --- BEGIN op 4172 ( update quality_profile "1080p Quality" )
158+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
159+
SELECT '1080p Quality', 'SKST', 'radarr', 0
160+
WHERE NOT EXISTS (
161+
SELECT 1 FROM quality_profile_custom_formats
162+
WHERE quality_profile_name = '1080p Quality'
163+
AND custom_format_name = 'SKST'
164+
AND arr_type = 'radarr'
165+
);
166+
-- --- END op 4172
167+
168+
-- --- BEGIN op 4173 ( update quality_profile "1080p Quality" )
169+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
170+
SELECT '1080p Quality', 'SKST', 'sonarr', 0
171+
WHERE NOT EXISTS (
172+
SELECT 1 FROM quality_profile_custom_formats
173+
WHERE quality_profile_name = '1080p Quality'
174+
AND custom_format_name = 'SKST'
175+
AND arr_type = 'sonarr'
176+
);
177+
-- --- END op 4173
178+
179+
-- --- BEGIN op 4174 ( update quality_profile "1080p Quality HDR" )
180+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
181+
SELECT '1080p Quality HDR', 'SKST', 'radarr', 0
182+
WHERE NOT EXISTS (
183+
SELECT 1 FROM quality_profile_custom_formats
184+
WHERE quality_profile_name = '1080p Quality HDR'
185+
AND custom_format_name = 'SKST'
186+
AND arr_type = 'radarr'
187+
);
188+
-- --- END op 4174
189+
190+
-- --- BEGIN op 4175 ( update quality_profile "1080p Quality HDR" )
191+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
192+
SELECT '1080p Quality HDR', 'SKST', 'sonarr', 0
193+
WHERE NOT EXISTS (
194+
SELECT 1 FROM quality_profile_custom_formats
195+
WHERE quality_profile_name = '1080p Quality HDR'
196+
AND custom_format_name = 'SKST'
197+
AND arr_type = 'sonarr'
198+
);
199+
-- --- END op 4175
200+
201+
-- --- BEGIN op 4176 ( update quality_profile "1080p Remux" )
202+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
203+
SELECT '1080p Remux', 'SKST', 'radarr', 0
204+
WHERE NOT EXISTS (
205+
SELECT 1 FROM quality_profile_custom_formats
206+
WHERE quality_profile_name = '1080p Remux'
207+
AND custom_format_name = 'SKST'
208+
AND arr_type = 'radarr'
209+
);
210+
-- --- END op 4176
211+
212+
-- --- BEGIN op 4177 ( update quality_profile "1080p Remux" )
213+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
214+
SELECT '1080p Remux', 'SKST', 'sonarr', 0
215+
WHERE NOT EXISTS (
216+
SELECT 1 FROM quality_profile_custom_formats
217+
WHERE quality_profile_name = '1080p Remux'
218+
AND custom_format_name = 'SKST'
219+
AND arr_type = 'sonarr'
220+
);
221+
-- --- END op 4177
222+
223+
-- --- BEGIN op 4178 ( update quality_profile "2160p Balanced" )
224+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
225+
SELECT '2160p Balanced', 'SKST', 'radarr', 0
226+
WHERE NOT EXISTS (
227+
SELECT 1 FROM quality_profile_custom_formats
228+
WHERE quality_profile_name = '2160p Balanced'
229+
AND custom_format_name = 'SKST'
230+
AND arr_type = 'radarr'
231+
);
232+
-- --- END op 4178
233+
234+
-- --- BEGIN op 4179 ( update quality_profile "2160p Balanced" )
235+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
236+
SELECT '2160p Balanced', 'SKST', 'sonarr', 0
237+
WHERE NOT EXISTS (
238+
SELECT 1 FROM quality_profile_custom_formats
239+
WHERE quality_profile_name = '2160p Balanced'
240+
AND custom_format_name = 'SKST'
241+
AND arr_type = 'sonarr'
242+
);
243+
-- --- END op 4179
244+
245+
-- --- BEGIN op 4180 ( update quality_profile "2160p Efficient" )
246+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
247+
SELECT '2160p Efficient', 'SKST', 'radarr', 0
248+
WHERE NOT EXISTS (
249+
SELECT 1 FROM quality_profile_custom_formats
250+
WHERE quality_profile_name = '2160p Efficient'
251+
AND custom_format_name = 'SKST'
252+
AND arr_type = 'radarr'
253+
);
254+
-- --- END op 4180
255+
256+
-- --- BEGIN op 4181 ( update quality_profile "2160p Efficient" )
257+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
258+
SELECT '2160p Efficient', 'SKST', 'sonarr', 0
259+
WHERE NOT EXISTS (
260+
SELECT 1 FROM quality_profile_custom_formats
261+
WHERE quality_profile_name = '2160p Efficient'
262+
AND custom_format_name = 'SKST'
263+
AND arr_type = 'sonarr'
264+
);
265+
-- --- END op 4181
266+
267+
-- --- BEGIN op 4182 ( update quality_profile "2160p Quality" )
268+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
269+
SELECT '2160p Quality', 'SKST', 'radarr', 0
270+
WHERE NOT EXISTS (
271+
SELECT 1 FROM quality_profile_custom_formats
272+
WHERE quality_profile_name = '2160p Quality'
273+
AND custom_format_name = 'SKST'
274+
AND arr_type = 'radarr'
275+
);
276+
-- --- END op 4182
277+
278+
-- --- BEGIN op 4183 ( update quality_profile "2160p Quality" )
279+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
280+
SELECT '2160p Quality', 'SKST', 'sonarr', 0
281+
WHERE NOT EXISTS (
282+
SELECT 1 FROM quality_profile_custom_formats
283+
WHERE quality_profile_name = '2160p Quality'
284+
AND custom_format_name = 'SKST'
285+
AND arr_type = 'sonarr'
286+
);
287+
-- --- END op 4183
288+
289+
-- --- BEGIN op 4184 ( update quality_profile "2160p Remux" )
290+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
291+
SELECT '2160p Remux', 'SKST', 'radarr', 0
292+
WHERE NOT EXISTS (
293+
SELECT 1 FROM quality_profile_custom_formats
294+
WHERE quality_profile_name = '2160p Remux'
295+
AND custom_format_name = 'SKST'
296+
AND arr_type = 'radarr'
297+
);
298+
-- --- END op 4184
299+
300+
-- --- BEGIN op 4185 ( update quality_profile "2160p Remux" )
301+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
302+
SELECT '2160p Remux', 'SKST', 'sonarr', 0
303+
WHERE NOT EXISTS (
304+
SELECT 1 FROM quality_profile_custom_formats
305+
WHERE quality_profile_name = '2160p Remux'
306+
AND custom_format_name = 'SKST'
307+
AND arr_type = 'sonarr'
308+
);
309+
-- --- END op 4185
310+
311+
-- --- BEGIN op 4186 ( update quality_profile "720p Quality" )
312+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
313+
SELECT '720p Quality', 'SKST', 'radarr', 0
314+
WHERE NOT EXISTS (
315+
SELECT 1 FROM quality_profile_custom_formats
316+
WHERE quality_profile_name = '720p Quality'
317+
AND custom_format_name = 'SKST'
318+
AND arr_type = 'radarr'
319+
);
320+
-- --- END op 4186
321+
322+
-- --- BEGIN op 4187 ( update quality_profile "720p Quality" )
323+
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
324+
SELECT '720p Quality', 'SKST', 'sonarr', 0
325+
WHERE NOT EXISTS (
326+
SELECT 1 FROM quality_profile_custom_formats
327+
WHERE quality_profile_name = '720p Quality'
328+
AND custom_format_name = 'SKST'
329+
AND arr_type = 'sonarr'
330+
);
331+
-- --- END op 4187

0 commit comments

Comments
 (0)