From ef1332d3e8306df9e45b008dc3a822f2a9115ab0 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Sun, 23 Aug 2026 23:27:21 +0000 Subject: [PATCH] Add Discovery+ & HBO --- ops/278.add-discovery-hbo.sql | 747 ++++++++++++++++++++++++++++++++++ 1 file changed, 747 insertions(+) create mode 100644 ops/278.add-discovery-hbo.sql diff --git a/ops/278.add-discovery-hbo.sql b/ops/278.add-discovery-hbo.sql new file mode 100644 index 00000000..66d39d7b --- /dev/null +++ b/ops/278.add-discovery-hbo.sql @@ -0,0 +1,747 @@ +-- @operation: export +-- @entity: batch +-- @name: Add Discovery+ & HBO +-- @exportedAt: 2026-08-23T23:27:19.898Z +-- @opIds: 13483, 13484, 13485, 13486, 13487, 13488, 13489, 13490, 13491, 13492, 13493, 13494, 13495, 13496, 13497, 13498, 13499, 13500, 13501, 13502, 13503, 13504, 13505, 13506, 13507, 13508, 13509, 13510, 13511, 13512, 13513, 13514, 13515, 13516, 13517, 13518, 13519, 13520, 13521, 13522, 13523, 13524, 13525, 13526, 13527, 13528, 13529, 13530, 13531, 13532, 13533, 13534, 13535, 13536, 13537, 13538, 13539, 13540, 13541, 13542, 13543, 13544, 13545, 13546, 13547, 13548, 13549, 13550, 13551, 13552, 13553, 13554, 13555, 13556, 13557, 13558, 13559, 13560, 13561, 13562, 13563, 13564, 13565, 13566, 13567, 13568, 13569 + +-- --- BEGIN op 13483 ( create regular_expression "HBO" ) +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('HBO', '\b(PLAY)\b[ ._-]web[ ._-]?(dl|rip)?\b', 'Google TV, formerly known as Google Play Movies & TV, is a digital distribution service for movies and television series developed by Google. Launched in 2011 as part of the Google Play product line, the service offers search and discovery of video titles across multiple streaming services, including rental or purchase options, alongside watchlist features for accessing titles from eligible devices and platforms. In September 2020, it was relaunched as Google TV.', NULL); + +insert into "tags" ("name") values ('Streaming Service') on conflict ("name") do nothing; + +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('HBO', 'Streaming Service'); + +insert into "tags" ("name") values ('WEB-DL') on conflict ("name") do nothing; + +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('HBO', 'WEB-DL'); +-- --- END op 13483 + +-- --- BEGIN op 13484 ( create regular_expression "HBO Rename" ) +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('HBO Rename', '\[(PLAY)\b|\b(PLAY)\]', 'Google TV, formerly known as Google Play Movies & TV, is a digital distribution service for movies and television series developed by Google. Launched in 2011 as part of the Google Play product line, the service offers search and discovery of video titles across multiple streaming services, including rental or purchase options, alongside watchlist features for accessing titles from eligible devices and platforms. In September 2020, it was relaunched as Google TV.', NULL); + +insert into "tags" ("name") values ('Streaming Service') on conflict ("name") do nothing; + +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('HBO Rename', 'Streaming Service'); + +insert into "tags" ("name") values ('WEB-DL') on conflict ("name") do nothing; + +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('HBO Rename', 'WEB-DL'); +-- --- END op 13484 + +-- --- BEGIN op 13485 ( update regular_expression "HBO" ) +update "regular_expressions" set "description" = 'Home Box Office (HBO) is an American premium television network and service, which is the flagship property of namesake parent Home Box Office, Inc., a subsidiary of Warner Bros. Discovery. The overall Home Box Office business unit is based at Warner Bros. Discovery''s corporate headquarters inside 30 Hudson Yards in Manhattan. Programming featured on the service consists primarily of theatrically released motion pictures and original television programs as well as made-for-cable movies, documentaries, occasional comedy, and concert specials, and periodic interstitial programs (consisting of short films and making-of documentaries).' where "name" = 'HBO' and "description" = 'Google TV, formerly known as Google Play Movies & TV, is a digital distribution service for movies and television series developed by Google. Launched in 2011 as part of the Google Play product line, the service offers search and discovery of video titles across multiple streaming services, including rental or purchase options, alongside watchlist features for accessing titles from eligible devices and platforms. In September 2020, it was relaunched as Google TV.'; +-- --- END op 13485 + +-- --- BEGIN op 13486 ( update regular_expression "HBO" ) +update "regular_expressions" set "pattern" = '\b(hbo)(?![ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)' where "name" = 'HBO' and "pattern" = '\b(PLAY)\b[ ._-]web[ ._-]?(dl|rip)?\b'; +-- --- END op 13486 + +-- --- BEGIN op 13487 ( update regular_expression "HBO Rename" ) +update "regular_expressions" set "description" = 'Home Box Office (HBO) is an American premium television network and service, which is the flagship property of namesake parent Home Box Office, Inc., a subsidiary of Warner Bros. Discovery. The overall Home Box Office business unit is based at Warner Bros. Discovery''s corporate headquarters inside 30 Hudson Yards in Manhattan. Programming featured on the service consists primarily of theatrically released motion pictures and original television programs as well as made-for-cable movies, documentaries, occasional comedy, and concert specials, and periodic interstitial programs (consisting of short films and making-of documentaries).' where "name" = 'HBO Rename' and "description" = 'Google TV, formerly known as Google Play Movies & TV, is a digital distribution service for movies and television series developed by Google. Launched in 2011 as part of the Google Play product line, the service offers search and discovery of video titles across multiple streaming services, including rental or purchase options, alongside watchlist features for accessing titles from eligible devices and platforms. In September 2020, it was relaunched as Google TV.'; +-- --- END op 13487 + +-- --- BEGIN op 13488 ( update regular_expression "HBO Rename" ) +update "regular_expressions" set "pattern" = '\[(HBO)\b|\b(HBO)\]' where "name" = 'HBO Rename' and "pattern" = '\[(PLAY)\b|\b(PLAY)\]'; +-- --- END op 13488 + +-- --- BEGIN op 13489 ( update regular_expression "Google TV" ) +update "regular_expressions" set "pattern" = '\b(PLAY)\b[ ._-]web[ ._-]?(DL|RIP)?\b' where "name" = 'Google TV' and "pattern" = '\b(PLAY)\b[ ._-]web[ ._-]?(dl|rip)?\b'; +-- --- END op 13489 + +-- --- BEGIN op 13490 ( update regular_expression "Google TV" ) +update "regular_expressions" set "pattern" = '\b(PLAY)\b[ ._-]WEB[ ._-]?(DL|RIP)?\b' where "name" = 'Google TV' and "pattern" = '\b(PLAY)\b[ ._-]web[ ._-]?(DL|RIP)?\b'; +-- --- END op 13490 + +-- --- BEGIN op 13491 ( update regular_expression "HBO" ) +update "regular_expressions" set "pattern" = '\b(HBO)(?![ ._-]MAX)\b(?=[ ._-]WEB[ ._-]?(DL|RIP)\b)' where "name" = 'HBO' and "pattern" = '\b(hbo)(?![ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'; +-- --- END op 13491 + +-- --- BEGIN op 13492 ( update regular_expression "iTunes" ) +update "regular_expressions" set "pattern" = '\b(iT|iTunes)\b(?=[ ._-]WEB[ ._-]?(DL|RIP)\b)' where "name" = 'iTunes' and "pattern" = '\b(it|itunes)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'; +-- --- END op 13492 + +-- --- BEGIN op 13493 ( update regular_expression "Max" ) +update "regular_expressions" set "pattern" = '\b((?