-- ============================================================================
-- PCD 2.0 Initial Import
-- Generated by YAML to SQL Converter
-- Generated at: 2026-01-31T00:15:41.102Z
-- ============================================================================

-- ============================================================================
-- CORE ENTITIES
-- ============================================================================

-- Tags

INSERT INTO tags (name) VALUES ('1080p');
INSERT INTO tags (name) VALUES ('2160p');
INSERT INTO tags (name) VALUES ('480p');
INSERT INTO tags (name) VALUES ('576p');
INSERT INTO tags (name) VALUES ('720p');
INSERT INTO tags (name) VALUES ('Anime');
INSERT INTO tags (name) VALUES ('Aspect Ratio');
INSERT INTO tags (name) VALUES ('Audio');
INSERT INTO tags (name) VALUES ('Balanced');
INSERT INTO tags (name) VALUES ('Balanced Focused');
INSERT INTO tags (name) VALUES ('Banned');
INSERT INTO tags (name) VALUES ('Bleeding Edge');
INSERT INTO tags (name) VALUES ('Bluray');
INSERT INTO tags (name) VALUES ('Channel');
INSERT INTO tags (name) VALUES ('Codec');
INSERT INTO tags (name) VALUES ('Colour Grade');
INSERT INTO tags (name) VALUES ('Compact');
INSERT INTO tags (name) VALUES ('Compact Focused');
INSERT INTO tags (name) VALUES ('Container');
INSERT INTO tags (name) VALUES ('Dolby');
INSERT INTO tags (name) VALUES ('DVD');
INSERT INTO tags (name) VALUES ('Edition');
INSERT INTO tags (name) VALUES ('Efficient');
INSERT INTO tags (name) VALUES ('Efficient Focused');
INSERT INTO tags (name) VALUES ('Encoder');
INSERT INTO tags (name) VALUES ('Enhancement');
INSERT INTO tags (name) VALUES ('Enhancements');
INSERT INTO tags (name) VALUES ('Flag');
INSERT INTO tags (name) VALUES ('Freeleech');
INSERT INTO tags (name) VALUES ('Golden Popcorn');
INSERT INTO tags (name) VALUES ('GPPi');
INSERT INTO tags (name) VALUES ('h264');
INSERT INTO tags (name) VALUES ('h265');
INSERT INTO tags (name) VALUES ('HDR');
INSERT INTO tags (name) VALUES ('HDTV');
INSERT INTO tags (name) VALUES ('HEVC');
INSERT INTO tags (name) VALUES ('Language');
INSERT INTO tags (name) VALUES ('Lossless');
INSERT INTO tags (name) VALUES ('Lossless Audio');
INSERT INTO tags (name) VALUES ('Lossy Audio');
INSERT INTO tags (name) VALUES ('Movie');
INSERT INTO tags (name) VALUES ('Preview');
INSERT INTO tags (name) VALUES ('Quality');
INSERT INTO tags (name) VALUES ('Quality Focused');
INSERT INTO tags (name) VALUES ('Release Group');
INSERT INTO tags (name) VALUES ('Release Group Tier');
INSERT INTO tags (name) VALUES ('Remux');
INSERT INTO tags (name) VALUES ('Remux Focused');
INSERT INTO tags (name) VALUES ('Repack');
INSERT INTO tags (name) VALUES ('SD');
INSERT INTO tags (name) VALUES ('Source');
INSERT INTO tags (name) VALUES ('Storage');
INSERT INTO tags (name) VALUES ('Streaming Service');
INSERT INTO tags (name) VALUES ('TV');
INSERT INTO tags (name) VALUES ('WEB-DL');
INSERT INTO tags (name) VALUES ('x264');
INSERT INTO tags (name) VALUES ('x265');

-- Languages
-- (Provided by 1.languages.sql - no inserts needed)

-- Regular Expressions

INSERT INTO regular_expressions (name, pattern, description) VALUES ('126811', '(?<=^|[\s.-])126811\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('3D', '(?<=\b[12]\d{3}\b).*\b((bluray|bd)?3d|sbs|half[ .-]ou|half[ .-]sbs)\b', 'Matches terms related to 3D video formats:
- `bluray3d` or `bd3d` (optional `bluray` or `bd` followed by `3d`).
- `sbs` (side-by-side).
- `half ou` or `half sbs` with space (` `), dot (`.`), or hyphen (`-`) as separators.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('3L', '(?<=^|[\s.-])3L\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('4K4U', '(?<=^|[\s.-])4K4U\b', 'Matches the release group `4K4U` only if it is:

- Preceded by the start of the string (`^`), a whitespace character (`\s`), a period (`.`), or a hyphen (`-`).
- Followed by a word boundary (`\b`), ensuring it ends cleanly without being part of a longer word. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('4KDVS', '(?<=^|[\s.-])4KDVS\b', 'Matches "4KDVS" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('5.1 Surround', '\D5\.1\D', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('7.1 Surround', '\D7\.1\D', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('9volt', '(?<=^|[\s.-])9volt\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AAC', '\bAAC(\b|\d)', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ABM', '(?<=^|[\s.-])ABM\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AC', '(?<=^|[\s.-])AC\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ADE', '(?<=^|[\s.-])ADE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AI Movies', '(?<=\b[12]\d{3}\b).*(\b(AI)\b)', 'Matches AI Upscales');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AI TV', '(?<=\bS\d+\b).*(\b(AI)\b)', 'Matches AI Upscales');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AJP69', '(?<=^|[\s.-])AJP69\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Almighty', '(?<=^|[\s.-])Almighty\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Amazon Prime', '\b(?:AMZN|(?:AMAZON)(?=\s*.(?:WEB-?DL|WEBRIP)))\b', 'Amazon Prime Video, or simply Prime Video, is an American subscription video on-demand over-the-top streaming and rental service of Amazon offered both as a stand-alone service and as part of Amazon''s Prime subscription.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ANE', '(?<=^|[\s.-])ANE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AOC', '(?<=^|[\s.-])AOC\b', 'Banned for Excessive Audio Streams');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AOmundson', '(?<=^|[\s.-])AOmundson\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('APEX', '(?<=^|[\s.-])APEX\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Apple TV+', '\b(ATVP|ATV|APTV|Apple TV\+)\s*\b', 'Apple TV+ is an American subscription OTT streaming service owned and operated by Apple Inc. Launched on November 1, 2019, it offers a selection of original production film and television series called Apple Originals.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ARCADE', '(?<=^|[\s.-])ARCADE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Arid', '(?<=^|[\s.-])Arid\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AROMA', '(?<=^|[\s.-])AROMA\b', 'Banned for Retagging');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Asakura', '(?<=^|[\s.-])Asakura\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ASD87', '(?<=^|[\s.-])ASD87\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ASL', '\b(ASL)\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ATELiER', '(?<=^|[\s.-])ATELiER\b', 'Matches "ATELiER" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Atmos', '\bATMOS|DDPA(\b|\d)', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Atmos (Missing)', '\bATMOS(\b|\d)', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AV1', '\b(AV1)\b', 'AV1, or AOMedia Video 1, is a video coding format that compresses video files and streams while maintaining high quality.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AVC', '[xh][ ._-]?264|\bAVC(\b|\d)', 'An open source encoder that produces AVC videos. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('AViATOR', '(?<=^|[\s.-])AViATOR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('B&W', '\d{4}.*?\bblack\b[\s.]*(?:and|\&|-|\/)?[\s.]*\bwhite\b|\bb\&?w\b', 'Black and White colour grading. This regex matches a 4-digit number (optionally surrounded by parentheses), followed by any amount of text, and then detects references to "black and white" in various formats. It supports `blackwhite` (no spaces), `black and white`, `black-white`, "`black & white`, `black/white`, as well as shorthand `BW` and `B&W`, while excluding invalid variations like `b w`, `b-w`, or `b/w`');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('b0mbardiers', '(?<=^|[\s.-])b0mbardiers\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Basic HDR Formats', '(?:(?<=^(?!.*\b(HLG|PQ|SDR)(\b|\d)).*?)HDR)|\b(dv(?![ .](HLG|SDR))|dovi|dolby[ .]?vision)\b', 'Matches Dolby Vision OR HDR10. Needed to better match UHD Blurays');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BBC iPlayer', '\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. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('beAst', '(?<=^|[\s.-])beAst\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BeiTai', '(?<=^|[\s.-])BeiTai\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BEN THE MEN', '\b(BEN[ ._-]THE[ ._-]MEN)\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Better Theatricals', '^\b(terminator.?2|alien[^s].*?1979|star.wars.*?(4k|19)(77)|.*?\bempire.strikes.back|.*?\breturn.of.the.jedi|apocalypse.now|the.exorcist.*?1973|donnie.darko|amadeus|payback.*?1999|payback.straight.up.*?2006|almost.famous)\b', 'Matches movies where the `Theatrical` cut is considered the better version. Subjectively chosen, based on Dictionarry''s personal preferences and major opinion. Needed to override the default special edition preference. Matches:
- Terminator 2: Judgement Day (1991)
- Alien (1979)
- Star Wars OT (1977-1983)
- Apocalypse Now (1979)
- The Exorcist (1973)
- Donnie Darko (2001)
- Amadeus (1984)
- Payback (1999)
- Almost Famous (2000)');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BeyondHD', '(?<=^|[\s.-])BeyondHD\b', 'Banned Due to only doing Full Discs');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BHDStudio', '(?<=^|[\s.-])BHDStudio\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BiTOR', '(?<=^|[\s.-])BiTOR\b', 'Banned for Fake DV/HDR Layer');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BiZKiT', '(?<=^|[\s.-])BiZKiT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BLASPHEMY', '(?<=^|[\s.-])BLASPHEMY\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('bluegreeen', '(?<=^|[\s.-])bluegreeen\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('bluespots', '(?<=^|[\s.-])bluespots\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BLURANiUM', '(?<=^|[\s.-])BLURANiUM\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BlurayDesuYo', '(?<=^|[\s.-])BlurayDesuYo\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BLUTONiUM', '(?<=^|[\s.-])BLUTONiUM\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BlzT', '(?<=^|[\s.-])BlzT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BMF', '(?<=^|[\s.-])BMF\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BOLS', '(?<=^|[\s.-])BOLS\b', 'Banned for Retagging');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Bracketed Year', '\[\d{4}\]', 'Match a year moniker inside square brackets');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Bravia Core', '\b(?:BCORE|(?:CORE)(?=\s*.(?:WEB-?DL|WEBRIP)))\b', 'Sony Pictures Core (formerly known as Bravia Core) is a video on demand service from Sony for its televisions and smartphones, launched in April 2021. The service offers the streaming of movies at up to 4K resolution provided by Sony Pictures Entertainment. CORE stands for Centre of Real Entertainment.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BRUTE', '(?<=^|[\s.-])BRUTE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BSTD', '(?<=^|[\s.-])BSTD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BTM', '(?<=^|[\s.-])(BEN THE MEN|BEN|BTM)\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BTN', '(?<=^|[\s.-])BTN\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BTN Atmos', '\bTrue[ .-]?HDA[ .-]?[57]\.1', 'Matches BroadcastTheNet Atmos naming convention');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BTW', '(?<=^|[\s.-])BTW\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Bunny-Apocalypse', '(?<=^|[\s.-])Bunny-Apocalypse\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BV', '(?<=^|[\s.-])BV\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('BYNDR', '(?<=^|[\s.-])BYNDR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('c0kE', '(?<=^|[\s.-])c0kE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Cait-Sidhe', '(?<=^|[\s.-])Cait-Sidhe\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CasStudio', '(?<=^|[\s.-])CasStudio\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CBFM', '(?<=^|[\s.-])CBFM\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CBT', '(?<=^|[\s.-])CBT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CHAOS', '(?<=^|[\s.-])CHAOS\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CHD', '(?<=^|[\s.-])CHD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Chihiro', '(?<=^|[\s.-])Chihiro\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Chivaman', '(?<=^|[\s.-])Chivaman\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Chotab', '(?<=^|[\s.-])Chotab\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Cinefeel', '(?<=^|[\s.-])Cinefeel\b', 'Matches "Cinefeel" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CiNEPHiLES', '(?<=^|[\s.-])CiNEPHiLES\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CJ', '(?<=^|[\s.-])CJ\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CLASSiCALHD', '(?<=^|[\s.-])CLASSiCALHD\b', 'Banned for LQ Non English / RaR');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CMCT', '(?<=^|[\s.-])CMCT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CMRG', '(?<=^|[\s.-])CM(a)?R(io)?G\b', 'Prolific WEB-DL group. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CoalGirls', '(?<=^|[\s.-])CoalGirls\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('coffee', '(?<=^|[\s.-])coffee\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Colourisation', '\bcolou?r(i[sz]ed?|ed)?\b', 'Colourisation (or colorization in American English) is the process of adding colour to black-and-white, sepia, or other monochrome images. Matches variations of `color` in both American and British spellings, including:

- **Base forms:** `color`, `colour`
- **Past tense/adjective forms:** `colored`, `coloured`
- **Verb forms:** `colorize`, `colourize`, `colorise`, `colourise`
- **Past participles:** `colorized`, `coloured`, `colourized`, `colourised`');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Commie', '(?<=^|[\s.-])Commie\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Crave', '\b(?:CRAV|(?:CRAVE)(?=\s*.(?:WEB-?DL|WEBRIP)))\b', 'Crave (originally CraveTV) is a Canadian subscription video on demand service. The service competes directly with other subscription-based over-the-top streaming services operating in Canada, primarily against American-based services. The service features Bell Media original programming, exclusive Canadian access to programming acquired from several U.S. television and streaming services, and various theatrically-released films. Crave''s major programming supplier is Warner Bros. Discovery (HBO / Max and Warner Bros. films). Starz, offered in partnership with Lionsgate.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CREATiVE24', '(?<=^|[\s.-])CREATiVE24\b', 'Banned for Bloated Garbage');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CRFW', '(?<=^|[\s.-])CRFW\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CRiSC', '(?<=^|[\s.-])CRiSC\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Criterion Channel', '\b(CRiT)\b', 'The Criterion Channel is a subscription-based streaming service launched on April 8, 2019, by The Criterion Collection. Available in the United States and Canada, it features a rich library of films, including Criterion Collection releases with special features, curated playlists, temporarily licensed titles, and original content such as academic overviews and introductions. The Channel also showcases Janus-owned titles not yet available on physical media and maintains a collaborative relationship with Warner Bros. Discovery''s Max platform. Perfect for cinephiles, the service brings a curated cinematic experience to the digital space.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CRUD', '(?<=^|[\s.-])CRUD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Crunchyroll', '\b(C(runchy)?[ .-]?R(oll)?)\b', 'Crunchyroll is a popular streaming service focused on anime, manga, and Asian entertainment. It offers a large library of animated series and films, including both classic titles and new simulcasts straight from Japan, often with subtitles soon after they air. Users can watch on demand across devices, and there’s both a free, ad-supported tier and paid premium subscriptions with ad-free viewing and early access to episodes.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CRX', '(?<=^|[\s.-])CRX\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CTR', '(?<=^|[\s.-])CTR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('CtrlHD', '(?<=^|[\s.-])CtrlHD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('cXcY', '(?<=^|[\s.-])cXcY\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('D-Z0N3', '(?<=^|[\s.-])D-Z0N3\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('d3g', '(?<=^|[\s.-])d3g\b', 'Banned for LQ and various Encode Issues.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Dariush', '(?<=^|[\s.-])Dariush\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DARKFLiX', '(?<=^|[\s.-])DARKFLiX\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DarQ', '(?<=^|[\s.-])DarQ\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('dB', '(?<=^|[\s.-])dB\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('de[42]', '(?<=^|[\s.-])de[42]\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('deanzel', '(?<=^|[\s.-])deanzel\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('decibeL', '(?<=^|[\s.-])decibeL\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DEFLATE', '(?<=^|[\s.-])DEFLATE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Dekinai', '(?<=^|[\s.-])Dekinai\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DepraveD', '(?<=^|[\s.-])DepraveD\b', 'Banned for Fake DV/HDR Layer');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DEPTH', '(?<=^|[\s.-])DEPTH\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DeViSiVE', '(?<=^|[\s.-])DeViSiVE\b', 'Ban for Mislabeled WEBRip');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Disney+', '\b(dsnp|dsny(p)?|disney\+)\s*\b', 'Disney+ is an American subscription video on-demand over-the-top streaming media service that primarily distributes films and television shows produced by Walt Disney Studios and Disney Television Studios, with dedicated content hubs for Disney''s flagship brands; Disney, Pixar, Marvel, Star Wars, National Geographic, ESPN, Hulu and Star.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('dkore', '(?<=^|[\s.-])dkore\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Doki', '(?<=^|[\s.-])Doki\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Dolby Digital', '\bDD[^a-z+]|(?<!e)ac3', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Dolby Digital +', '\bDD[P+]|\b(e[-_. ]?ac3)\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Dolby Vision', '\b(dv(?![ .](HLG|SDR))|dovi|dolby[ .]?vision)\b', 'Dolby Vision is a high dynamic range (HDR) video format that uses dynamic metadata to deliver enhanced brightness, contrast, and color on a scene-by-scene or frame-by-frame basis, providing superior picture quality. This pattern excludes matches where Dolby Vision is associated with SDR (Standard Dynamic Range) or HLG (Hybrid Log-Gamma), ensuring it focuses on Dolby Vision-specific terms.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Dolby Vision (Without Fallback)', '(?<=^(?!.*(HDR|HULU|REMUX|BLURAY)).*?)\b(DV|Dovi|Dolby[- .]?V(ision)?)\b', 'Matches Dolby Vision when it doesn''t come with regular HDR Fallback (A Bluray Remux or a Hulu WEB-DL)');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DON', '(?<=^|[\s.-])DON\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Drag', '(?<=^|[\s.-])Drag\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Dropout TV', '\b(DRPO)\b', 'Dropout is an American comedy subscription streaming service run by the production company of the same name (formerly CollegeHumor), founded in September 2018. Its ad-free original shows are mainly composed of live play, such as Dimension 20 hosted by Brennan Lee Mulligan, and improv comedy and panel shows like Game Changer, Make Some Noise (both hosted by Dropout owner and CEO Sam Reich), and Very Important People hosted by Vic Michaelis. Dropout''s series often feature a rotating cast of regular comedians and performers.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DRX', '(?<=^|[\s.-])DRX\b', 'Banned for Non Retail Audio');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DS4K', '\b(DS4K)\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DTS', '\bDTS(\b|\d)', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DTS Basic', 'DTS[ .]?[1-9]', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DTS-ES', 'dts[-. ]?es\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DTS-HD HRA', 'dts[-. ]?(hd[. ]?)?(hra?|hi\b)', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DTS-HD HRA ES', 'dts[-. ]?(es|(hd[. ]?)?(hr|hi))', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DTS-HD MA', '\b(dts[-_. ]?(ma|hd([-_. ]?ma)?|xll))(\b|\d)', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('DTS-X', '\b(dts[-_. :]?x)\b(?!\d)', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Dual Audio', '\b((multi[^a-zA-Z]*)|(dual[\s.-](audio|complete)))\b', 'Matches releases with Dual Audio; Media releases that contain two language tracks - typically the original language (such as Japanese) along with an English dub, allowing viewers to switch between either audio track while watching the same video content.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('E', '(?<=^|[\s.-])E\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('E.N.D', '(?<=^|[\s.-])E.N.D\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('E1', '(?<=^|[\s.-])E1\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('EA', '(?<=^|[\s.-])EA\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('EbP', '(?<=^|[\s.-])EbP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('edge2020', '(?<=^|[\s.-])edge2020\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('EDPH', '(?<=^|[\s.-])EDPH\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ELiTE', '(?<=^|[\s.-])ELiTE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('EMERALD', '(?<=^|[\s.-])EMERALD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('EPSiLON', '(?<=^|[\s.-])EPSiLON\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Erai-Raws', '(?<=^|[\s.-])Erai-Raws\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ESiR', '(?<=^|[\s.-])ESiR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('EuReKA', '(?<=^|[\s.-])EuReKA\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('EVO', '(?<=^|[\s.-])EVO\b', 'iPT Internal known for releasing pre-releases before anyone else. Also releases encodes of varying quality. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('EXCiSION', '(?<=^|[\s.-])EXCiSION\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Exiled-Destiny', '(?<=^|[\s.-])Exiled-Destiny\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('EXP', '(?<=^|[\s.-])EXP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Extended Clip', '\b(extended.?clip)\b', 'Matches preview releases labelled as `Extended Clip`');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Extras', '(?i)(?<=\b[12]\d{3}\b).*(\b|\.)\b(Extras?|Bonus|Extended[ ._-]Clip|Special Feature[s]?)\b', 'Extras, Special Features, Featurettes, etc');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('FFF', '(?<=^|[\s.-])FFF\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('FGT', '(?<=^|[\s.-])FGT\b', 'Banned for Retagging');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Final8', '(?<=^|[\s.-])Final8\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('FLAC', '\bFLAC(\b|\d)', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('FLAME', '(?<=^|[\s.-])FLAME\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Flights', '(?<=^|[\s.-])Flights\b', 'Banned for Fake DV/HDR Layer');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Flugel', '(?<=^|[\s.-])Flugel\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('FLUX', '(?<=^|[\s.-])FLUX\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('FoRM', '(?<=^|[\s.-])FoRM\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('FraMeSToR', '(?<=^|[\s.-])FraMeSToR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Full Disc', '^(?!.*\b((?<!HD[._ -]|HD)DVD|BDRip|MKV|XviD|WMV|d3g|BDREMUX|REMUX|^(?=.*1080p)(?=.*HEVC)|[xh][-_. ]?26[45]|German.*DL|((?<=\d{4}).*German.*(DL)?)(?=.*\b(AVC|HEVC|VC[-_. ]?1|MVC|MPEG[-_. ]?2)\b))\b)(((?=.*\b(Blu[-_. ]?ray|BD|HD[-_. ]?DVD)\b)(?=.*\b(AVC|HEVC|VC[-_. ]?1|MVC|MPEG[-_. ]?2|BDMV|ISO)\b))|^((?=.*\b(^((?=.*\b((.*_)?COMPLETE.*|Dis[ck])\b)(?=.*(Blu[-_. ]?ray|HD[-_. ]?DVD)))|3D[-_. ]?BD|BR[-_. ]?DISK|Full[-_. ]?Blu[-_. ]?ray|^((?=.*((BD|UHD)[-_. ]?(25|50|66|100|ISO)))))))).*|(?i)(DVD9|DVD5|NTSC|PAL|VOB IFO|VC-1|AVC|MPEG-2|\bCOMPLETE[-.\s]?(?:UHD[-.\s])?BLU[-.\s]?RAY\b|\bCOMPLETE BLURAY\b|\bBR-Disk\b)', 'A Full Disc release refers to a complete copy of a physical media disc, such as a DVD or Blu-ray, preserving all original content including menus, bonus features, and multiple audio or subtitle tracks. Unlike compressed or re-encoded formats, Full Disc files maintain the full structure and quality of the original disc, often stored as ISO files or folders like BDMV for Blu-rays. These releases are ideal for users seeking an authentic, unaltered experience identical to using the physical disc.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('GALAXY', '(?<=^|[\s.-])GALAXY\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('GALVANiZE', '(?<=^|[\s.-])GALVANiZE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Geek', '(?<=^|[\s.-])Geek\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('GNOME', '(?<=^|[\s.-])GNOME\b', 'Matches "GNOME" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Golden Popcorn Negation', '(?<=^|[\s.-])(AJP69|ATELiER|BMF|BSTD|BV|c0kE|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EDPH|EbP|ESiR|EuReKA|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|HANDJOB|hdalx|HDC|HDMaNiAcS|HiDt|HiFi|HiP|HQMUX|IDE|iFT|iON|Ivandro|KASHMiR|Kitsune|KnG|LEGi0N|LiNG|LolHD|LoRD|luvBB|MaG|MTeam|NCmt|NiBuRu|NiP|nmd|NTb|NyHD|ORiGEN|P0W4HD|Penumbra|playHD|Positive|PTer|PTP|REBORN|RiCO|rightSIZE|RO|ROCiNANTE|rttr|SA89|SaNcTi|SbR|SiMPLE|Skazhutin|Slappy|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|ThD|TnP|VLAD|VietHD|W4NK3R|WiKi|WiLDCAT|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b', 'Match release groups who should not be categorized as UHD Bluray');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Google TV', '\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.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Google TV 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.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('GRiMM', '(?<=^|[\s.-])GRiMM\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('GS88', '(?<=^|[\s.-])GS88\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('GUHZER', '(?<=^|[\s.-])GUHZER\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('h264', '(?i)h\s*\.?\s*264', 'An open source encoder that produces H.264 videos. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('h265', '(?i)h\s*\.?\s*265', 'A video compression standard that delivers higher efficiency than H.264, enabling better quality at lower bitrates, ideal for 4K and HDR content.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HaB', '(?<=^|[\s.-])HaB\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('hallowed', '(?<=^|[\s.-])hallowed\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HANDJOB', '(?<=^|[\s.-])HANDJOB\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Hares', '(?<=^|[\s.-])Hares\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HBO Max', '\b(?:HMAX|HBOM|(?:HBO[ ._-]?MAX)(?=\s*.(?:WEB-?DL|WEBRIP)))\b', 'HBO Max is an American subscription video-on-demand streaming service that offers a range of original programming and content from WarnerMedia''s vast library, encompassing brands such as Warner Bros., CNN, Cartoon Network, TBS, and Turner Classic Movies. In mid-to-late 2023, HBO Max underwent a rebranding to "Max".');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('hchcsen', '(?<=^|[\s.-])hchcsen\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('hdalx', '(?<=^|[\s.-])hdalx\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HDC', '(?<=^|[\s.-])HDC\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HDChina', '(?<=^|[\s.-])HDChina\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HDMaNiAcS', '(?<=^|[\s.-])HDMaNiAcS\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HDmux', '(?<=^|[\s.-])HDmux\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HDR', '\b(HDR)\b', 'This regex matches a `HDR` generalisation. This can be HDR10, HDR10+, etc. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HDR10', '\bHDR10(?!\+|Plus)\b', 'This regex matches `HDR10` only when it *is not* followed by any HDR format specifiers like `+`, or `Plus`. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HDR10 (Missing Groups)', '\b(3L|CiNEPHiLES|c0kE|EDV|ElNeekster|FraMeSToR|HDH|HQMUX|Kenobi|mimic|NTb|playBD|RYU|SiCFoI|STRiKES|TekMUX|TRiToN|W4NK3R)\b', 'Matches groups who mislabel HDR10');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HDR10 (Negation)', '(?<=^|[\s.-])BHDStudio\b', 'Matches groups who mislabel HDR10');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HDR10+', '\bHDR10.?(\+|P(lus)?\b)', 'This regex matches `HDR10` when followed by either a plus sign `+`, `P`, or `Plus`');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HDS', '(?<=^|[\s.-])HDS\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Headpatter', '(?<=^|[\s.-])Headpatter\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HEVC', '[xh][ ._-]?265|\bHEVC(\b|\d)', 'An open source encoder that produces HEVC videos. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HHWEB', '(?<=^|[\s.-])HHWEB\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HiDt', '(?<=^|[\s.-])HiDt\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HiFi', '(?<=^|[\s.-])HiFi\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HiP', '(?<=^|[\s.-])HiP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HLG', '\b(HLG)\b', 'This regex matches a `HLG` generalisation. This is a basic HDR Format.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HODL', '(?<=^|[\s.-])HODL\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Holomux', '(?<=^|[\s.-])Holomux\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HONE', '(?<=^|[\s.-])HONE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Honeyvera', '(?<=^|[\s.-])Honeyvera\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HorribleSubs', '(?<=^|[\s.-])HorribleSubs\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Hotstar', '\b(HTSR)\b', 'Disney+ Hotstar, also known as JioHotstar or simply Hotstar, is an Indian subscription video-on-demand over-the-top streaming service owned by Disney Star. The brand was introduced as Hotstar for a streaming service carrying content from Disney Star''s (formerly Star India) local networks, including films, television series, live sports, and original programming, as well as featuring content licensed from third parties such as Showtime among others.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HQMUX', '(?<=^|[\s.-])HQMUX\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Hulu', '\b(Hulu)\b', 'Hulu, an American subscription streaming service owned by Disney, offers recent TV episodes, full seasons of shows, original content, and live TV channels. As of December 2023, Hulu content is being integrated into Disney+, making its library accessible to Disney+ subscribers.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('hydes', '(?<=^|[\s.-])hydes\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('HypStu', '(?<=^|[\s.-])HypStu\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('IAMABLE', '(?<=^|[\s.-])IAMABLE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('IDE', '(?<=^|[\s.-])IDE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('iFT', '(?<=^|[\s.-])iFT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('IK', '(?<=^|[\s.-])IK\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('IMAX', '\b((?<!NON.?)IMAX)\b', 'Matches any IMAX release. This includes:
- Any movie shot with IMAX in mind and henceforth tagged as `IMAX`
- IMAX Enchanced digital releases found on `Disney + / Bravia Core`');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('IMAX Enhanced', '^(?=.*\b((DSNP|Disney\+|BC|B?CORE)(?=.?web.?(dl|rip)\b)))(?=.*\b((?<!NON.?)IMAX(.?Enhanced)?)\b)', 'Matches IMAX releases from specific digital sources.

- Checks for WEBs from `Disney+` or `Bravia Core`
- Ensures "IMAX" appears (with optional "Enhanced" suffix) but not when preceded by "NON"');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('iON', '(?<=^|[\s.-])iON\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('iPT Internals', '(?<=^|[\s.-])CM(a)?R(io)?G|EVO\b', 'Matches EVO / CMRG. Needed for the iTunes (Missing) CF. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('iQIYI', '\b(IQIYI|IQ)\b', 'iQIYI is a Chinese subscription video on-demand over-the-top streaming service owned by Baidu. Headquartered in Beijing, iQIYI primarily produces and distributes films and television series.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('iTunes', '\b(it|itunes)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)', 'iTunes began offering video content in October 2005 with the release of iTunes 6. At launch, the iTunes Store provided popular TV shows from ABC, Disney Channel, and other networks. Users could purchase and view video content, such as episodes of Desperate Housewives, Lost, That''s So Raven, and The Suite Life of Zack & Cody.

In 2008, Apple introduced "iTunes Digital Copy," a feature on select DVDs and Blu-ray discs that allowed users to obtain a digital copy of the video content in iTunes and associated media players.

Over time, iTunes expanded its video offerings and became a significant platform for purchasing, organizing, and viewing movies and TV shows.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('iTunes Rename', '\[(iT)\b|\b(iT)\]', 'iTunes began offering video content in October 2005 with the release of iTunes 6. At launch, the iTunes Store provided popular TV shows from ABC, Disney Channel, and other networks. Users could purchase and view video content, such as episodes of Desperate Housewives, Lost, That''s So Raven, and The Suite Life of Zack & Cody.

In 2008, Apple introduced "iTunes Digital Copy," a feature on select DVDs and Blu-ray discs that allowed users to obtain a digital copy of the video content in iTunes and associated media players.

Over time, iTunes expanded its video offerings and became a significant platform for purchasing, organizing, and viewing movies and TV shows.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Ivandro', '(?<=^|[\s.-])Ivandro\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('iVy', '(?<=^|[\s.-])iVy\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Iznjie Biznjie', '(?<=^|[\s.-])Iznjie Biznjie\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('j3rico', '(?<=^|[\s.-])j3rico\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('jennaortegaUHD', '(?<=^|[\s.-])jennaortega(UHD)?\b', 'Banned for Fake DV/HDR Layer');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('JustWatch', '(?<=^|[\s.-])JustWatch\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('k00kie', '(?<=^|[\s.-])k00kie\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Kaleido', '(?<=^|[\s.-])Kaleido\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Kametsu', '(?<=^|[\s.-])Kametsu\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('KAN3D2M', '(?<=^|[\s.-])KAN3D2M\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('KASHMiR', '(?<=^|[\s.-])KASHMiR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('kBaraka', '(?<=^|[\s.-])kBaraka\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('KC', '(?<=^|[\s.-])KC\b', 'Banned for AI Upscales');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('KCW', '\b(KCW|Kocowa)\b', 'Kocowa is an American over-the-top streaming service headquartered in Los Angeles as a joint venture between the top three Korean broadcast networks to provide Korean entertainment including K-dramas, K-reality, K-variety, and K-pop to the Americas and all with multi-language subtitles.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('KH', '(?<=^|[\s.-])KH\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('KHN', '(?<=^|[\s.-])KHN\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('KiNGS', '(?<=^|[\s.-])KiNGS\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Kitsune', '(?<=^|[\s.-])Kitsune\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('kmplx', '(?<=^|[\s.-])kmplx\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('KnG', '(?<=^|[\s.-])KnG\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('KONTRAST', '(?<=^|[\s.-])KONTRAST\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Koten_Gars', '(?<=^|[\s.-])Koten_Gars\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('KRaLiMaRKo', '(?<=^|[\s.-])KRaLiMaRKo\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('kuchikirukia', '(?<=^|[\s.-])kuchikirukia\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LAMA', '(?<=^|[\s.-])LAMA\b', 'Banned for Retagging');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LAZARUS', '(?<=^|[\s.-])LAZARUS\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LAZY', '(?<=^|[\s.-])LAZY\b', 'Matches "LAZY" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LazyRemux', '(?<=^|[\s.-])LazyRemux\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LEGi0N', '(?<=^|[\s.-])LEGi0N\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LiNG', '(?<=^|[\s.-])LiNG\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LittleBakas', '(?<=^|[\s.-])LittleBakas\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LM', '(?<=^|[\s.-])LM\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LolHD', '(?<=^|[\s.-])LolHD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LoRD', '(?<=^|[\s.-])LoRD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LSt', '(?<=^|[\s.-])LSt\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Lulu', '(?<=^|[\s.-])Lulu\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Lulz', '(?<=^|[\s.-])Lulz\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('luvBB', '(?<=^|[\s.-])luvBB\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('LYS1TH3A', '(?<=^|[\s.-])LYS1TH3A\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('MaG', '(?<=^|[\s.-])MaG\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('MainFrame', '(?<=^|[\s.-])MainFrame\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Max', '\b((?<!hbo[ ._-])max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)', 'Max, formerly (and in some regions still) known as HBO Max, is an American subscription video on-demand over-the-top streaming service. The platform offers content from the libraries of Warner Bros., Discovery, HBO, CNN, Cartoon Network, Adult Swim, Animal Planet, TBS, TNT, Eurosport, and their related brands.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Max Rename', '\[(MAX)\b|\b(MAX)\]', 'Max, formerly (and in some regions still) known as HBO Max, is an American subscription video on-demand over-the-top streaming service. The platform offers content from the libraries of Warner Bros., Discovery, HBO, CNN, Cartoon Network, Adult Swim, Animal Planet, TBS, TNT, Eurosport, and their related brands.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('MeGusta', '(?<=^|[\s.-])MeGusta\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('MgB', '(?<=^|[\s.-])MgB\b', 'Banned for Mislabeled 2160p WEBRips');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('MiMiC', '(?<=^|[\s.-])MiMiC\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('mkv', '.mkv|.mp4', 'Matches MKV and MP4 containers. Helps to differentiate file names from torrent names.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('MNHD', '(?<=^|[\s.-])MNHD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('monkee', '(?<=^|[\s.-])monkee\b', 'Matches "monkee" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('mottoj', '(?<=^|[\s.-])mottoj\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Movies Anywhere', '\b(?<!dts[ .-]?hd[ .-]?)ma\b(?=.*\bweb[ ._-]?(dl|rip)\b)', 'Movies Anywhere (MA) is a cloud-based digital rights locker and over-the-top streaming platform that allows users to stream and download purchased films, including digital copies redeemed from codes found in home video releases as well as digital purchases from participating services');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('MTBB', '(?<=^|[\s.-])MTBB\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('MTeam', '(?<=^|[\s.-])MTeam\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Mubi', '\b(MUBI)\b', 'Mubi is a British streaming platform, production company and film distributor. Mubi produces and theatrically distributes films by emerging and established filmmakers, which are exclusively available on its platform. The catalogue consists of world cinema films, such as arthouse, documentary and independent films.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Mysteria', '(?<=^|[\s.-])Mysteria\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('MZABI', '(?<=^|[\s.-])MZABI\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NAHOM', '(?<=^|[\s.-])NAHOM\b', 'Banned for Poor Quality Multi');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NAN0', '(?<=^|[\s.-])NAN0\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NCmt', '(?<=^|[\s.-])NCmt\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Netaro', '(?<=^|[\s.-])Netaro\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Netflix', '\b(NF|Netflix)\b', 'Netflix is an American subscription video on-demand over-the-top streaming service. The service primarily distributes original and acquired films and television shows from various genres, and it is available internationally in multiple languages.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NH', '(?<=^|[\s.-])NH\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NhaNc3', '(?<=^|[\s.-])NhaNc3\b', 'Banned for Low Mixed Quality Releases');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NiBuRu', '(?<=^|[\s.-])NiBuRu\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NINJACENTRAL', '(?<=^|[\s.-])NINJACENTRAL\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NiP', '(?<=^|[\s.-])NiP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('nmd', '(?<=^|[\s.-])nmd\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NoGroup', '(?<=^|[\s.-])NoGr(ou)?p\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Non Retail HDR Formats', '(?:(?<=^(?!.*\b(HLG|PQ|SDR)(\b|\d)).*?)HDR10(\+|P(lus)?))|\b(dv(?![ .](HLG|SDR))|dovi|dolby[ .]?vision)\b', 'Matches Dolby Vision OR HDR10+. Needed to match release groups who create custom HDR layers. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Non Retail HDR Groups', '(?<=^|[\s.-])VECTOR|BiTOR|DepraveD|SasukeducK|tarunk9c|jennaortegaUHD|VisionXpert|Flights\b', 'Matches groups that produce non retail HDR.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NOSiViD', '(?<=^|[\s.-])NOSiViD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Now', '\b(now)\b[ ._-]web[ ._-]?(dl|rip)?\b', 'Now (formerly Now TV and often stylised as NOW) is a subscription over-the-top streaming television service launched in the United Kingdom in 2012. It is operated by Sky Group in Europe, and Xfinity in the US; both owned by the American media conglomerate Comcast.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Now Rename', '\[(NOW)\b|\b(NOW)\]', 'Now (formerly Now TV and often stylised as NOW) is a subscription over-the-top streaming television service launched in the United Kingdom in 2012. It is operated by Sky Group in Europe, and Xfinity in the US; both owned by the American media conglomerate Comcast.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('noxxus', '(?<=^|[\s.-])noxxus\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NPMS', '(?<=^|[\s.-])NPMS\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NTb', '(?<=^|[\s.-])NTb\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NTG', '(?<=^|[\s.-])NTG\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('NyHD', '(?<=^|[\s.-])NyHD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('OEPlus', '(?<=^|[\s.-])OEPlus\b', 'Banned for Automated Encodes');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Okay-Subs', '(?<=^|[\s.-])Okay-Subs\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('OnlyWeb', '(?<=^|[\s.-])OnlyWeb\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Open Matte', '\b(open.?matte)\b', 'Matches releases with restored widescreen aspect ratio labelled as`Open Matte`');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Opus', '\bOPUS(\b|\d)(?!.*[ ._-](\d{3,4}p))', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Opus (Negation)', '(?<=^|[\s.-])OPUS\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ORBiT', '(?<=^|[\s.-])ORBiT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ORiGEN', '(?<=^|[\s.-])ORiGEN\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Orphan', '(?<=^|[\s.-])Orphan\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('OZR', '(?<=^|[\s.-])OZR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('P0W4HD', '(?<=^|[\s.-])P0W4HD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Paramount+', '\b(PMTP|Paramount Plus)\b', 'Paramount+ is an American subscription video on-demand over-the-top streaming service owned that offers content primarily from the libraries of CBS Media Ventures, CBS Studios, Paramount Media Networks and Paramount Pictures, while also including original series and films, live streaming sports coverage, and in the United States, live streaming of local CBS broadcast stations. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PCM', '\b(l?)PCM(\b|\d)', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Peacock TV', '\b(?:PCOK|(?:Peacock)(?=\s*.(?:WEB-?DL|WEBRIP)))\b', 'Peacock is an American over-the-top subscription streaming service owned and operated by Peacock TV, LLC, a subsidiary of NBCUniversal Media Group. The service primarily features series and film content from NBCUniversal studios and other third-party content providers (such as WWE and Hallmark Channel).');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Penumbra', '(?<=^|[\s.-])Penumbra\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PHOCiS', '(?<=^|[\s.-])PHOCiS\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PHOENiX', '(?<=^|[\s.-])PHOENiX\b', 'Matches "PHOENiX" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PiRAMiDHEAD', '(?<=^|[\s.-])PiRAMiDHEAD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PiRaTeS', '(?<=^|[\s.-])PiRaTeS\b', 'Banned for Mislabeling WEB-DLs as WEBRips');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('playBD', '(?<=^|[\s.-])playBD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('playHD', '(?<=^|[\s.-])playHD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('playSD', '(?<=^|[\s.-])playSD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('playWEB', '(?<=^|[\s.-])playWEB\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PLUTONiUM', '(?<=^|[\s.-])PLUTONiUM\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PmP', '(?<=^|[\s.-])PmP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('pog42', '(?<=^|[\s.-])pog42\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Pookie', '(?<=^|[\s.-])Pookie\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Positive', '(?<=^|[\s.-])Positive\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PP', '(?<=^|[\s.-])PP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PQ', '\b(PQ|PQ10)\b', 'This regex matches a `PQ` generalisation. This is a basic HDR Format.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PSA', '(?<=^|[\s.-])PSA\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PTer', '(?<=^|[\s.-])PTer\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PTerWEB', '(?<=^|[\s.-])PTerWEB\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PTP', '(?<=^|[\s.-])PTP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PussyFoot', '(?<=^|[\s.-])PussyFoot\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('PuTao', '(?<=^|[\s.-])PuTao\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('QOQ', '(?<=^|[\s.-])QOQ\b', 'Matches "QOQ" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Quetzal', '(?<=^|[\s.-])Quetzal\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('QxR', '(?<=^|[\s.-])(QxR|afm72|Bandi|Celdra|FreetheFish|Garshasp|Ghost|Ime|Kappa|Langbard|LION|Panda|MONOLITH|Natty|r00t|RCVR|RZeroX|SAMPA|Silence|t3nzin|Tigole|YOGI)\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('QxR (Title)', 'QxR', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('R1GY3B', '(?<=^|[\s.-])R1GY3B\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Raizel', '(?<=^|[\s.-])Raizel\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Ralphy', '(?<=^|[\s.-])Ralphy\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('RARGB', '(?<=^|[\s.-])RARGB\b', 'Banned for Low Quality');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Rasetsu', '(?<=^|[\s.-])Rasetsu\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('RAWR', '(?<=^|[\s.-])RAWR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ReaLHD', '(?<=^|[\s.-])ReaLHD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('REBORN', '(?<=^|[\s.-])REBORN\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Release Group (Missing)', '.', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Remux', 'Remux', 'A remux is a digital video file that maintains the exact quality of the original source (like a Blu-ray or DVD) by copying the video and audio streams without re-encoding them, essentially creating a perfect 1:1 copy. Think of it like carefully transferring the contents of a Blu-ray disc into a more convenient container file format (typically MKV), similar to pouring fine wine from its bottle into a decanter without changing the wine itself.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Repack1', '\b(re(pack|rip)|proper)\b', 'Matches ''PROPER'' or ''REPACK'' or ''RERIP'' only when they appear after a year (4 digits) but not before one.

* `(?<=.*?\d{4}.*?)` - look for a 4-digit number before
* `\b(re(pack|rip)|proper)\b` - match proper/repack/rerip');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Repack2', '\b(real[\s.]?(re(pack|rip)|proper)|(re(pack|rip)|proper)2)\b', 'Matches either "real" (with optional space/dot) followed by proper/repack/rerip, or proper2/repack2/rerip2

* `\b(real[\s.]?(re(pack|rip)|proper)` - match real followed by proper/repack/rerip
* `|(re(pack|rip)|proper)2)\b` - or match proper2/repack2/rerip2');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Repack3', '\b(real[\s.]?real[\s.]?(re(pack|rip)|proper)|(re(pack|rip)|proper)3)\b', 'Matches either "real real" (with optional space/dot between words) followed by proper/repack/rerip, or proper3/repack3/rerip3

* `\b(real[\s.]?real[\s.]?(re(pack|rip)|proper)` - match real real followed by proper/repack/rerip
* `|(re(pack|rip)|proper)3)\b` - or match proper3/repack3/rerip3');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ReQuEsT', '(?<=^|[\s.-])ReQuEsT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('RiCO', '(?<=^|[\s.-])RiCO\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('rightSIZE', '(?<=^|[\s.-])rightSIZE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('RO', '(?<=^|[\s.-])RO\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ROCCaT', '(?<=^|[\s.-])ROCCaT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ROCiNANTE', '(?<=^|[\s.-])ROCiNANTE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Roku', '\b(ROKU)\b', 'The Roku Channel is an over-the-top video streaming service available in the U.S., Canada, Mexico and the U.K. Launched in September 2017. The Roku Channel offers over 400 free live linear TV channels, more than 80,000 free movies and shows, and access to paid content.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('RTN', '(?<=^|[\s.-])RTN\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('rttr', '(?<=^|[\s.-])rttr\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SA89', '(?<=^|[\s.-])SA89\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Saizen', '(?<=^|[\s.-])Saizen\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SallySubs', '(?<=^|[\s.-])SallySubs\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('sam', '(?<=^|[\s.-])sam\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SaNcTi', '(?<=^|[\s.-])SaNcTi\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SARTRE', '(?<=^|[\s.-])SARTRE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SasukeducK', '(?<=^|[\s.-])SasukeducK\b', 'Banned for Fake DV/HDR Layer');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SbR', '(?<=^|[\s.-])SbR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Scene', '(?<=^|[\s.-])(SPARKS|DRONES|ROVERS|SPRINTER|GECKOS|SHORTBREHD|EDITH|FilmHD|POW4HD|HD4U|TENEIGHTY|ETHEL)\b', 'Matches Scene Groups');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SCY', '(?<=^|[\s.-])SCY\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SDR', '\b(SDR)\b', 'Explicitly matches labelled Standard Dynamic Range, i.e. "SDR" ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Senjou', '(?<=^|[\s.-])Senjou\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SHD', '(?<=^|[\s.-])SHD\b', 'Banned for Retagging');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ShieldBearer', '(?<=^|[\s.-])ShieldBearer\b', 'Banned For AI Upscale');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Showtime', '\b(sho|showtime)\b[ ._-]web[ ._-]?(dl|rip)?\b', 'Showtime (also known as Paramount+ with Showtime) is an American premium television network and the flagship property of Showtime Networks, a sub-division of the Paramount Media Networks division of Paramount Global. Showtime''s programming includes original television series produced exclusively for the linear network and developed for the co-owned Paramount+ streaming service, theatrically released and independent motion pictures, documentaries, and occasional stand-up comedy specials, made-for-TV movies, and softcore adult programming.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Showtime Rename', '\[(SHO)\b|\b(SHO)\]', 'Showtime (also known as Paramount+ with Showtime) is an American premium television network and the flagship property of Showtime Networks, a sub-division of the Paramount Media Networks division of Paramount Global. Showtime''s programming includes original television series produced exclusively for the linear network and developed for the co-owned Paramount+ streaming service, theatrically released and independent motion pictures, documentaries, and occasional stand-up comedy specials, made-for-TV movies, and softcore adult programming.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SiC', '(?<=^|[\s.-])SiC\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SiCFoI', '(?<=^|[\s.-])SiCFoI\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SiGLA', '(?<=^|[\s.-])SiGLA\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SiGMA', '(?<=^|[\s.-])SiGMA\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SiMPLE', '(?<=^|[\s.-])SiMPLE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Sing Along', '(?<=\b[12]\d{3}\b).*\b(Sing[-_. ]Along)\b', 'Matches "Sing Along" releases when `Sing Along` is preceded by a year
- Ensures that `Sing Along` is not matched in the movie title');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Skazhutin', '(?<=^|[\s.-])Skazhutin\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Slappy', '(?<=^|[\s.-])Slappy\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SM737', '(?<=^|[\s.-])SM737\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('smol', '(?<=^|[\s.-])smol\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SMURF', '(?<=^|[\s.-])SMURF\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SoLaR', '(?<=^|[\s.-])SoLaR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SOP', '(?<=^|[\s.-])SOP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Sourceless Groups', '(?<=^|[\s.-])(ELiTE|Megusta)\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Special Edition', '(?<=\b[12]\d{3}\b).*\b(Cut|Directors|DC|Edition|Extended|Special|Uncensored|Uncut|Unrated|Version)(\b|\d)', 'Matches any type of non theatrical edition. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SPHD', '(?<=^|[\s.-])SPHD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SPiRiT', '(?<=^|[\s.-])SPiRiT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SQS', '(?<=^|[\s.-])SQS\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Stan', '\b(stan)\b[ ._-]web[ ._-]?(dl|rip)?\b', 'Stan is an Australian over-the-top streaming service. The service offers a broad range of film and television content from both local and foreign productions, particularly from the United States and United Kingdom.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Stan Rename', '\[(STAN)\b|\b(STAN)\]', 'Stan is an Australian over-the-top streaming service. The service offers a broad range of film and television content from both local and foreign productions, particularly from the United States and United Kingdom.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('STRiKES', '(?<=^|[\s.-])STRiKES\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('STUTTERSHIT', '(?<=^|[\s.-])STUTTERSHIT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SubsPlease', '(?<=^|[\s.-])SubsPlease\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SubsPlus+', '(?<=^|[\s.-])SubsPlus+\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SumVision', '(?<=^|[\s.-])SumVision\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SURCODE', '(?<=^|[\s.-])SURCODE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SwAgLaNdEr', '(?<=^|[\s.-])SwAgLaNdEr\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('SWTYBLZ', '(?<=^|[\s.-])SWTYBLZ\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TAoE', '(?<=^|[\s.-])(TAoE|Ainz|AJJMIN|ANONAZ|ArcX|bccornfo|DNU|DrainedDay|DUHIT|Erie|Frys|Goki|HxD|jb2049|JBENT|Nostradamus|r0b0t|Species180|TheSickle|xtrem3x|WEM)\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TAoE (Title)', 'TAoE', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('tarunk9c', '(?<=^|[\s.-])tarunk9c\b', 'Banned for Fake DV/HDR Layer');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TayTo', '(?<=^|[\s.-])TayTo\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TBB', '(?<=^|[\s.-])TBB\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TDD', '(?<=^|[\s.-])TDD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TeamSyndicate', '(?<=^|[\s.-])TeamSyndicate\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TEKNO3D', '(?<=^|[\s.-])TEKNO3D\b', 'Banned for Fake DV/HDR Layer');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Telly', '(?<=^|[\s.-])Telly\b', 'Banned for Retagging');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TEPES', '(?<=^|[\s.-])TEPES\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TERMiNAL', '(?<=^|[\s.-])TERMiNAL\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ThD', '(?<=^|[\s.-])ThD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Theatrical Edition', '^(.*?)(\d{4})(.*?)\b(theatrical)\b', 'Matches any type of theatrical edition.
- Ensures that `Theatrical` comes after the year so that movies with ''Theatrical` in the title are not matched');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TheFarm', '(?<=^|[\s.-])TheFarm\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('THORA', '(?<=^|[\s.-])THORA\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TimeDistortion', '(?<=^|[\s.-])TimeDistortion\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TnP', '(?<=^|[\s.-])TnP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TOMMY', '(?<=^|[\s.-])TOMMY\b', 'Matches "TOMMY" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ToNaTo', '(?<=^|[\s.-])ToNaTo\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TRiToN', '(?<=^|[\s.-])TRiToN\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TrueHD', 'True[ .-]?HD[ .-]?', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TrueHD (Missing Groups)', '(?<=^|[\s.-])(TRiToN|EPSiLON|NoGroup|PmP)\b', 'Matches groups who mislabel TrueHD');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Tsundere', '(?<=^|[\s.-])Tsundere\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TTGA', '(?<=^|[\s.-])TTGA\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TV Extras', '(?<=\bS\d+\b).*\b(Extras|Bonus|Extended[ ._-]Clip)\b', 'Extras, Special Features, Featurettes, etc');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TVING', '\b(TVING)\b', 'TVING is a South Korean subscription video on-demand over-the-top streaming service operated by TVING Corporation, a joint venture made of CJ ENM Entertainment Division, Naver and JTBC by its JTBC Studios, now called SLL.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TvR', '(?<=^|[\s.-])TvR\b', 'Banned for Mislabeling WEB-DL with Remux');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('TVSmash', '(?<=^|[\s.-])TVSmash\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('UDF', '(?<=^|[\s.-])UDF\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('UHD Bluray', '\bUHD[-_.\s]?Blu[-]?Ray\b', 'Matches "UHD Bluray" or "UHD Blu-Ray" with a hyphen, space, dot or underscore between them');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('UHD Bluray (Efficient)', '\b(UHD[-_.\s]?Blu[-]?Ray)|(UHD[-_.\s]?BD?Rip)\b', 'Matches "UHD Bluray" or "UHD Blu-Ray" with a hyphen, space, dot or underscore between them');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('UHD Bluray Release Groups', '(?<=^|[\s.-])(AJP69|ATELiER|BMF|BRUTE|BSTD|BV|c0kE|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EA|EDPH|EbP|ESiR|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|hdalx|HDMaNiAcS|HiDt|HiFi|HiP|IDE|iFT|KASHMiR|Kitsune|LiNG|LolHD|LoRD|luvBB|NCmt|NiBuRu|nmd|NTb|NyHD|ORiGEN|Penumbra|playHD|Positive|PTer|PuTao|REBORN|RiCO|rightSIZE|RO|rttr|SA89|SaNcTi|SbR|SiMPLE|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|TnP|VLAD|VietHD|W4NK3R|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b', 'Match release groups who should be categorized as UHD Bluray');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('UHD WEBRip Release Groups', '(?<=^|[\s.-])(AJP69|ATELiER|BMF|BRUTE|BSTD|BV|c0kE|Chotab|CJ|coffee|CRiSC|CRX|CtrlHD|Dariush|de[42]|decibel|DON|D-Z0N3|E.N.D|E1|EA|EDPH|EbP|ESiR|EXCiSION|FoRM|FraMeSToR|GALAXY|Geek|GS88|hdalx|HDMaNiAcS|HiDt|HiFi|HiP|IDE|iFT|KASHMiR|Kitsune|LiNG|LolHD|LoRD|luvBB|NCmt|NiBuRu|nmd|NyHD|ORiGEN|Penumbra|playHD|Positive|PTer|REBORN|RiCO|rightSIZE|RO|rttr|SA89|SaNcTi|SbR|SiMPLE|SoLaR|SOP|SPHD|TayTo|TBB|TDD|TeamSyndicate|TnP|VLAD|VietHD|W4NK3R|WiLF|WMING|xander|ZIMBO|ZoroSenpai|ZQ)\b', 'Match release groups who should be categorized as UHD WEBRips');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ULTRAHDCLUB', '(?<=^|[\s.-])ULTRAHDCLUB\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('UnKn0wn', '(?<=^|[\s.-])UnKn0wn\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Upscaled', '(Up[-\.\s]?scale|Re[-\.\s]?Grade|\bAIUS\b|AI[-\.\s]?enhanced)', 'Matches upscales, regrades, AI Enhancements, etc. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('VARYG', '(?<=^|[\s.-])VARYG\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('VD0N', '(?<=^|[\s.-])VD0N\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('VECTOR', '(?<=^|[\s.-])VECTOR\b', 'Banned for Fake DV/HDR Layer.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Vialle', '(?<=^|[\s.-])Vialle\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('VietHD', '(?<=^|[\s.-])VietHD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ViETNAM', '(?<=^|[\s.-])ViETNAM\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Viki', '\b(Viki)\b', 'Rakuten Viki is an American over-the-top subscription video on-demand streaming service. It streams videos similar to other services, but also allows users to subtitle content available in 200 languages as well as providing original programming.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('VisionXpert', '(?<=^|[\s.-])VisionXpert\b', 'Banned for Fake DV/HDR Layer');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ViSUM', '(?<=^|[\s.-])ViSUM\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Viu', '\b(Viu)\b', 'Viu is a Hong Kong-based over-the-top video on demand streaming service from PCCW Media Group''s Viu International Ltd. Viu delivers content in different genres from Asia''s top content providers with local language subtitles');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('VLAD', '(?<=^|[\s.-])VLAD\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Vodes', '(?<=^|[\s.-])Vodes\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('VP9', '\b(VP9)\b', 'VP9 is an open and royalty-free video coding format developed by Google');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('VVC', '(?<=^|[\s.-])VVC\b', 'VVC, or Versatile Video Coding (H.266), is a video coding format that compresses video files and streams to significantly smaller sizes than H.265 while maintaining high quality.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Vyndros', '(?<=^|[\s.-])Vyndros\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('W4NK3R', '(?<=^|[\s.-])W4NK3R\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('WATCHABLE', '(?<=^|[\s.-])WATCHABLE\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Wavve', '\b(Wavve)\b', 'Wavve is an online streaming platform, that was first launched on September 18, 2019. The company was founded as a joint venture between SK Telecom and South Korea''s three terrestrial broadcasters KBS, MBC, SBS.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('WBDP', '(?<=^|[\s.-])WBDP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Weasley', '\b(Weasley)\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('WELP', '(?<=^|[\s.-])WELP\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('WeTV', '\b(WeTV)\b', 'Tencent Video also called WeTV outside of China, is a Chinese video streaming website owned by Tencent. The website was launched in April 2011, and is one of China''s largest online video platforms');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('WhiteRhino', '(?<=^|[\s.-])WhiteRhino\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('WiKi', '(?<=^|[\s.-])WiKi\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('WiLDCAT', '(?<=^|[\s.-])WiLDCAT\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('WiLF', '(?<=^|[\s.-])WiLF\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('WMING', '(?<=^|[\s.-])WMING\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('x0r', '(?<=^|[\s.-])x0r\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('x264', '^(?!.*(?i:remux)).*([xh](\.?264)|DVDRip)', 'An open source encoder that produces H.264 videos. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('x265', '^(?!.*(?i:remux))(?=.*([x]\s?(\.?265)\b|HEVC|\bDS4K\b)).*$', 'An open source encoder that produces H.265 videos. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('x265 (Efficient)', '^(?!.*(?i:remux))(?=.*([xh]\s?(\.?265)\b|HEVC|\bDS4K\b)).*$', 'An open source encoder that produces H.265 videos. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('xander', '(?<=^|[\s.-])xander\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('XEBEC', '(?<=^|[\s.-])XEBEC\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Xvid', '(?i)[-. ]Xvid', 'Xvid is a video codec based on the MPEG-4 Part 2 standard, designed for efficient compression while maintaining good visual quality. It is commonly used for encoding videos into smaller file sizes suitable for online sharing or storage, often paired with MP3 or AAC audio. ');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('YAWNiX', '(?<=^|[\s.-])YAWNiX\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('YELLO', '(?<=^|[\s.-])YELLO\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('YIFY', '(?<=^|[\s.-])YIFY\b', 'Matches "YIFY" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Youku', '\b(Youku|YK)\b', 'Youku is a major Chinese streaming platform owned by Alibaba Group, offering a wide range of long-form video content including TV dramas, films, variety shows, animation, original productions, and licensed international titles. Known as one of China’s top three streaming services alongside iQIYI and Tencent Video, Youku operates on both ad-supported and subscription models and is integrated across mobile, web, smart TV, and other devices. The platform emphasizes high-quality, professionally produced content and also supports user-generated videos and live broadcasts, making it a central hub for digital entertainment within China.');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('YTS', '(?<=^|[\s.-])YTS(.(MX|LT|AG))?\b', 'Matches "YTS" when preceded by whitespace, a hyphen or dot');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Yuki', '(?<=^|[\s.-])Yuki\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('YURI', '(?<=^|[\s.-])YURI\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ZIMBO', '(?<=^|[\s.-])ZIMBO\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ZoroSenpai', '(?<=^|[\s.-])ZoroSenpai\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ZQ', '(?<=^|[\s.-])ZQ\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('ZR', '(?<=^|[\s.-])ZR\b', '');
INSERT INTO regular_expressions (name, pattern, description) VALUES ('Zurako', '(?<=^|[\s.-])Zurako\b', '');

-- Qualities
-- (Provided by 2.qualities.sql - no inserts needed)

-- Custom Formats

INSERT INTO custom_formats (name, description) VALUES ('1080p Balanced Tier 1', 'Matches release groups who fall under 1080p Balanced Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Balanced Tier 2', 'Matches release groups who fall under 1080p Balanced Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Bluray', 'Matches 1080p Blurays that are NOT remuxes');
INSERT INTO custom_formats (name, description) VALUES ('1080p Bluray HEVC Tier 1', 'Matches release groups who fall under 1080p Efficient Bluray Tier 0');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact Movie Bluray Tier 1', 'Matches release groups who fall under 1080p Compact Movie Bluray Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact Movie Bluray Tier 2', 'Matches release groups who fall under 1080p Compact Movie Bluray Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact Movie Bluray Tier 3', 'Matches release groups who fall under 1080p Compact Movie Bluray Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact Movie Bluray Tier 4', 'Matches release groups who fall under 1080p Compact Movie Bluray Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact Movie WEB Tier 1', 'Matches release groups who fall under 1080p Compact Movie WEB Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact Movie WEB Tier 2', 'Matches release groups who fall under 1080p Compact Movie WEB Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact Movie WEB Tier 3', 'Matches release groups who fall under 1080p Compact Movie WEB Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact Movie WEB Tier 4', 'Matches release groups who fall under 1080p Compact Movie WEB Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV Bluray Tier 1', 'Matches release groups who fall under 1080p Compact TV Bluray Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV Bluray Tier 2', 'Matches release groups who fall under 11080p Compact TV Bluray Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV Bluray Tier 3', 'Matches release groups who fall under 1080p Compact TV Bluray Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV Bluray Tier 4', 'Matches release groups who fall under 1080p Compact TV Bluray Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV Bluray Tier 5', 'Matches release groups who fall under 1080p Compact TV Bluray Tier 5');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV Bluray Tier 6', 'Matches release groups who fall under 1080p Compact TV Bluray Tier 6');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV Trash Tier 1', 'Matches release groups who fall under 1080p Compact TV Trash Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV Trash Tier 2', 'Matches release groups who fall under 1080p Compact TV Trash Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV WEB Tier 1', 'Matches release groups who fall under 1080p Compact WEB Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV WEB Tier 2', 'Matches release groups who fall under 1080p Compact TV WEB Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV WEB Tier 3', 'Matches release groups who fall under 1080p Compact TV WEB Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV WEB Tier 4', 'Matches release groups who fall under 1080p Compact TV WEB Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('1080p Compact TV WEB Tier 5', 'Matches release groups who fall under 1080p Compact TV WEB Tier 5');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient Movie Bluray Tier 1', 'Matches release groups who fall under 1080p Efficient Bluray Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient Movie Bluray Tier 2', 'Matches release groups who fall under 1080p Efficient Bluray Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient Movie Bluray Tier 3', 'Matches release groups who fall under 1080p Efficient Bluray Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient Movie Bluray Tier 4', 'Matches release groups who fall under 1080p Efficient Bluray Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient Movie WEB Tier 1', 'Matches release groups who fall under 1080p Efficient WEB Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient Movie WEB Tier 2', 'Matches release groups who fall under 1080p Efficient WEB Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient Movie WEB Tier 3', 'Matches release groups who fall under 1080p Efficient WEB Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient Movie WEB Tier 4', 'Matches release groups who fall under 1080p Efficient WEB Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV Bluray Tier 1', 'Matches release groups who fall under 1080p Efficient Bluray Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV Bluray Tier 2', 'Matches release groups who fall under 1080p Efficient Bluray Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV Bluray Tier 3', 'Matches release groups who fall under 1080p Efficient Bluray Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV Bluray Tier 4', 'Matches release groups who fall under 1080p Efficient Bluray Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV Bluray Tier 5', 'Matches release groups who fall under 1080p Efficient Bluray Tier 5');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV Bluray Tier 6', 'Matches release groups who fall under 1080p Efficient Bluray Tier 6');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV WEB Tier 1', 'Matches release groups who fall under 1080p Efficient WEB Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV WEB Tier 2', 'Matches release groups who fall under 1080p Efficient WEB Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV WEB Tier 3', 'Matches release groups who fall under 1080p Efficient WEB Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV WEB Tier 4', 'Matches release groups who fall under 1080p Efficient WEB Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('1080p Efficient TV WEB Tier 5', 'Matches release groups who fall under 1080p Efficient WEB Tier 5');
INSERT INTO custom_formats (name, description) VALUES ('1080p Golden Popcorn', 'Matches 1080p Golden Popcorns. Only works on PassThePopcorn');
INSERT INTO custom_formats (name, description) VALUES ('1080p HDTV', 'Matches 1080p HDTV.');
INSERT INTO custom_formats (name, description) VALUES ('1080p HDTV Tier 1', 'Matches 1080p HDTV.');
INSERT INTO custom_formats (name, description) VALUES ('1080p HDTV Tier 2', 'Matches 1080p HDTV.');
INSERT INTO custom_formats (name, description) VALUES ('1080p HDTV Tier 3', 'Matches 1080p HDTV.');
INSERT INTO custom_formats (name, description) VALUES ('1080p Quality Tier 1', 'Matches release groups who fall under 1080p GPPi Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('1080p Quality Tier 2', 'Matches release groups who fall under 1080p GPPi Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Quality Tier 3', 'Matches release groups who fall under 1080p GPPi Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('1080p Quality Tier 4', 'Matches release groups who fall under 1080p GPPi Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('1080p Quality Tier 5', 'Matches release groups who fall under 1080p GPPi Tier 5');
INSERT INTO custom_formats (name, description) VALUES ('1080p Quality Tier 6', 'Matches release groups who fall under 1080p GPPi Tier 6');
INSERT INTO custom_formats (name, description) VALUES ('1080p Remux', 'Matches 1080p Remux');
INSERT INTO custom_formats (name, description) VALUES ('1080p WEB-DL', 'Matches 1080p WEB-DLs.');
INSERT INTO custom_formats (name, description) VALUES ('1080p WEB-DL (h264)', 'Matches 1080p WEB-DLs.');
INSERT INTO custom_formats (name, description) VALUES ('1080p WEB-DL HEVC Tier 1', 'Matches 1080p WEB-DLs.');
INSERT INTO custom_formats (name, description) VALUES ('1080p WEBRip', 'Matches 1080p WEBRips.');
INSERT INTO custom_formats (name, description) VALUES ('2160p Balanced Tier 1', 'Matches release groups who fall under 2160p Balanced Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('2160p Balanced Tier 2', 'Matches release groups who fall under 2160p Balanced Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('2160p Balanced Tier 3', 'Matches release groups who fall under 2160p Balanced Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('2160p Bluray', 'Matches 2160p Blurays that are NOT remuxes');
INSERT INTO custom_formats (name, description) VALUES ('2160p Efficient TV Bluray Tier 1', 'Matches release groups who fall under 2160p Efficient Bluray Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('2160p Efficient TV WEB Tier 1', 'Matches release groups who fall under 2160p Efficient WEB Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('2160p Quality Tier 1', 'Matches release groups who fall under 2160p Quality Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('2160p Quality Tier 2', 'Matches release groups who fall under 2160p Quality Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('2160p Quality Tier 3', 'Matches release groups who fall under 2160p Quality Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('2160p Quality Tier 4', 'Matches release groups who fall under 2160p Quality Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('2160p Quality Tier 5', 'Matches release groups who fall under 2160p Quality Tier 5');
INSERT INTO custom_formats (name, description) VALUES ('2160p Quality Tier 6', 'Matches release groups who fall under 2160p Quality Tier 5');
INSERT INTO custom_formats (name, description) VALUES ('2160p Remux', 'Matches 2160p Remux');
INSERT INTO custom_formats (name, description) VALUES ('2160p WEB-DL', 'Matches 2160p WEB-DLs.');
INSERT INTO custom_formats (name, description) VALUES ('2160p WEB-DL (Efficient)', 'Matches 2160p WEB-DLs.');
INSERT INTO custom_formats (name, description) VALUES ('3D', 'Matches the ''3D'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('480p Bluray', 'Matches 480p Blurays.');
INSERT INTO custom_formats (name, description) VALUES ('480p Quality Tier 1', 'Matches release groups who fall under 480p Quality Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('480p Quality Tier 2', 'Matches release groups who fall under 480p Quality Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('480p Quality Tier 3', 'Matches release groups who fall under 480p Quality Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('480p Quality Tier 4', 'Matches release groups who fall under 480p Quality Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('480p WEB-DL', 'Matches 480p WEB-DLs.');
INSERT INTO custom_formats (name, description) VALUES ('576p Bluray', 'Matches 576p Blurays.');
INSERT INTO custom_formats (name, description) VALUES ('576p Quality Tier 1', 'Matches release groups who fall under 576p Quality Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('576p Quality Tier 2', 'Matches release groups who fall under 576p Quality Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('576p Quality Tier 3', 'Matches release groups who fall under 576p Quality Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('576p Quality Tier 4', 'Matches release groups who fall under 576p Quality Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('720p Balanced Tier 1', 'Matches release groups who fall under 720p Balanced Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('720p Bluray', 'Matches 720p Blurays that are NOT remuxes');
INSERT INTO custom_formats (name, description) VALUES ('720p Golden Popcorn', 'Matches 720p Golden Popcorns. Only works on PassThePopcorn');
INSERT INTO custom_formats (name, description) VALUES ('720p HDTV', 'Matches 720p HDTV.');
INSERT INTO custom_formats (name, description) VALUES ('720p HDTV Tier 1', 'Matches 720p HDTV.');
INSERT INTO custom_formats (name, description) VALUES ('720p HDTV Tier 2', 'Matches 720p HDTV.');
INSERT INTO custom_formats (name, description) VALUES ('720p HDTV Tier 3', 'Matches 720p HDTV.');
INSERT INTO custom_formats (name, description) VALUES ('720p Quality Tier 1', 'Matches release groups who fall under 720p Quality Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('720p Quality Tier 2', 'Matches release groups who fall under 720p Quality Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('720p Quality Tier 3', 'Matches release groups who fall under 720p Quality Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('720p Quality Tier 4', 'Matches release groups who fall under 720p Quality Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('720p Quality Tier 5', 'Matches release groups who fall under 720p Quality Tier 5');
INSERT INTO custom_formats (name, description) VALUES ('720p Quality Tier 6', 'Matches release groups who fall under 720p Quality Tier 6');
INSERT INTO custom_formats (name, description) VALUES ('720p WEB-DL', 'Matches 720p WEB-DLs.');
INSERT INTO custom_formats (name, description) VALUES ('720p WEBRip', 'Matches 720p WEBRips.');
INSERT INTO custom_formats (name, description) VALUES ('AAC', 'Matches ''AAC'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('Amazon Enhancement', '');
INSERT INTO custom_formats (name, description) VALUES ('AMZN', 'Matches ''Amazon Prime'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('Anime Bluray Tier 1', 'Do not use Testing Purposes Only');
INSERT INTO custom_formats (name, description) VALUES ('Anime Bluray Tier 2', 'Do not use Testing Purposes Only');
INSERT INTO custom_formats (name, description) VALUES ('Anime Bluray Tier 3', 'Do not use Testing Purposes Only');
INSERT INTO custom_formats (name, description) VALUES ('Anime Bluray Tier 4', 'Do not use Testing Purposes Only');
INSERT INTO custom_formats (name, description) VALUES ('Anime Bluray Tier 5', 'Do not use Testing Purposes Only');
INSERT INTO custom_formats (name, description) VALUES ('Anime WEB-DL Tier 1', 'Do not use Testing Purposes Only');
INSERT INTO custom_formats (name, description) VALUES ('Anime WEB-DL Tier 2', 'Do not use Testing Purposes Only');
INSERT INTO custom_formats (name, description) VALUES ('ASL', '');
INSERT INTO custom_formats (name, description) VALUES ('Atmos', 'Matches ''Atmos'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('Atmos (Missing)', 'Attempts to match releases which have Atmos (TrueHD 7.1) that don''t label it correctly.');
INSERT INTO custom_formats (name, description) VALUES ('ATVP', 'Matches ''Apple TV+'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('AV1', 'Matches the ''AV1'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('B&W', 'Matches the ''B&W'' and ''Colour'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('Banned Groups', 'Matches Release Groups that are Banned');
INSERT INTO custom_formats (name, description) VALUES ('Banned Groups (Efficient)', 'Matches Release Groups that are Banned');
INSERT INTO custom_formats (name, description) VALUES ('Banned Remux', 'Matches otherwise unfavourable remux groups - bloated audio tracks, fake HDR, etc.');
INSERT INTO custom_formats (name, description) VALUES ('Banned UHD Bluray', 'Matches UHD Bluray releases that are not from a quality tier');
INSERT INTO custom_formats (name, description) VALUES ('Banned WEBRip', 'Matches WEBRip releases that are not from a quality tier');
INSERT INTO custom_formats (name, description) VALUES ('Banned WEBRip (Efficient)', 'Matches WEBRip releases that are not from a quality tier');
INSERT INTO custom_formats (name, description) VALUES ('BCORE', 'Matches ''Bravia Core'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('Better Theatricals', 'Matches movies where the `Theatrical` cut is considered the better version. Subjectively chosen, based on Dictionarry''s personal preferences and major opinion. Needed to override the default special edition preference. Matches:
- Terminator 2: Judgement Day (1991)
- Alien (1979)
- Star Wars OT (1977-1983)
- Apocalypse Now (1979)
- The Exorcist (1973)
- Donnie Darko (2001)
- Amadeus (1984)
- Payback (1999)
- Almost Famous (2000)');
INSERT INTO custom_formats (name, description) VALUES ('CR', 'Matches ''Crunchyroll'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('CRAV', 'Matches ''Crave'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('CRIT', 'Matches ''Criterion Channel'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('Disney+ Enhancement', '');
INSERT INTO custom_formats (name, description) VALUES ('Dolby Atmos', 'Matches ''Atmos'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('Dolby Digital', 'Matches ''Dolby Digital'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('Dolby Digital +', 'Matches ''Dolby Digital +'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('Dolby Vision', 'Matches the ''Dolby Vision'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('Dolby Vision (Without Fallback)', 'Matches the ''Dolby Vision (Without Fallback) Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('DRPO', 'Matches ''Dropout TV'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('DS4K', '');
INSERT INTO custom_formats (name, description) VALUES ('DSNP', 'Matches ''Disney+'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('DTS', 'Matches ''DTS'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('DTS-ES', 'Matches ''DTS-ES'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('DTS-HD HRA', 'Matches ''DTS-HD HRA'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('DTS-HD MA', 'Matches ''DTS-HD MA'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('DTS-X', 'Matches ''DTS-X'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('DVD', 'The DVD format, or Digital Versatile Disc, is an optical disc storage medium widely used for video, audio, and data storage. It offers a standard capacity of 4.7 GB for single-layer discs and up to 8.5 GB for dual-layer discs, making it suitable for movies, software, and backups. DVDs provide a resolution of 720x480 (NTSC) or 720x576 (PAL) for video and support Dolby Digital or DTS audio for high-quality sound. They are compatible with standalone DVD players, computer drives, and gaming consoles, offering broad accessibility while requiring a physical disc for playback.');
INSERT INTO custom_formats (name, description) VALUES ('DVD Remux', 'A DVD Remux is a direct rip of a DVD''s content without any re-encoding, preserving the original video, audio, and subtitle quality. It retains the exact resolution, bitrate, and format of the DVD, ensuring no loss in fidelity compared to the source.');
INSERT INTO custom_formats (name, description) VALUES ('Extras', 'Matches the ''Extras'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('FLAC', 'Matches ''FLAC'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('Freeleech 100%', '100% Freeleech Indexer Flag');
INSERT INTO custom_formats (name, description) VALUES ('Freeleech 25%', '25% Freeleech Indexer Flag');
INSERT INTO custom_formats (name, description) VALUES ('Freeleech 50%', '50% Freeleech Indexer Flag');
INSERT INTO custom_formats (name, description) VALUES ('Freeleech 75%', '75% Freeleech Indexer Flag');
INSERT INTO custom_formats (name, description) VALUES ('Full Disc', 'Matches the ''Full Disc'' regex pattern and negates any remuxes / encodes. ');
INSERT INTO custom_formats (name, description) VALUES ('Full Disc (Quality Match)', 'Matches Full Discs using a Radarr Quality Match');
INSERT INTO custom_formats (name, description) VALUES ('h265', 'Matches ''h265'' regex pattern.');
INSERT INTO custom_formats (name, description) VALUES ('h265 (Efficient)', 'Matches ''h265'' regex pattern.');
INSERT INTO custom_formats (name, description) VALUES ('HBO Max Enhancement', '');
INSERT INTO custom_formats (name, description) VALUES ('HDR', 'Matches the ''HDR'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('HDR (Missing)', 'Attempts to match HDR in 1080p x265 Encodes labelled with x265');
INSERT INTO custom_formats (name, description) VALUES ('HDR10', 'Matches the ''HDR10'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('HDR10 (Missing)', 'Attempts to match HDR10 to groups that mislabel their releases. *This does not work properly in sonarr.*');
INSERT INTO custom_formats (name, description) VALUES ('HDR10+', 'Matches the ''HDR10+'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('HLG', 'Matches the ''HLG'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('HMAX', 'Matches ''HBO Max'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('HONE Bluray', '');
INSERT INTO custom_formats (name, description) VALUES ('HONE WEB', '');
INSERT INTO custom_formats (name, description) VALUES ('HTSR', 'Matches ''Hotstar'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('HULU', 'Matches ''Hulu'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('IMAX', '');
INSERT INTO custom_formats (name, description) VALUES ('IMAX Enhanced', '');
INSERT INTO custom_formats (name, description) VALUES ('Internal', 'Internal Indexer Flag');
INSERT INTO custom_formats (name, description) VALUES ('iP', 'Matches ''BBC iPlayer'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('IQIYI', 'Matches ''IQIYI'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('iT', 'Matches ''iTunes'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('iTunes Enhancement', '');
INSERT INTO custom_formats (name, description) VALUES ('KCW', 'Matches ''Kocowa'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('Lossless Audio', 'Matches any Lossless Audio Track not in a 2160p Release.');
INSERT INTO custom_formats (name, description) VALUES ('MA', 'Matches ''Movies Anywhere'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('MAX', 'Matches ''Max'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('Movies Anywhere Enhancement', '');
INSERT INTO custom_formats (name, description) VALUES ('MUBI', 'Matches ''Mubi'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('NF', 'Matches ''Netflix'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('Not English', 'Matches releases that don''t include an English language track. Dual audio is allowed.');
INSERT INTO custom_formats (name, description) VALUES ('Not Only English', 'Matches releases that don''t include an English language track. Dual audio is NOT allowed.');
INSERT INTO custom_formats (name, description) VALUES ('Not Only English (Missing)', 'Attempts to matches releases with mutliple audio tracks but are not parsed as "Multi Langauge". Instead, attempts to find regular expressions which imply the release has dual audio. 
 ');
INSERT INTO custom_formats (name, description) VALUES ('NOW', 'Matches ''Now'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('Opus', 'Matches ''Opus'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('PCM', 'Matches ''PCM'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('PCOK', 'Matches ''Peacock'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('PLAY', 'Matches ''Google TV'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('PMTP', 'Matches ''Paramount+'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('PQ', 'Matches the ''PQ'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('QxR Bluray', '');
INSERT INTO custom_formats (name, description) VALUES ('QxR Blurays', '');
INSERT INTO custom_formats (name, description) VALUES ('QxR WEB', '');
INSERT INTO custom_formats (name, description) VALUES ('QxR WEBs', '');
INSERT INTO custom_formats (name, description) VALUES ('Remux', 'Matches Remux as a codec, not a source. Either h265 or h264.');
INSERT INTO custom_formats (name, description) VALUES ('Remux (Quality Match)', 'Matches Remux as a codec, not a source. Either h265 or h264.');
INSERT INTO custom_formats (name, description) VALUES ('Remux (Source)', 'Matches Remux using a Sonarr Source');
INSERT INTO custom_formats (name, description) VALUES ('Remux Tier 1', 'Matches release groups who fall under Remux Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('Remux Tier 2', 'Matches release groups who fall under Remux Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('Remux Tier 3', 'Matches release groups who fall under Remux Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('Remux Tier 4', 'Matches release groups who fall under Remux Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('Repack1', 'Release groups use specific terms to indicate when they''re fixing issues in releases:
In Scene releases, groups can only occupy one release slot, which leads to two different terms:
- PROPER is used when a different group fixes issues in another group''s release
- REPACK is used when a group fixes issues in their own release

P2P releases are simpler - REPACK is typically used whenever a group releases a fixed version.

REAL / RERIP indicate similar things but their specific meaning / origin is unclear.

This custom format will catch basic level fixes (no number suffixes).');
INSERT INTO custom_formats (name, description) VALUES ('Repack2', 'Release groups use specific terms to indicate when they''re fixing issues in releases:
In Scene releases, groups can only occupy one release slot, which leads to two different terms:
- PROPER is used when a different group fixes issues in another group''s release
- REPACK is used when a group fixes issues in their own release

P2P releases are simpler - REPACK is typically used whenever a group releases a fixed version.

REAL / RERIP indicate similar things but their specific meaning / origin is unclear.

This custom format will catch level 2 fixes');
INSERT INTO custom_formats (name, description) VALUES ('Repack3', 'Release groups use specific terms to indicate when they''re fixing issues in releases:
In Scene releases, groups can only occupy one release slot, which leads to two different terms:
- PROPER is used when a different group fixes issues in another group''s release
- REPACK is used when a group fixes issues in their own release

P2P releases are simpler - REPACK is typically used whenever a group releases a fixed version.

REAL / RERIP indicate similar things but their specific meaning / origin is unclear.

This custom format will catch level 3 fixes');
INSERT INTO custom_formats (name, description) VALUES ('ROKU', 'Matches ''Roku'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('SD Golden Popcorn', 'Matches SD Golden Popcorns. Only works on PassThePopcorn');
INSERT INTO custom_formats (name, description) VALUES ('SD Quality Tier 1', 'Matches release groups who fall under SD GPPi Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('SD Quality Tier 2', 'Matches release groups who fall under SD GPPi Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('SDR', 'Ban 2160p WEB-DL Releases without Dolby Vision or HDR Formats. Movies Anywhere is excluded due to the high bitrate.');
INSERT INTO custom_formats (name, description) VALUES ('SDTV', 'Matches SDTV.');
INSERT INTO custom_formats (name, description) VALUES ('SDTV Tier 1', 'Matches SDTV.');
INSERT INTO custom_formats (name, description) VALUES ('Season Pack', 'Matches Season Pack Release Type on Sonarr');
INSERT INTO custom_formats (name, description) VALUES ('SHO', 'Matches ''Showtime'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('Sing Along', '');
INSERT INTO custom_formats (name, description) VALUES ('Special Edition', 'Special editions are modified versions of movies released after the original theatrical version.

• They exist because filmmakers want to present their `true vision`, `fix problems`, or because studios want to make more money
• You''ll see them with names like `Director''s Cut`, `Extended Edition`, or creative marketing labels like `Ultimate Cut`
• A single film can have `multiple special editions` as technology improves or different creative perspectives emerge');
INSERT INTO custom_formats (name, description) VALUES ('STAN', 'Matches ''STAN'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('TAoE Bluray', '');
INSERT INTO custom_formats (name, description) VALUES ('TAoE Blurays', '');
INSERT INTO custom_formats (name, description) VALUES ('TAoE WEB', '');
INSERT INTO custom_formats (name, description) VALUES ('TAoE WEBs', '');
INSERT INTO custom_formats (name, description) VALUES ('Theatrical', 'Matches any type of theatrical edition.
- Ensures that `Theatrical` comes after the year so that movies with ''Theatrical` in the title are not matched');
INSERT INTO custom_formats (name, description) VALUES ('TrueHD', 'Matches ''TrueHD'' Regex Pattern and negates any other audio types that might conflict.');
INSERT INTO custom_formats (name, description) VALUES ('TrueHD (Missing)', 'Attempts to match TrueHD releases which are not labelled correctly (TRiTON, EPSiLON groups)');
INSERT INTO custom_formats (name, description) VALUES ('TV Extras', 'Matches the ''Extras'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('TVING', 'Matches ''TVING'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('UHD Bluray', 'UHD Blu-ray is a digital optical disc format released in 2016. It stores 66GB on triple-layer discs or 100GB on quad-layer discs, compared to standard Blu-ray''s 25GB/50GB capacity. The format delivers 3840x2160 (4K) resolution video using HEVC (H.265) encoding at bitrates up to 128Mbps. All UHD Blu-rays include HDR10 support, with some releases adding Dolby Vision or HDR10+. The format uses the BT.2020 color space and 10-bit color depth, while supporting audio formats like Dolby Atmos, DTS:X, DTS-HD MA, and Dolby TrueHD. UHD Blu-ray players require HDMI 2.0a and HDCP 2.2 compliant displays to show 4K HDR content.');
INSERT INTO custom_formats (name, description) VALUES ('UHD Bluray (Efficient)', 'UHD Blu-ray is a digital optical disc format released in 2016. It stores 66GB on triple-layer discs or 100GB on quad-layer discs, compared to standard Blu-ray''s 25GB/50GB capacity. The format delivers 3840x2160 (4K) resolution video using HEVC (H.265) encoding at bitrates up to 128Mbps. All UHD Blu-rays include HDR10 support, with some releases adding Dolby Vision or HDR10+. The format uses the BT.2020 color space and 10-bit color depth, while supporting audio formats like Dolby Atmos, DTS:X, DTS-HD MA, and Dolby TrueHD. UHD Blu-ray players require HDMI 2.0a and HDCP 2.2 compliant displays to show 4K HDR content.');
INSERT INTO custom_formats (name, description) VALUES ('Upscale', 'Matches the ''Upscaled'' regex pattern

Radarr Version');
INSERT INTO custom_formats (name, description) VALUES ('Upscaled', 'Matches the ''Upscaled'' regex pattern

Sonarr Version');
INSERT INTO custom_formats (name, description) VALUES ('Vialle Bluray', '');
INSERT INTO custom_formats (name, description) VALUES ('Vialle WEB', '');
INSERT INTO custom_formats (name, description) VALUES ('VIKI', 'Matches ''VIKI'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('VIU', 'Matches ''VIU'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('VP9', 'Matches the ''VP9'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('VVC', 'Matches the ''VVC'' Regex Pattern');
INSERT INTO custom_formats (name, description) VALUES ('WAVVE', 'Matches ''WAVVE'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('Weasley WEB', '');
INSERT INTO custom_formats (name, description) VALUES ('WEB-DL Tier 1', 'Matches release groups who fall under WEB-DL Tier 1');
INSERT INTO custom_formats (name, description) VALUES ('WEB-DL Tier 2', 'Matches release groups who fall under WEB-DL Tier 2');
INSERT INTO custom_formats (name, description) VALUES ('WEB-DL Tier 3', 'Matches release groups who fall under WEB-DL Tier 3');
INSERT INTO custom_formats (name, description) VALUES ('WEB-DL Tier 4', 'Matches release groups who fall under WEB-DL Tier 4');
INSERT INTO custom_formats (name, description) VALUES ('WEB-DL Tier 5', 'Matches release groups who fall under WEB-DL Tier 5');
INSERT INTO custom_formats (name, description) VALUES ('WeTV', 'Matches ''WeTV'' WEB-DLs. Negates any encodes.');
INSERT INTO custom_formats (name, description) VALUES ('x264 (2160p)', 'Matches ''x264'' regex pattern only when 2160p is also found. ');
INSERT INTO custom_formats (name, description) VALUES ('x265', 'Matches ''x265'' regex pattern.');
INSERT INTO custom_formats (name, description) VALUES ('x265 (Bluray)', 'Matches ''x265'' regex pattern.');
INSERT INTO custom_formats (name, description) VALUES ('x265 (Efficient)', 'Matches ''x265'' regex pattern.');
INSERT INTO custom_formats (name, description) VALUES ('x265 (Missing)', 'Attempts to match 2160p x265 encodes that aren''t labelled with any codec. ');
INSERT INTO custom_formats (name, description) VALUES ('x265 (Remux)', 'Matches ''x265'' regex pattern.');
INSERT INTO custom_formats (name, description) VALUES ('x265 (WEB)', 'Matches ''x265'' regex pattern.');
INSERT INTO custom_formats (name, description) VALUES ('Xvid', 'Matches Xvid Regex');
INSERT INTO custom_formats (name, description) VALUES ('YK', 'Matches ''Youku'' WEB-DLs. Negates any encodes.');

-- ============================================================================
-- DEPENDENT ENTITIES
-- ============================================================================

-- Quality Profiles

INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('1080p Balanced', '1080p Balanced targets consistent & immutable 1080p **WEB-DLs** using the Streaming Source and Audio Formats to determine the level of Transparency.

- Average Movie Sizes ~ 4 to 8gb per Movie
- Movie Quality Ranking ~ 6/10
- Average TV Sizes ~ 2 to 4gb per Episode
- TV Quality Ranking ~ 7/10', 1, 20000, 888888, 1);
INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('1080p Compact', '1080p Compact targets low to medium quality x265 Bluray and WEB Encodes. 

- Average Movie Sizes ~ 3 to 6gb per Movie
- Movie Quality Ranking ~ 4/10
- Average TV Sizes ~ 1 to 2gb per Episode
- TV Quality Ranking ~ 4/10', 1, 20000, 888888, 1);
INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('1080p Efficient', '1080p Efficient targets high quality x265 Bluray and WEB Encodes

- Average Movie Sizes ~ 6 to 12gb per Movie
- Movie Quality Ranking ~ 7/10
- Average TV Sizes ~ 2 to 3gb per Episode
- TV Quality Ranking ~ 6/10', 1, 20000, 888888, 1);
INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('1080p Quality', '1080p Quality utilizes the [**Golden Popcorn Performance Index**](https://dictionarry.dev/wiki/gppi) to target **Transparent** x264 1080p Encodes. 

- Average Movie Sizes ~ 10 to 15gb per Movie
- Movie Quality Ranking ~ 8/10
- Average TV Sizes ~ 4 to 8gb per Episode
- TV Quality Ranking ~ 8/10', 1, 20000, 888888, 1);
INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('1080p Quality HDR', '1080p Quality HDR utilizes the [**Golden Popcorn Performance Index**](https://dictionarry.dev/wiki/gppi) to target **Transparent x265 HDR** 1080p Encodes. 

- Average Movie Sizes ~ 10 to 20gb per Movie
- Movie Quality Ranking ~ 9/10
- Average TV Sizes ~ 4 to 10gb per Episode
- TV Quality Ranking ~ 9/10', 1, 20000, 888888, 1);
INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('1080p Remux', '1080p Remux utilizes **Audio Formats** to prioritise high quality Lossless HD Blurays with a fallback to Transparent Bluray Encodes.

- Average Movie Sizes ~ 20 to 30gb per Movie
- Movie Quality Ranking ~ 10/10
- Average TV Sizes ~ 6 to 12gb per Episode
- TV Quality Ranking ~ 10/10', 1, 20000, 888888, 1);
INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('2160p Balanced', '2160p Balanced targets consistent & immutable 2160p **WEB-DLs w/ Lossy Audio**. 

- Average Movie Sizes ~ 15 to 30gb per Movie
- Movie Quality Ranking ~ 8/10
- Average TV Sizes ~ 5 to 15gb per Episode
- TV Quality Ranking ~ 8/10', 1, 20000, 888888, 1);
INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('2160p Efficient', '2160p Efficient targets consistent & immutable 2160p **WEB-DLs w/ Lossy Audio**. Specialized Fallback to 1080p Efficient

- Average Movie Sizes ~ 15 to 30gb per Movie
- Movie Quality Ranking ~ 6/10
- Average TV Sizes ~ 4 to 12gb per Episode
- TV Ranking ~ 6/10', 1, 20000, 888888, 1);
INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('2160p Quality', '2160p Quality utilizes the [**Encode Efficiency Index**](https://dictionarry.dev/wiki/eei) metric at a 60% target ratio to prioritize **Transparent** x265 4K Encodes

- Average Movie Sizes ~ 30 to 50gb per Movie
- Movie Quality Ranking ~ 9/10
- Average TV Sizes ~ 10 to 20gb per Episode
- TV Quality Ranking ~ 9/10', 1, 20000, 888888, 1);
INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('2160p Remux', '2160p Remux utilizes **Video / Audio Formats** to prioritise high quality lossless copies of UHD Blurays.

- Average Movie Sizes ~ 40 to 60gb per Movie
- Movie Quality Ranking ~ 10/10
- Average TV Sizes ~ 15 to 30gb per Episode
- TV Quality Ranking ~ 10/10', 1, 20000, 888888, 1);
INSERT INTO quality_profiles (name, description, upgrades_allowed, minimum_custom_format_score, upgrade_until_score, upgrade_score_increment)
VALUES ('720p Quality', '720p Quality utilizes the [**Golden Popcorn Performance Index**](https://dictionarry.dev/wiki/gppi) to target **Transparent** x264 720p Encodes. 

- Average Movie Sizes ~ 4 to 8gb per Movie
- Movie Quality Ranking ~ 5/10
- Average TV Sizes ~ 2 to 4gb per Episode
- TV Quality Ranking ~ 5/10', 1, 20000, 888888, 1);

-- Quality Groups (Profile-Specific)

INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '1080p Balanced'
FROM quality_profiles qp
WHERE qp.name = '1080p Balanced';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Balanced';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Balanced';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '1080p Compact'
FROM quality_profiles qp
WHERE qp.name = '1080p Compact';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Compact';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Compact';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '1080p Efficient'
FROM quality_profiles qp
WHERE qp.name = '1080p Efficient';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Efficient';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Efficient';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '1080p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Quality';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Quality';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Quality';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '1080p Quality HDR'
FROM quality_profiles qp
WHERE qp.name = '1080p Quality HDR';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Quality HDR';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Quality HDR';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '1080p Remux'
FROM quality_profiles qp
WHERE qp.name = '1080p Remux';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Remux';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '1080p Remux';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '1080p Quality HDR'
FROM quality_profiles qp
WHERE qp.name = '2160p Balanced';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '2160p Balanced'
FROM quality_profiles qp
WHERE qp.name = '2160p Balanced';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '2160p Balanced';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '2160p Balanced';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '1080p Efficient'
FROM quality_profiles qp
WHERE qp.name = '2160p Efficient';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '2160p Efficient'
FROM quality_profiles qp
WHERE qp.name = '2160p Efficient';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '2160p Efficient';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '2160p Efficient';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '1080p Quality HDR'
FROM quality_profiles qp
WHERE qp.name = '2160p Quality';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '2160p Quality'
FROM quality_profiles qp
WHERE qp.name = '2160p Quality';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '2160p Quality';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '2160p Quality';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '1080p Remux'
FROM quality_profiles qp
WHERE qp.name = '2160p Remux';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '2160p Remux'
FROM quality_profiles qp
WHERE qp.name = '2160p Remux';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '2160p Remux';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '2160p Remux';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '480p Quality'
FROM quality_profiles qp
WHERE qp.name = '720p Quality';
INSERT INTO quality_groups (quality_profile_name, name)
SELECT qp.name, '720p Quality'
FROM quality_profiles qp
WHERE qp.name = '720p Quality';

-- Custom Format Conditions

INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Balanced Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Balanced Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'hallowed', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Balanced Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Balanced Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Balanced Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BHDStudio', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Balanced Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Bluray HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Bluray HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Bluray HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HONE', 'release_group', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Bluray HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'bluegreeen', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Chivaman', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'edge2020', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'noxxus', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'R1GY3B', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Ralphy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ToNaTo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vyndros', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YELLO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'dkore', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GRiMM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TimeDistortion', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HONE', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DarQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'honeyvera', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LSt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MNHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SARTRE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vialle', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NAN0', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SQS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HONE', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DarQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'dkore', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LSt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SQS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TimeDistortion', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'edge2020', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'R1GY3B', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ToNaTo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vyndros', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'noxxus', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SARTRE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Ralphy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YELLO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iVy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KONTRAST', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PHOCiS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YAWNiX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vyndros', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'bluegreeen', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'cXcY', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'edge2020', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'R1GY3B', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Ralphy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TimeDistortion', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ToNaTo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YELLO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LSt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HONE', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DarQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'dkore', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GRiMM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MNHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NAN0', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vialle', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PSA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDTV', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ELiTE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Megusta', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PSA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV Trash Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vialle', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HONE', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ARCADE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DarQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LSt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ToNaTo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'edge2020', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Grimm', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'OnlyWeb', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YELLO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'bluegreeen', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'bluespots', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'dkore', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'noxxus', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Ralphy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TimeDistortion', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vyndros', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HODL', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iVy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KONTRAST', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PHOCiS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YAWNiX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Compact TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NAN0', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SQS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HONE', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DarQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'honeyvera', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LSt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MNHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SARTRE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vialle', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'dkore', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GRiMM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TimeDistortion', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'bluegreeen', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Chivaman', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'edge2020', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'noxxus', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'R1GY3B', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Ralphy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ToNaTo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vyndros', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YELLO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HONE', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DarQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'dkore', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LSt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SQS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TimeDistortion', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'edge2020', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'R1GY3B', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ToNaTo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vyndros', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'noxxus', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SARTRE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Ralphy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YELLO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient Movie WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NAN0', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vialle', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HONE', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DarQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'dkore', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GRiMM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MNHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LSt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'bluegreeen', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'cXcY', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'edge2020', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'R1GY3B', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Ralphy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TimeDistortion', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ToNaTo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YELLO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vyndros', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iVy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KONTRAST', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PHOCiS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YAWNiX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV Bluray Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vialle', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HONE', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ARCADE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DarQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LSt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ToNaTo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'edge2020', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Grimm', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'OnlyWeb', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YELLO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'bluegreeen', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'bluespots', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'dkore', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'noxxus', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Ralphy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TimeDistortion', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vyndros', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HODL', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iVy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PHOCiS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YAWNiX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KONTRAST', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Golden Popcorn';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Golden Popcorn', 'indexer_flag', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Golden Popcorn';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Groups', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Golden Popcorn';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p HDTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDTV', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p HDTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Sourceless Groups', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p HDTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDTV', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CtrlHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EDPH', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NTb', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDTV', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BTN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DARKFLiX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ViETNAM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CBFM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PLUTONiUM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDTV', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HANDJOB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p HDTV Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'coffee', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DON', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TeamSyndicate', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'REBORN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SA89', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SoLaR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZoroSenpai', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'c0kE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CtrlHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'D-Z0N3', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EbP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Geek', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HiFi', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LoRD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TayTo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VietHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BV', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CRiSC', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'decibeL', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FoRM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HiDt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HiP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iFT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SbR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WMING', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BMF', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'de[42]', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDMaNiAcS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'IDE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LolHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NCmt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Skazhutin', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NTb', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AJP69', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ATELiER', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BSTD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Chotab', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CJ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CRX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dariush', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'E1', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'E.N.D', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EDPH', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ESiR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EXCiSION', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FraMeSToR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GALAXY', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GS88', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'hdalx', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HQMUX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KASHMiR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Kitsune', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LiNG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'luvBB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NiBuRu', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'nmd', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NyHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ORiGEN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Penumbra', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'playHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Positive', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTer', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'RiCO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'rightSIZE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'RO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'rttr', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SaNcTi', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SiMPLE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SOP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SPHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TBB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TDD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TnP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VLAD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'W4NK3R', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WiLF', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'xander', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZIMBO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ASD87', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BRUTE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EuReKA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GALVANiZE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HaB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HANDJOB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDC', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iON', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Ivandro', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'j3rico', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KnG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LEGi0N', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Lulz', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MaG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MTeam', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NiP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'P0W4HD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PuTao', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ROCiNANTE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Slappy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ThD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WiKi', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WiLDCAT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL (h264)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL (h264)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'h264', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL (h264)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'h265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Weasley', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BYNDR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CMRG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FLUX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HHWEB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HONE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Kitsune', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NTb', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MZABI', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'playWEB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SMURF', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TEPES', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEBRip';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '1080p WEBRip';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Balanced Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Balanced Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HONE', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Balanced Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Balanced Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Balanced Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'dkore', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Balanced Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Balanced Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Balanced Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BHDStudio', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Balanced Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'hallowed', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Balanced Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vyndros', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vyndros', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Efficient TV WEB Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DON', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SA89', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'REBORN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SoLaR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CtrlHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MainFrame', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'W4NK3R', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BV', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'c0kE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Chotab', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'D-Z0N3', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HQMUX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTer', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TnP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BlzT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BSTD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EDPH', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ESiR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HiDt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iFT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Kitsune', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NCmt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NTb', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SPHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TDD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '4KDVS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'b0mbardiers', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DEFLATE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DEPTH', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'j3rico', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'JustWatch', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ORBiT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SURCODE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WATCHABLE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WiKi', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ADE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AViATOR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'beAst', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BeiTai', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CMCT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EMERALD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FLAME', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GUHZER', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDChina', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDmux', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HypStu', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'IAMABLE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KAN3D2M', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LAZARUS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MiMiC', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PussyFoot', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ReaLHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ReQuEsT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'STRiKES', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SWTYBLZ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TERMiNAL', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ULTRAHDCLUB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Whiterhino', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '2160p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p WEB-DL';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p WEB-DL';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p WEB-DL (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '2160p WEB-DL (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not QxR', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p WEB-DL (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not QxR Title', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p WEB-DL (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TAoE', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p WEB-DL (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TAoE Title', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p WEB-DL (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Vyndros', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '2160p WEB-DL (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '3D', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '3D';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '480p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '480p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SoLaR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZoroSenpai', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '480p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'c0kE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dariush', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HaB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TBB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '480p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EDPH', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GS88', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KnG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'playSD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTer', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'rttr', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '480p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HANDJOB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '480p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '480p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p WEB-DL';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '480p WEB-DL';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '576p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '576p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '576p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '576p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SoLaR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZoroSenpai', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '576p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BV', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'c0kE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dariush', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HaB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TBB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '576p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EDPH', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GS88', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KnG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTer', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'rttr', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZIMBO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '576p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HANDJOB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '576p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Balanced Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Balanced Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BHDStudio', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Balanced Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'hallowed', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Balanced Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '720p Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Golden Popcorn';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Golden Popcorn', 'indexer_flag', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Golden Popcorn';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Groups', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '720p Golden Popcorn';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p HDTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDTV', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p HDTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Sourceless Groups', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '720p HDTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDTV', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BMF', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CtrlHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DON', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EbP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EDPH', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NTb', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDTV', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BTN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DARKFLiX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ViETNAM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CBFM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PLUTONiUM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDTV', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HANDJOB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p HDTV Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DON', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'REBORN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SoLaR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TeamSyndicate', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZoroSenpai', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'c0kE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CRiSC', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CtrlHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EbP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HiDt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HiFi', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'IDE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SbR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TayTo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VietHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BMF', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Geek', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LolHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NCmt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Positive', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'rightSIZE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TBB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dariush', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'decibeL', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'D-ZON3', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FoRM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NTb', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTer', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Skazhutin', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TDD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ThD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ATELiER', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BV', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Chotab', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'de[42]', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EDPH', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'E.N.D', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ESiR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FraMeSToR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GS88', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDMaNiAcS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HiP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iFT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KASHMiR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LiNG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LoRD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'nmd', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NyHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ORiGEN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'playHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'RiCO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'RO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'rttr', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SaNcTi', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SPHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TnP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'W4NK3R', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WiLF', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WMING', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZIMBO', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EuReKA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HANDJOB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Ivandro', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KnG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LEGi0N', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Lulz', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MaG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MTeam', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NiP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PuTao', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Slappy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WiKi', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = '720p Quality Tier 6';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p WEB-DL';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p WEB-DL';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '720p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p WEBRip';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = '720p WEBRip';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AAC', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'AAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'AAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital +', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'AAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'AAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'AAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PCM', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'AAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'AAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Amazon Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AMZN', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Amazon Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AMZN Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'AMZN';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'AMZN';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'AMZN';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LYS1TH3A', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MTBB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'OZR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'sam', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SCY', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'smol', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vodes', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Arid', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Drag', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'hydes', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Lulu', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Okay-Subs', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'pog42', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'UDF', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YURI', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CBT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CTR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dekinai', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EXP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Flugel', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Headpatter', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Holomux', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'IK', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Kametsu', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KH', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'kuchikirukia', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Mysteria', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Netaro', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Pookie', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Quetzal', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Rasetsu', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Senjou', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WBDP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '9volt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AOmundson', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Asakura', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Cait-Sidhe', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Chihiro', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CoalGirls', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Commie', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'deanzel', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Doki', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'hchcsen', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Iznjie Biznjie', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Kaleido', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'kBaraka', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'kmplx', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Koten_Gars', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'mottoj', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Orphan', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SallySubs', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'THORA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Tsundere', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Almighty', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ANE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BlurayDesuYo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FFF', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Final8', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Raizel', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Saizen', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Zurako', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime Bluray Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime WEB-DL Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime WEB-DL Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Subsplease', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime WEB-DL Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Erai-Raws', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HorribleSubs', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Subsplus+', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VARYG', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Anime WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ASL', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'ASL';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Atmos', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Atmos';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Atmos (BTN Standard)', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Atmos';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TrueHD', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Atmos (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '7.1 Surround', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Atmos (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Atmos', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Atmos (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Atmos (BTN)', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Atmos (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ATVP Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'ATVP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'ATVP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'ATVP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AV1', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'AV1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'B&W', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'B&W';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Colour', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'B&W';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group (Missing)', 'release_group', 'all', 1, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '4K4U', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AOC', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AROMA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BeyondHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BiTOR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BLASPHEMY', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BOLS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BTM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CLASSiCALHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CREATiVE24', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'd3g', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DepraveD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DeViSiVE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DRX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'E', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FGT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Flights', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iVy', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'jennaortegaUHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KC', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LAMA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MeGusta', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MgB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NAHOM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NhaNc3', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NoGroup', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'OEPlus', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PiRaTeS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PSA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'RARGB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SasukeducK', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ShieldBearer', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'STUTTERSHIT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'tarunk9c', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TEKNO3D', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Telly', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TvR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'UnKn0wn', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VD0N', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VECTOR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VisionXpert', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x0r', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YIFY', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YTS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '4K4U', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AOC', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AROMA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BeyondHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BiTOR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BOLS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BTM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CLASSiCALHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CREATiVE24', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'd3g', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DepraveD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DeViSiVE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DRX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'E', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FGT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Flights', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'jennaortegaUHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KC', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LAMA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MgB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NAHOM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NhaNc3', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'OEPlus', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PiRaTeS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'RARGB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SasukeducK', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ShieldBearer', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'STUTTERSHIT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'tarunk9c', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TEKNO3D', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Telly', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TvR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'UnKn0wn', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VD0N', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VECTOR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VisionXpert', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x0r', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YIFY', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YTS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Groups (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Banned Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DVD', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Banned Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LEGi0N', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Banned Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'UHD Bluray', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Banned UHD Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Banned UHD Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Groups', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Banned UHD Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Banned WEBRip';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Groups', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Banned WEBRip';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Banned WEBRip (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Banned WEBRip (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 1080p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Banned WEBRip (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Groups', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Banned WEBRip (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BCORE Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'BCORE';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'BCORE';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'BCORE';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Better Theatricals', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Better Theatricals';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Theatrical', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Better Theatricals';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Extended Clip', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Better Theatricals';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not IMAX', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Better Theatricals';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Open Matte', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Better Theatricals';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Sing Along', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Better Theatricals';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Special Edition', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Better Theatricals';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CR Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'CR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'CR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'CR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CRAV Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'CRAV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'CRAV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'CRAV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CRiT Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'CRIT';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'CRIT';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'CRIT';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Disney+ Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DSNP', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Disney+ Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Atmos', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Atmos';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Atmos';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dolby Digital', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not AAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital +', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PCM', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dolby Digital +', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital +';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not AAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital +';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital +';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital +';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PCM', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital +';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Digital +';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dolby Vision', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Vision';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dolby Vision (Without Fallback)', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Dolby Vision (Without Fallback)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DRPO Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DRPO';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'DRPO';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'DRPO';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DS4K', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DS4K';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DNSP Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DSNP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'DSNP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'DSNP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DTS', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DTS';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not AAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital +', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS-HD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS-HD HRA ES', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS-X', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PCM', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DTS-ES', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-ES';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not AAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-ES';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-ES';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital +', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-ES';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-ES';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS-X', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-ES';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-ES';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PCM', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-ES';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-ES';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DTS-HD HRA', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD HRA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not AAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD HRA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD HRA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital +', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD HRA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD HRA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS-ES', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD HRA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS-X', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD HRA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD HRA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PCM', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD HRA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD HRA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DTS-HD MA', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not AAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital +', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS-HD HRA ES', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS-X', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PCM', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-HD MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DTS-X', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-X';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not AAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-X';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-X';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital +', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-X';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-X';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-X';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PCM', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-X';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'DTS-X';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DVD', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DVD';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DVD', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DVD Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'DVD Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Extras', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Extras';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FLAC', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'FLAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not AAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'FLAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'FLAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital +', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'FLAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'FLAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PCM', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'FLAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'FLAC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '100% Freeleech', 'indexer_flag', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Freeleech 100%';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '25% Freeleech', 'indexer_flag', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Freeleech 25%';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '50% Freeleech', 'indexer_flag', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Freeleech 50%';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '75% Freeleech', 'indexer_flag', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Freeleech 75%';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Full Disc', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Full Disc';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not WEB-DL', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Full Disc';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not WEBRip', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Full Disc';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Full Disc';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not x264', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Full Disc';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not x265', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Full Disc';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BRDISK', 'quality_modifier', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Full Disc (Quality Match)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'h265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'h265';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'h265';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'h265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'h265 (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'h265 (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 1080p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'h265 (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HBO Max Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HMAX', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'HBO Max Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MAX', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'HBO Max Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDR', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HDR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not SDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PQ', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HLG', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10+', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HDR (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HDR (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dolby Vision', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HDR (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HDR (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not SDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PQ', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HLG', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10+', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDR10', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not SDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PQ', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HLG', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10+', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Groups', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not SDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PQ', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HLG', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10+', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDR10+', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10+';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not SDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10+';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PQ', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10+';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HLG', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HDR10+';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HLG', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HLG';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not SDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HLG';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not PQ', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HLG';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HLG';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HLG';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10+', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HLG';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HMAX Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HMAX';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'HMAX';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'HMAX';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HONE Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HONE Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HONE Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HONE', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HONE Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HONE Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HONE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HONE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HONE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HONE', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HONE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Weasley', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HONE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'HONE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HTSR Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HTSR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'HTSR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'HTSR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HULU Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'HULU';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'HULU';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'HULU';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'IMAX', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'IMAX';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'IMAX Enhanced', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'IMAX';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'IMAX Enhanced', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'IMAX Enhanced';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Internal', 'indexer_flag', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Internal';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iP Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'iP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'iP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'iP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'IQIYI Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'IQIYI';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'IQIYI';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'IQIYI';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iT Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'iT';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iT Rename Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'iT';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'iT';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'iT';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'iTunes Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iT', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'iTunes Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KCW Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'KCW';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'KCW';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'KCW';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Lossless Audio';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DTS-HD MA', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Lossless Audio';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DTS-X', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Lossless Audio';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PCM', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Lossless Audio';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TrueHD', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Lossless Audio';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MA Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'MA';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MAX Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'MAX';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MAX Rename Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'MAX';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'MAX';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'MAX';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Movies Anywhere Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MA', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Movies Anywhere Enhancement';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MUBI Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'MUBI';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'MUBI';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'MUBI';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NF Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'NF';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'NF';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'NF';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not English', 'language', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Not English';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Includes English', 'language', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Not English';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not English', 'language', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Not Only English';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Includes English', 'language', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Not Only English';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Includes English', 'language', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Not Only English (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dual Audio Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Not Only English (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NOW Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'NOW';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NOW Rename Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'NOW';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'NOW';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'NOW';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Opus', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Opus';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not OPUS Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Opus';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PCM', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'PCM';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not AAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PCM';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PCM';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital +', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PCM';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PCM';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PCM';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PCM';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PCOK Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'PCOK';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'PCOK';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'PCOK';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PLAY Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'PLAY';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PLAY Rename Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'PLAY';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'PLAY';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'PLAY';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PMTP Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'PMTP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'PMTP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'PMTP';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PQ', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'PQ';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not SDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PQ';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HLG', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PQ';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PQ';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PQ';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDR10+', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'PQ';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'QxR Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'QxR Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'QxR Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'QxR Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'QxR Blurays';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'QxR Blurays';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'QxR Blurays';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'QxR Blurays';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'QxR WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'QxR WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'QxR WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'QxR WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'QxR WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'QxR WEBs';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QxR', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'QxR WEBs';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'QxR WEBs';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'QxR WEBs';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'QxR WEBs';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DVD', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Remux';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'quality_modifier', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Remux (Quality Match)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Remux (Source)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DVD', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '3L', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BiZKiT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BLURANiUM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CiNEPHiLES', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WiLDCAT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DVD', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BMF', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FraMeSToR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PiRAMiDHEAD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PmP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZoroSenpai', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DVD', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ATELiER', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'decibeL', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'EPSiLON', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HiFi', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NCmt', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SiCFoI', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TEPES', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DVD', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BTN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'iFT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KRaLiMaRKo', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'playBD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TRiToN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Remux Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Repack1', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Repack1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Repack2', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Repack2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Repack3', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Repack3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ROKU Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'ROKU';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'ROKU';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'ROKU';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Golden Popcorn', 'indexer_flag', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'SD Golden Popcorn';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'SD Golden Popcorn';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 1080p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'SD Golden Popcorn';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 720p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'SD Golden Popcorn';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DVD', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'SD Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TBB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'SD Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Dariush', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'SD Quality Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DVD', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'SD Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HANDJOB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'SD Quality Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'SDR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'SDR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'DV HDR', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'SDR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Movies Anywhere', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'SDR';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SDTV', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'SDTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 1080p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'SDTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 720p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'SDTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SDTV', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'SDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 1080p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'SDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 720p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'SDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NTb', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'SDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CtrlHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'SDTV Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Season Pack', 'release_type', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Season Pack';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SHO Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'SHO';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SHO Rename Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'SHO';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'SHO';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'SHO';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Sing Along', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Sing Along';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Special Edition', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Special Edition';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not IMAX', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Special Edition';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Open Matte', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Special Edition';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Theatrical Edition', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Special Edition';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Extended Clip', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Special Edition';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Sing Along', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Special Edition';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'STAN Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'STAN';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'STAN Rename Regex', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'STAN';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'STAN';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'STAN';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE Blurays';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE Blurays';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE Blurays';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE Blurays';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'TAoE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'TAoE WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE WEBs';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TAoE', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE WEBs';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TAoE WEBs';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'TAoE WEBs';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'TAoE WEBs';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Theatrical', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Theatrical';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Extended Clip', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Theatrical';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not IMAX', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Theatrical';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Open Matte', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Theatrical';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Sing Along', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Theatrical';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Special Edition', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Theatrical';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TrueHD', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Dolby Digital +', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Atmos', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DD+', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DTS', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not FLAC', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not TrueHD', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'TrueHD (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TV Extras', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TV Extras';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TVING Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'TVING';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'TVING';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'TVING';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'UHD Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'UHD Bluray', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'UHD Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDR', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'UHD Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Groups', 'release_group', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'UHD Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'UHD Bluray (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'UHD Bluray', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'UHD Bluray (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HDR', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'UHD Bluray (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Upscaled', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Upscale';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AI Movies', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Upscale';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Upscaled', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Upscaled';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AI TV', 'release_title', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Upscaled';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Vialle Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Vialle Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vialle', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Vialle Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Vialle Bluray';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Vialle WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Vialle', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Vialle WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Release Group', 'release_group', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Vialle WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Vialle WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Vialle WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VIKI Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'VIKI';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'VIKI';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'VIKI';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VIU Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'VIU';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'VIU';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'VIU';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VP9', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'VP9';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'VVC', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'VVC';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WAVVE Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'WAVVE';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WAVVE';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WAVVE';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '1080p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Weasley WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Weasley', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Weasley WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Weasley WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'Weasley WEB';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'FLUX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NTb', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TheFarm', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 1';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BYNDR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CMRG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HONE', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Kitsune', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'playWEB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TEPES', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 2';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ABM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'AJP69', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BLUTONiUM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BTW', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CasStudio', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Cinefeel', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CRFW', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CtrlHD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'HHWEB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KHN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'KiNGS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'LAZY', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'monkee', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'MZABI', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NOSiViD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NPMS', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NTG', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'QOQ', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'RAWR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SA89', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SbR', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SMURF', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TeamSyndicate', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TOMMY', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'TVSmash', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WELP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'XEBEC', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ZoroSenpai', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 3';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'APEX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'BTN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'dB', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PTP', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'RTN', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SiC', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SPiRiT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ViSUM', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 4';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'CRUD', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'GNOME', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'NINJACENTRAL', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'PHOENiX', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'ROCCaT', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SiGMA', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'SwAgLaNdEr', 'release_group', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WEB-DL Tier 5';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WeTV Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'WeTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WeTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'WeTV';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x264 (2160p)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x264', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x264 (2160p)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x265';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'x265';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Bluray)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Bluray)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Bluray)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 1080p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Efficient)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, '2160p', 'resolution', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not Remux', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not x264', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not x265', 'release_title', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Missing)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Remux)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Remux', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Remux)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (Remux)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'x265', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (WEB)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not 2160p', 'resolution', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (WEB)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Bluray', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'x265 (WEB)';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Xvid', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'Xvid';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not DVD', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Xvid';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'Not HDTV', 'source', 'all', 1, 1
FROM custom_formats cf
WHERE cf.name = 'Xvid';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'YK Regex', 'release_title', 'all', 0, 1
FROM custom_formats cf
WHERE cf.name = 'YK';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEB-DL', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'YK';
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
SELECT cf.name, 'WEBRip', 'source', 'all', 0, 0
FROM custom_formats cf
WHERE cf.name = 'YK';

-- ============================================================================
-- JUNCTION TABLES
-- ============================================================================

-- Regular Expression Tags

INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '126811' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '126811' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '3D' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '3D' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '3L' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '3L' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '4K4U' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '4K4U' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '4KDVS' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '4KDVS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '5.1 Surround' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '5.1 Surround' AND t.name = 'Channel';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '7.1 Surround' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '7.1 Surround' AND t.name = 'Channel';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '9volt' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = '9volt' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AAC' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ABM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ABM' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AC' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AC' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ADE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ADE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AI Movies' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AI Movies' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AI TV' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AI TV' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AJP69' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AJP69' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Almighty' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Almighty' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Amazon Prime' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Amazon Prime' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ANE' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ANE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AOC' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AOC' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AOmundson' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AOmundson' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'APEX' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'APEX' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Apple TV+' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Apple TV+' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ARCADE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ARCADE' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Arid' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Arid' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AROMA' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AROMA' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Asakura' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Asakura' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ASD87' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ASD87' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ASL' AND t.name = 'Enhancements';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ATELiER' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ATELiER' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Atmos' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Atmos' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Atmos (Missing)' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Atmos (Missing)' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AV1' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AVC' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AVC' AND t.name = 'Encoder';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AViATOR' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'AViATOR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'B&W' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'B&W' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'B&W' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'b0mbardiers' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'b0mbardiers' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Basic HDR Formats' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Basic HDR Formats' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Basic HDR Formats' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BBC iPlayer' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BBC iPlayer' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'beAst' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'beAst' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BeiTai' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BeiTai' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BEN THE MEN' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BEN THE MEN' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Better Theatricals' AND t.name = 'Edition';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BeyondHD' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BeyondHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BHDStudio' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BHDStudio' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BiTOR' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BiTOR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BiZKiT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BiZKiT' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BLASPHEMY' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BLASPHEMY' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'bluegreeen' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'bluegreeen' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'bluespots' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'bluespots' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BLURANiUM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BLURANiUM' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BlurayDesuYo' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BlurayDesuYo' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BLUTONiUM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BLUTONiUM' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BlzT' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BlzT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BMF' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BMF' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BMF' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BOLS' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BOLS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Bravia Core' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Bravia Core' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BRUTE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BRUTE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BSTD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BSTD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BTM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BTM' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BTN' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BTN' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BTN Atmos' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BTW' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BTW' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Bunny-Apocalypse' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Bunny-Apocalypse' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BV' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BV' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BYNDR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'BYNDR' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'c0kE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'c0kE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Cait-Sidhe' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Cait-Sidhe' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CasStudio' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CasStudio' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CBFM' AND t.name = 'HDTV';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CBFM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CBT' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CBT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CHAOS' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CHAOS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CHD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Chihiro' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Chihiro' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Chivaman' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Chivaman' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Chotab' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Chotab' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Cinefeel' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Cinefeel' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CiNEPHiLES' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CiNEPHiLES' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CJ' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CJ' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CLASSiCALHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CLASSiCALHD' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CMCT' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CMCT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CMRG' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CMRG' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CoalGirls' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CoalGirls' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'coffee' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'coffee' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Colourisation' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Colourisation' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Commie' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Commie' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Crave' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Crave' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CREATiVE24' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CREATiVE24' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CRFW' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CRFW' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CRiSC' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CRiSC' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Criterion Channel' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Criterion Channel' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CRUD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CRUD' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Crunchyroll' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Crunchyroll' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CRX' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CRX' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CTR' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CTR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CtrlHD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'CtrlHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'cXcY' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'cXcY' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'D-Z0N3' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'D-Z0N3' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'd3g' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'd3g' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dariush' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dariush' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DARKFLiX' AND t.name = 'HDTV';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DARKFLiX' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DarQ' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DarQ' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'dB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'dB' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'de[42]' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'de[42]' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'deanzel' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'deanzel' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'decibeL' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'decibeL' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DEFLATE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DEFLATE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dekinai' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dekinai' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DepraveD' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DepraveD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DEPTH' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DEPTH' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DeViSiVE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DeViSiVE' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Disney+' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Disney+' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'dkore' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'dkore' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Doki' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Doki' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dolby Digital' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dolby Digital +' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dolby Vision' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dolby Vision' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dolby Vision' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dolby Vision (Without Fallback)' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dolby Vision (Without Fallback)' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dolby Vision (Without Fallback)' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DON' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DON' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Drag' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Drag' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dropout TV' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Dropout TV' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DRX' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DRX' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DS4K' AND t.name = 'Enhancements';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DTS' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DTS Basic' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DTS-ES' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DTS-HD HRA' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DTS-HD HRA ES' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DTS-HD MA' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'DTS-X' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'E' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'E' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'E.N.D' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'E.N.D' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'E1' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'E1' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EA' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EA' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EbP' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EbP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'edge2020' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EDPH' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EDPH' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ELiTE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ELiTE' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EMERALD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EMERALD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EPSiLON' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EPSiLON' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Erai-Raws' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Erai-Raws' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ESiR' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ESiR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EuReKA' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EuReKA' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EVO' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EVO' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EXCiSION' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EXCiSION' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Exiled-Destiny' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Exiled-Destiny' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EXP' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'EXP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Extended Clip' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Extended Clip' AND t.name = 'Preview';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Extras' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FFF' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FFF' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FGT' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FGT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Final8' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Final8' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FLAC' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FLAME' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FLAME' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Flights' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Flights' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Flugel' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Flugel' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FLUX' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FLUX' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FoRM' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FoRM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FraMeSToR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'FraMeSToR' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Full Disc' AND t.name = 'Storage';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GALAXY' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GALAXY' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GALVANiZE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GALVANiZE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Geek' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Geek' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GNOME' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GNOME' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Google TV' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Google TV' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Google TV Rename' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Google TV Rename' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GRiMM' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GRiMM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GS88' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GS88' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GUHZER' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'GUHZER' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'h264' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'h265' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HaB' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HaB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'hallowed' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'hallowed' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HANDJOB' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HANDJOB' AND t.name = 'DVD';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HANDJOB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Hares' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Hares' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HBO Max' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HBO Max' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'hchcsen' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'hchcsen' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'hdalx' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'hdalx' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDC' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDC' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDChina' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDChina' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDMaNiAcS' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDMaNiAcS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDmux' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDmux' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR10' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR10' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR10' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR10 (Missing Groups)' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR10 (Missing Groups)' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR10 (Negation)' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR10 (Negation)' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR10+' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR10+' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDR10+' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDS' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HDS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Headpatter' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Headpatter' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HEVC' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HEVC' AND t.name = 'Encoder';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HHWEB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HHWEB' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HiDt' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HiDt' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HiFi' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HiFi' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HiP' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HiP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HLG' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HLG' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HLG' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HODL' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HODL' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Holomux' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Holomux' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HONE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HONE' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Honeyvera' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Honeyvera' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HorribleSubs' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HorribleSubs' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Hotstar' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Hotstar' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HQMUX' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HQMUX' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Hulu' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Hulu' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'hydes' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'hydes' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HypStu' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'HypStu' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'IAMABLE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'IAMABLE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'IDE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'IDE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iFT' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iFT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'IK' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'IK' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'IMAX' AND t.name = 'Aspect Ratio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'IMAX' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'IMAX Enhanced' AND t.name = 'Aspect Ratio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'IMAX Enhanced' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iON' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iON' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iPT Internals' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iQIYI' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iQIYI' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iTunes' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iTunes' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iTunes Rename' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iTunes Rename' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Ivandro' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Ivandro' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iVy' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'iVy' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Iznjie Biznjie' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Iznjie Biznjie' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'j3rico' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'j3rico' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'jennaortegaUHD' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'jennaortegaUHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'JustWatch' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'JustWatch' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'k00kie' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'k00kie' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Kaleido' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Kaleido' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Kametsu' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Kametsu' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KAN3D2M' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KAN3D2M' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KASHMiR' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KASHMiR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'kBaraka' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'kBaraka' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KC' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KC' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KCW' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KCW' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KH' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KH' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KHN' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KHN' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KiNGS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KiNGS' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Kitsune' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Kitsune' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'kmplx' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'kmplx' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KnG' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KnG' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KONTRAST' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KONTRAST' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Koten_Gars' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Koten_Gars' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KRaLiMaRKo' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'KRaLiMaRKo' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'kuchikirukia' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'kuchikirukia' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LAMA' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LAMA' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LAZARUS' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LAZARUS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LAZY' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LAZY' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LazyRemux' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LazyRemux' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LEGi0N' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LEGi0N' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LiNG' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LiNG' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LittleBakas' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LittleBakas' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LM' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LolHD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LolHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LoRD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LoRD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LSt' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LSt' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Lulu' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Lulu' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Lulz' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Lulz' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'luvBB' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'luvBB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LYS1TH3A' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'LYS1TH3A' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MaG' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MaG' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MainFrame' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MainFrame' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Max' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Max' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Max Rename' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Max Rename' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MeGusta' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MeGusta' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MgB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MgB' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MiMiC' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MiMiC' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'mkv' AND t.name = 'Container';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MNHD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MNHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'monkee' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'monkee' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'mottoj' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'mottoj' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Movies Anywhere' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Movies Anywhere' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MTBB' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MTBB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MTeam' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MTeam' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Mubi' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Mubi' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Mysteria' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Mysteria' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MZABI' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'MZABI' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NAHOM' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NAHOM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NAN0' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NAN0' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NCmt' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NCmt' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NCmt' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Netaro' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Netaro' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Netflix' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Netflix' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NH' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NH' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NhaNc3' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NhaNc3' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NiBuRu' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NiBuRu' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NINJACENTRAL' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NINJACENTRAL' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NiP' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NiP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'nmd' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'nmd' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NoGroup' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NoGroup' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Non Retail HDR Formats' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Non Retail HDR Formats' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Non Retail HDR Formats' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Non Retail HDR Groups' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Non Retail HDR Groups' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Non Retail HDR Groups' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NOSiViD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NOSiViD' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Now' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Now' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Now Rename' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Now Rename' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'noxxus' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'noxxus' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NPMS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NPMS' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NTb' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NTb' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NTG' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NTG' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NyHD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'NyHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'OEPlus' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'OEPlus' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Okay-Subs' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Okay-Subs' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'OnlyWeb' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'OnlyWeb' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Open Matte' AND t.name = 'Aspect Ratio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Open Matte' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Opus' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Opus (Negation)' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Opus (Negation)' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ORBiT' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ORBiT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ORiGEN' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ORiGEN' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Orphan' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Orphan' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'OZR' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'OZR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'P0W4HD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'P0W4HD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Paramount+' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Paramount+' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PCM' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Peacock TV' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Peacock TV' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Penumbra' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Penumbra' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PHOCiS' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PHOCiS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PHOENiX' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PiRAMiDHEAD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PiRAMiDHEAD' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PiRaTeS' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PiRaTeS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'playBD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'playBD' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'playHD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'playHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'playSD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'playSD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'playWEB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'playWEB' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PLUTONiUM' AND t.name = 'HDTV';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PLUTONiUM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PmP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PmP' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'pog42' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'pog42' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Pookie' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Pookie' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Positive' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Positive' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PP' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PQ' AND t.name = 'Colour Grade';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PQ' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PQ' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PSA' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PSA' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PTer' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PTer' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PTerWEB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PTerWEB' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PTP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PTP' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PussyFoot' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PussyFoot' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PuTao' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'PuTao' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'QOQ' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'QOQ' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Quetzal' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Quetzal' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'QxR' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'QxR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'QxR (Title)' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'QxR (Title)' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'R1GY3B' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'R1GY3B' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Raizel' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Raizel' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Ralphy' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Ralphy' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RARGB' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RARGB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RARGB' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Rasetsu' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Rasetsu' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RAWR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RAWR' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ReaLHD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ReaLHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'REBORN' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'REBORN' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Release Group (Missing)' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Release Group (Missing)' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Remux' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Remux' AND t.name = 'Lossless';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Remux' AND t.name = 'h264';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Remux' AND t.name = 'h265';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Repack1' AND t.name = 'Flag';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Repack1' AND t.name = 'Repack';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Repack2' AND t.name = 'Flag';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Repack2' AND t.name = 'Repack';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Repack3' AND t.name = 'Flag';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Repack3' AND t.name = 'Repack';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ReQuEsT' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ReQuEsT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RiCO' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RiCO' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'rightSIZE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'rightSIZE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RO' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RO' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ROCCaT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ROCCaT' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ROCiNANTE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ROCiNANTE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Roku' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Roku' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RTN' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'RTN' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'rttr' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'rttr' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SA89' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SA89' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Saizen' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Saizen' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SallySubs' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SallySubs' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'sam' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'sam' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SaNcTi' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SaNcTi' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SARTRE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SARTRE' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SasukeducK' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SasukeducK' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SbR' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SbR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SCY' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SCY' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SDR' AND t.name = 'HDR';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Senjou' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Senjou' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SHD' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ShieldBearer' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ShieldBearer' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Showtime' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Showtime' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Showtime Rename' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Showtime Rename' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SiC' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SiC' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SiCFoI' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SiCFoI' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SiGLA' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SiGLA' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SiGMA' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SiGMA' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SiMPLE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SiMPLE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Sing Along' AND t.name = 'Edition';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Skazhutin' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Skazhutin' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Slappy' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Slappy' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SM737' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'smol' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'smol' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SMURF' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SMURF' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SoLaR' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SoLaR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SOP' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SOP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Sourceless Groups' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Special Edition' AND t.name = 'Edition';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SPHD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SPHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SPiRiT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SPiRiT' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SQS' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SQS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Stan' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Stan' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Stan Rename' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Stan Rename' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'STRiKES' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'STRiKES' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'STUTTERSHIT' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'STUTTERSHIT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SubsPlease' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SubsPlease' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SubsPlus+' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SubsPlus+' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SumVision' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SumVision' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SURCODE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SURCODE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SwAgLaNdEr' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SwAgLaNdEr' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SWTYBLZ' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'SWTYBLZ' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TAoE' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TAoE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TAoE (Title)' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TAoE (Title)' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'tarunk9c' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'tarunk9c' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TayTo' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TayTo' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TBB' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TBB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TDD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TDD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TeamSyndicate' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TeamSyndicate' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TEKNO3D' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TEKNO3D' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Telly' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Telly' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TEPES' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TEPES' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TERMiNAL' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TERMiNAL' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ThD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ThD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Theatrical Edition' AND t.name = 'Edition';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TheFarm' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TheFarm' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'THORA' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'THORA' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TimeDistortion' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TimeDistortion' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TnP' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TnP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TOMMY' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TOMMY' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ToNaTo' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ToNaTo' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TRiToN' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TRiToN' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TrueHD' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TrueHD' AND t.name = 'Lossless';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TrueHD (Missing Groups)' AND t.name = 'Audio';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Tsundere' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Tsundere' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TTGA' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TTGA' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TV Extras' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TVING' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TVING' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TvR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TvR' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TVSmash' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'TVSmash' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'UDF' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'UDF' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ULTRAHDCLUB' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ULTRAHDCLUB' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'UnKn0wn' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'UnKn0wn' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Upscaled' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Upscaled' AND t.name = 'Enhancement';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VARYG' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VARYG' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VD0N' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VD0N' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VECTOR' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VECTOR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Vialle' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Vialle' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VietHD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VietHD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ViETNAM' AND t.name = 'HDTV';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ViETNAM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Viki' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Viki' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VisionXpert' AND t.name = 'Banned';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VisionXpert' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ViSUM' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ViSUM' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Viu' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Viu' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VLAD' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VLAD' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Vodes' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Vodes' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VP9' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'VVC' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Vyndros' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Vyndros' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'W4NK3R' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'W4NK3R' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WATCHABLE' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WATCHABLE' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Wavve' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Wavve' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WBDP' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WBDP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Weasley' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Weasley' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WELP' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WELP' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WeTV' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WeTV' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WhiteRhino' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WhiteRhino' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WiKi' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WiKi' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WiLDCAT' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WiLDCAT' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WiLF' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WiLF' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WMING' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'WMING' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'x0r' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'x0r' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'x264' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'x264' AND t.name = 'Encoder';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'x265' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'x265' AND t.name = 'Encoder';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'x265 (Efficient)' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'x265 (Efficient)' AND t.name = 'Encoder';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'xander' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'xander' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'XEBEC' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'XEBEC' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Xvid' AND t.name = 'Codec';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'YAWNiX' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'YAWNiX' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'YELLO' AND t.name = 'HEVC';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'YELLO' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'YIFY' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'YIFY' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Youku' AND t.name = 'Streaming Service';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Youku' AND t.name = 'WEB-DL';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'YTS' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'YTS' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Yuki' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Yuki' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'YURI' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'YURI' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ZIMBO' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ZIMBO' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ZoroSenpai' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ZoroSenpai' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ZQ' AND t.name = 'Bluray';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ZQ' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ZQ' AND t.name = 'Remux';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ZR' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'ZR' AND t.name = 'Release Group';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Zurako' AND t.name = 'Anime';
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT re.name, t.name
FROM regular_expressions re, tags t
WHERE re.name = 'Zurako' AND t.name = 'Release Group';

-- Custom Format Tags

INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Balanced Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Balanced Tier 1' AND t.name = 'Balanced';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Balanced Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Balanced Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Balanced Tier 2' AND t.name = 'Balanced';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Balanced Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Bluray' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Bluray HEVC Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Bluray HEVC Tier 1' AND t.name = 'HEVC';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Bluray HEVC Tier 1' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Bluray HEVC Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Bluray HEVC Tier 1' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 1' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 1' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 2' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 2' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 3' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 3' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 3' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 4' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 4' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 4' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie Bluray Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 1' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 1' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 2' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 2' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 3' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 3' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 3' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 4' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 4' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 4' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact Movie WEB Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 1' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 1' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 2' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 2' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 3' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 3' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 3' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 4' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 4' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 4' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 5' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 5' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 5' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 5' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 6' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 6' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 6' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Bluray Tier 6' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Trash Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Trash Tier 1' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Trash Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Trash Tier 1' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Trash Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Trash Tier 2' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Trash Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV Trash Tier 2' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 1' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 1' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 2' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 2' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 3' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 3' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 3' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 4' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 4' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 4' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 5' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 5' AND t.name = 'Compact';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 5' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Compact TV WEB Tier 5' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 3' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 3' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 3' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie Bluray Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 1' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 1' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 2' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 2' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 3' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 3' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 3' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 4' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 4' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 4' AND t.name = 'Movie';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient Movie WEB Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 1' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 1' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 2' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 2' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 3' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 3' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 3' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 4' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 4' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 4' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 5' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 5' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 5' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 5' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 6' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 6' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 6' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV Bluray Tier 6' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 1' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 1' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 2' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 2' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 3' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 3' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 3' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 4' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 4' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 4' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 5' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 5' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 5' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Efficient TV WEB Tier 5' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Golden Popcorn' AND t.name = 'Flag';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Golden Popcorn' AND t.name = 'Golden Popcorn';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p HDTV' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p HDTV Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p HDTV Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p HDTV Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 1' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 1' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 2' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 2' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 2' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 3' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 3' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 3' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 4' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 4' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 4' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 5' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 5' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 5' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 5' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 6' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 6' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 6' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Quality Tier 6' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p Remux' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p WEB-DL' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p WEB-DL (h264)' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p WEB-DL HEVC Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p WEB-DL HEVC Tier 1' AND t.name = 'HEVC';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p WEB-DL HEVC Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '1080p WEBRip' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Balanced Tier 1' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Balanced Tier 1' AND t.name = 'Balanced';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Balanced Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Balanced Tier 2' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Balanced Tier 2' AND t.name = 'Balanced';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Balanced Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Balanced Tier 3' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Balanced Tier 3' AND t.name = 'Balanced';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Balanced Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Bluray' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Efficient TV Bluray Tier 1' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Efficient TV Bluray Tier 1' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Efficient TV Bluray Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Efficient TV Bluray Tier 1' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Efficient TV WEB Tier 1' AND t.name = '1080p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Efficient TV WEB Tier 1' AND t.name = 'Efficient';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Efficient TV WEB Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Efficient TV WEB Tier 1' AND t.name = 'TV';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 1' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 1' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 2' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 2' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 3' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 3' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 4' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 4' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 5' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 5' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 5' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 6' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 6' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Quality Tier 6' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p Remux' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p WEB-DL' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '2160p WEB-DL (Efficient)' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '3D' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '3D' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Bluray' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 1' AND t.name = '480p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 1' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 1' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 2' AND t.name = '480p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 2' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 2' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 3' AND t.name = '480p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 3' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 3' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 4' AND t.name = '480p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 4' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 4' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p Quality Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '480p WEB-DL' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Bluray' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 1' AND t.name = '576p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 1' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 1' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 2' AND t.name = '576p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 2' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 2' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 3' AND t.name = '576p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 3' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 3' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 4' AND t.name = '576p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 4' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 4' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '576p Quality Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Balanced Tier 1' AND t.name = '720p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Balanced Tier 1' AND t.name = 'Balanced';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Balanced Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Bluray' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Golden Popcorn' AND t.name = 'Flag';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Golden Popcorn' AND t.name = 'Golden Popcorn';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p HDTV' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p HDTV Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p HDTV Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p HDTV Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 1' AND t.name = '720p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 1' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 1' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 2' AND t.name = '720p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 2' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 2' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 3' AND t.name = '720p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 3' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 3' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 4' AND t.name = '720p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 4' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 4' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 5' AND t.name = '720p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 5' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 5' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 5' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 6' AND t.name = '720p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 6' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 6' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p Quality Tier 6' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p WEB-DL' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = '720p WEBRip' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'AAC' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Amazon Enhancement' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'AMZN' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'AMZN' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Anime Bluray Tier 1' AND t.name = 'Anime';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Anime Bluray Tier 2' AND t.name = 'Anime';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Anime Bluray Tier 3' AND t.name = 'Anime';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Anime Bluray Tier 4' AND t.name = 'Anime';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Anime Bluray Tier 5' AND t.name = 'Anime';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Anime WEB-DL Tier 1' AND t.name = 'Anime';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Anime WEB-DL Tier 2' AND t.name = 'Anime';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Atmos' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Atmos' AND t.name = 'Dolby';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Atmos (Missing)' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Atmos (Missing)' AND t.name = 'Dolby';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'ATVP' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'ATVP' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'AV1' AND t.name = 'Bleeding Edge';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'AV1' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'B&W' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'B&W' AND t.name = 'Colour Grade';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'B&W' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned Groups' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned Groups' AND t.name = 'Release Group';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned Groups (Efficient)' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned Groups (Efficient)' AND t.name = 'Release Group';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned Remux' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned Remux' AND t.name = 'Release Group';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned UHD Bluray' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned UHD Bluray' AND t.name = 'Release Group';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned WEBRip' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned WEBRip' AND t.name = 'Release Group';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned WEBRip (Efficient)' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Banned WEBRip (Efficient)' AND t.name = 'Release Group';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'BCORE' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'BCORE' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Better Theatricals' AND t.name = 'Edition';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'CR' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'CR' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'CRAV' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'CRAV' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'CRIT' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'CRIT' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Disney+ Enhancement' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Dolby Atmos' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Dolby Atmos' AND t.name = 'Dolby';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Dolby Digital' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Dolby Digital +' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Dolby Vision' AND t.name = 'Colour Grade';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Dolby Vision' AND t.name = 'HDR';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Dolby Vision (Without Fallback)' AND t.name = 'Colour Grade';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Dolby Vision (Without Fallback)' AND t.name = 'HDR';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DRPO' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DRPO' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DSNP' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DSNP' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DTS' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DTS-ES' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DTS-HD HRA' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DTS-HD MA' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DTS-X' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DVD' AND t.name = 'SD';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DVD' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DVD Remux' AND t.name = 'Lossless';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DVD Remux' AND t.name = 'SD';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'DVD Remux' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Extras' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Extras' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'FLAC' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Freeleech 100%' AND t.name = 'Flag';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Freeleech 100%' AND t.name = 'Freeleech';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Freeleech 25%' AND t.name = 'Flag';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Freeleech 25%' AND t.name = 'Freeleech';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Freeleech 50%' AND t.name = 'Flag';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Freeleech 50%' AND t.name = 'Freeleech';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Freeleech 75%' AND t.name = 'Flag';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Freeleech 75%' AND t.name = 'Freeleech';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Full Disc' AND t.name = 'Storage';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Full Disc (Quality Match)' AND t.name = 'Storage';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'h265' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'h265 (Efficient)' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HBO Max Enhancement' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HDR' AND t.name = 'Colour Grade';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HDR' AND t.name = 'HDR';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HDR (Missing)' AND t.name = 'Colour Grade';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HDR (Missing)' AND t.name = 'HDR';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HDR10' AND t.name = 'Colour Grade';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HDR10' AND t.name = 'HDR';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HDR10 (Missing)' AND t.name = 'Colour Grade';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HDR10 (Missing)' AND t.name = 'HDR';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HDR10+' AND t.name = 'Colour Grade';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HDR10+' AND t.name = 'HDR';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HLG' AND t.name = 'Colour Grade';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HLG' AND t.name = 'HDR';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HMAX' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HMAX' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HTSR' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HTSR' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HULU' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'HULU' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'IMAX' AND t.name = 'Edition';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'IMAX Enhanced' AND t.name = 'Edition';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'iP' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'iP' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'IQIYI' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'IQIYI' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'iT' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'iT' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'iTunes Enhancement' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'KCW' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'KCW' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Lossless Audio' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'MA' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'MA' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'MAX' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'MAX' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Movies Anywhere Enhancement' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'MUBI' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'MUBI' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'NF' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'NF' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Not English' AND t.name = 'Language';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Not Only English' AND t.name = 'Language';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Not Only English (Missing)' AND t.name = 'Language';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'NOW' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'NOW' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Opus' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'PCM' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'PCOK' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'PCOK' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'PLAY' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'PLAY' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'PMTP' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'PMTP' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'PQ' AND t.name = 'Colour Grade';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'PQ' AND t.name = 'HDR';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux' AND t.name = 'Storage';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux (Quality Match)' AND t.name = 'Storage';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux (Source)' AND t.name = 'Storage';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux Tier 1' AND t.name = 'Remux';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux Tier 2' AND t.name = 'Remux';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux Tier 3' AND t.name = 'Remux';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Remux Tier 4' AND t.name = 'Remux';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Repack1' AND t.name = 'Flag';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Repack1' AND t.name = 'Repack';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Repack2' AND t.name = 'Flag';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Repack2' AND t.name = 'Repack';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Repack3' AND t.name = 'Flag';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Repack3' AND t.name = 'Repack';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'ROKU' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'ROKU' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SD Golden Popcorn' AND t.name = 'Flag';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SD Golden Popcorn' AND t.name = 'Golden Popcorn';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SD Quality Tier 1' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SD Quality Tier 1' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SD Quality Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SD Quality Tier 1' AND t.name = 'SD';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SD Quality Tier 2' AND t.name = 'GPPi';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SD Quality Tier 2' AND t.name = 'Quality';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SD Quality Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SD Quality Tier 2' AND t.name = 'SD';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SDTV' AND t.name = 'Source';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SDTV Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Season Pack' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SHO' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'SHO' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Sing Along' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Sing Along' AND t.name = 'Edition';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Special Edition' AND t.name = 'Edition';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'STAN' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'STAN' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Theatrical' AND t.name = 'Edition';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'TrueHD' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'TrueHD (Missing)' AND t.name = 'Audio';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'TV Extras' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'TV Extras' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'TVING' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'TVING' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'UHD Bluray' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'UHD Bluray' AND t.name = 'Storage';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'UHD Bluray (Efficient)' AND t.name = '2160p';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'UHD Bluray (Efficient)' AND t.name = 'Storage';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Upscale' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Upscale' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Upscaled' AND t.name = 'Banned';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Upscaled' AND t.name = 'Enhancement';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'VIKI' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'VIKI' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'VIU' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'VIU' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'VP9' AND t.name = 'Bleeding Edge';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'VP9' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'VVC' AND t.name = 'Bleeding Edge';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'VVC' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WAVVE' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WAVVE' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WEB-DL Tier 1' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WEB-DL Tier 1' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WEB-DL Tier 2' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WEB-DL Tier 2' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WEB-DL Tier 3' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WEB-DL Tier 3' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WEB-DL Tier 4' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WEB-DL Tier 4' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WEB-DL Tier 5' AND t.name = 'Release Group Tier';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WEB-DL Tier 5' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WeTV' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'WeTV' AND t.name = 'WEB-DL';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'x264 (2160p)' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'x265' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'x265 (Bluray)' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'x265 (Efficient)' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'x265 (Missing)' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'x265 (Remux)' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'x265 (WEB)' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'Xvid' AND t.name = 'Codec';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'YK' AND t.name = 'Streaming Service';
INSERT INTO custom_format_tags (custom_format_name, tag_name)
SELECT cf.name, t.name
FROM custom_formats cf, tags t
WHERE cf.name = 'YK' AND t.name = 'WEB-DL';

-- Quality Group Members

INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Balanced', '1080p Balanced', q.name
FROM qualities q
WHERE q.name = 'Bluray-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Balanced', '1080p Balanced', q.name
FROM qualities q
WHERE q.name = 'WEBDL-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Balanced', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Balanced', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Balanced', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Balanced', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Balanced', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Balanced', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Balanced', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Compact', '1080p Compact', q.name
FROM qualities q
WHERE q.name = 'Bluray-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Compact', '1080p Compact', q.name
FROM qualities q
WHERE q.name = 'WEBDL-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Compact', '1080p Compact', q.name
FROM qualities q
WHERE q.name = 'WEBRip-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Compact', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Compact', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Compact', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Compact', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Compact', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Compact', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Compact', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Efficient', '1080p Efficient', q.name
FROM qualities q
WHERE q.name = 'Bluray-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Efficient', '1080p Efficient', q.name
FROM qualities q
WHERE q.name = 'WEBDL-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Efficient', '1080p Efficient', q.name
FROM qualities q
WHERE q.name = 'WEBRip-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Efficient', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Efficient', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Efficient', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Efficient', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Efficient', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Efficient', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Efficient', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality', '1080p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality', '1080p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality', '1080p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality HDR', '1080p Quality HDR', q.name
FROM qualities q
WHERE q.name = 'Bluray-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality HDR', '1080p Quality HDR', q.name
FROM qualities q
WHERE q.name = 'WEBDL-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality HDR', '1080p Quality HDR', q.name
FROM qualities q
WHERE q.name = 'WEBRip-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality HDR', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality HDR', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality HDR', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality HDR', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality HDR', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality HDR', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Quality HDR', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '1080p Remux', q.name
FROM qualities q
WHERE q.name = 'Bluray-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '1080p Remux', q.name
FROM qualities q
WHERE q.name = 'Remux-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '1080p Remux', q.name
FROM qualities q
WHERE q.name = 'WEBDL-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '1080p Remux', q.name
FROM qualities q
WHERE q.name = 'WEBRip-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '1080p Remux', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '1080p Quality HDR', q.name
FROM qualities q
WHERE q.name = 'Bluray-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '1080p Quality HDR', q.name
FROM qualities q
WHERE q.name = 'WEBDL-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '1080p Quality HDR', q.name
FROM qualities q
WHERE q.name = 'WEBRip-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '2160p Balanced', q.name
FROM qualities q
WHERE q.name = 'Bluray-2160p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '2160p Balanced', q.name
FROM qualities q
WHERE q.name = 'WEBDL-2160p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Balanced', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '1080p Efficient', q.name
FROM qualities q
WHERE q.name = 'Bluray-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '1080p Efficient', q.name
FROM qualities q
WHERE q.name = 'WEBDL-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '1080p Efficient', q.name
FROM qualities q
WHERE q.name = 'WEBRip-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '2160p Efficient', q.name
FROM qualities q
WHERE q.name = 'Bluray-2160p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '2160p Efficient', q.name
FROM qualities q
WHERE q.name = 'WEBDL-2160p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '2160p Efficient', q.name
FROM qualities q
WHERE q.name = 'WEBRip-2160p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Efficient', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '1080p Quality HDR', q.name
FROM qualities q
WHERE q.name = 'Bluray-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '1080p Quality HDR', q.name
FROM qualities q
WHERE q.name = 'WEBDL-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '1080p Quality HDR', q.name
FROM qualities q
WHERE q.name = 'WEBRip-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '2160p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-2160p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '2160p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-2160p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Quality', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '1080p Remux', q.name
FROM qualities q
WHERE q.name = 'Bluray-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '1080p Remux', q.name
FROM qualities q
WHERE q.name = 'Remux-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '1080p Remux', q.name
FROM qualities q
WHERE q.name = 'WEBDL-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '1080p Remux', q.name
FROM qualities q
WHERE q.name = 'WEBRip-1080p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '2160p Remux', q.name
FROM qualities q
WHERE q.name = 'Bluray-2160p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '2160p Remux', q.name
FROM qualities q
WHERE q.name = 'Remux-2160p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '2160p Remux', q.name
FROM qualities q
WHERE q.name = 'WEBDL-2160p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '2160p Remux', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '720p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '720p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-576p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '720p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'DVD';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '720p Quality', '480p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-480p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '720p Quality', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'Bluray-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '720p Quality', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBDL-720p';
INSERT INTO quality_group_members (quality_profile_name, quality_group_name, quality_name)
SELECT '720p Quality', '720p Quality', q.name
FROM qualities q
WHERE q.name = 'WEBRip-720p';

-- Quality Profile Tags

INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Balanced' AND t.name = '1080p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Balanced' AND t.name = 'Balanced Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Balanced' AND t.name = 'Lossy Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Balanced' AND t.name = 'h264';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Balanced' AND t.name = 'x264';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Compact' AND t.name = '1080p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Compact' AND t.name = 'Compact Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Compact' AND t.name = 'Lossy Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Compact' AND t.name = 'h265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Compact' AND t.name = 'x265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Efficient' AND t.name = '1080p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Efficient' AND t.name = 'Efficient Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Efficient' AND t.name = 'Lossy Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Efficient' AND t.name = 'h265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Efficient' AND t.name = 'x265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality' AND t.name = '1080p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality' AND t.name = 'Lossy Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality' AND t.name = 'Quality Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality' AND t.name = 'h264';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality' AND t.name = 'x264';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality HDR' AND t.name = '1080p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality HDR' AND t.name = 'HDR';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality HDR' AND t.name = 'Lossy Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality HDR' AND t.name = 'Quality Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality HDR' AND t.name = 'x264';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Quality HDR' AND t.name = 'x265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Remux' AND t.name = '1080p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Remux' AND t.name = 'Lossless Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Remux' AND t.name = 'Remux Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Remux' AND t.name = 'h264';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Remux' AND t.name = 'x264';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '1080p Remux' AND t.name = 'x265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Balanced' AND t.name = '2160p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Balanced' AND t.name = 'Balanced Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Balanced' AND t.name = 'HDR';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Balanced' AND t.name = 'Lossy Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Balanced' AND t.name = 'h265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Balanced' AND t.name = 'x264';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Efficient' AND t.name = '2160p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Efficient' AND t.name = 'Efficient Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Efficient' AND t.name = 'Lossy Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Efficient' AND t.name = 'h265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Efficient' AND t.name = 'x265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Quality' AND t.name = '2160p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Quality' AND t.name = 'HDR';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Quality' AND t.name = 'Lossless Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Quality' AND t.name = 'Quality Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Quality' AND t.name = 'h265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Quality' AND t.name = 'x265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Remux' AND t.name = '2160p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Remux' AND t.name = 'HDR';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Remux' AND t.name = 'Lossless Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Remux' AND t.name = 'Remux Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Remux' AND t.name = 'h265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '2160p Remux' AND t.name = 'x265';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '720p Quality' AND t.name = '720p';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '720p Quality' AND t.name = 'Lossy Audio';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '720p Quality' AND t.name = 'Quality Focused';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '720p Quality' AND t.name = 'h264';
INSERT INTO quality_profile_tags (quality_profile_name, tag_name)
SELECT qp.name, t.name
FROM quality_profiles qp, tags t
WHERE qp.name = '720p Quality' AND t.name = 'x264';

-- Quality Profile Languages

INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '1080p Balanced' AND l.name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '1080p Compact' AND l.name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '1080p Efficient' AND l.name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '1080p Quality' AND l.name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '1080p Quality HDR' AND l.name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '1080p Remux' AND l.name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '2160p Balanced' AND l.name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '2160p Efficient' AND l.name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '2160p Quality' AND l.name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '2160p Remux' AND l.name = 'Original';
INSERT INTO quality_profile_languages (quality_profile_name, language_name, type)
SELECT qp.name, l.name, 'must'
FROM quality_profiles qp, languages l
WHERE qp.name = '720p Quality' AND l.name = 'Original';

-- Quality Profile Custom Formats

INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '1080p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 85000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 84000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 83000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 23000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 22000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 11000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Dolby Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Banned Groups';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Banned WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'h265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'x265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 281000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '1080p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '1080p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Remux (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Remux (Source)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'TV Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Balanced' AND cf.name = 'Upscaled';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 620000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p WEB-DL (h264)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 580000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 460000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 460000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 340000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p HDTV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p HDTV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 160000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 145000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 144000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 143000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 142000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 141000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 140000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 102000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p HDTV Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 101000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p HDTV Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p HDTV Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p HDTV Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p HDTV Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 63000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 62000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 61000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'SDTV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'SDTV Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Dolby Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Banned Groups (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Banned WEBRip (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'h265 (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Lossless Audio';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'UHD Bluray (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'x265 (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 703000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact Movie Bluray Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 702000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact Movie Bluray Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 701000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact Movie Bluray Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 701000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Vialle Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 700000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact Movie Bluray Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 700000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'QxR Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 700000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'TAoE Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 680000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 680000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'HONE WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 660000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Bluray HEVC Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 660000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'HONE Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 643000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact Movie WEB Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 643000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'QxR WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 643000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'TAoE WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 643000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Weasley WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 642000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact Movie WEB Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 641000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact Movie WEB Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 640000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact Movie WEB Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 621000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 620000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p HDTV Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Remux (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 684000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV WEB Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 684000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'QxR WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 684000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'TAoE WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 684000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Vialle WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 684000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Weasley WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 683000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV WEB Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 682000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV WEB Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 681000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV WEB Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 680000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV WEB Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 665000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV Bluray Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 664000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV Bluray Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 663000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV Bluray Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 662000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV Bluray Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 661000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV Bluray Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 660000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV Bluray Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 660000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'QxR Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 660000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'TAoE Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 660000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Vialle Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 641000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV Trash Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 640000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '1080p Compact TV Trash Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = '720p HDTV Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Remux (Source)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Compact' AND cf.name = 'Upscaled';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 360000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Bluray HEVC Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 360000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'HONE Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 340000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 340000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'HONE WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p WEB-DL (h264)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 85000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 84000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 83000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 23000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 22000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 11000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'DS4K';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Dolby Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Banned Groups (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Banned WEBRip (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Dolby Vision (Without Fallback)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'h265 (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Lossless Audio';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'x265 (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 323000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient Movie Bluray Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 323000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'QxR Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 323000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'TAoE Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 322000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 322000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Vialle Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 321000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient Movie Bluray Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 320000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 303000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient Movie WEB Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 303000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'QxR WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 303000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'TAoE WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 303000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Weasley WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 302000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 301000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient Movie WEB Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 300000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient Movie WEB Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 281000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Remux (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 324000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 324000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'QxR Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 324000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'TAoE Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 324000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Vialle Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 323000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 322000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 321000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 320000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 305000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV WEB Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 305000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'QxR WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 305000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'TAoE WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 305000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Vialle WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 305000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Weasley WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 304000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 303000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV WEB Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 302000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 301000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 300000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Remux (Source)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'TV Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Efficient' AND cf.name = 'Upscaled';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 380000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 125000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 124000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 123000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 122000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 121000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 85000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 84000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 83000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 23000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 22000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 11000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Dolby Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Banned Groups';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Banned WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'h265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'x265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 101000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 100000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '1080p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Remux (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Remux (Source)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'TV Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality' AND cf.name = 'Upscaled';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 420000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'UHD Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 380000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 125000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 124000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 123000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 122000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 121000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 85000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 84000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 83000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 23000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 22000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 11000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'HDR (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Dolby Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -400000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'x265 (Bluray)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Banned Groups';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Banned UHD Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Banned WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Dolby Vision (Without Fallback)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'h265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'x265 (WEB)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 101000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 100000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '1080p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Remux (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Remux (Source)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'TV Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Quality HDR' AND cf.name = 'Upscaled';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 440000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 420000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'UHD Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 380000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 125000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 124000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 123000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 122000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 121000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 85000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 84000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 83000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 23000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 22000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 11000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'DTS-X';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'DTS-HD MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'TrueHD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'HDR (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'PCM';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Atmos (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Remux Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Remux Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Remux Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Remux Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -400000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'x265 (Bluray)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Banned Groups';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Banned Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Banned UHD Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Banned WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Dolby Vision (Without Fallback)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'h265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'x265 (Remux)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'x265 (WEB)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 101000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 100000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '1080p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'TV Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '1080p Remux' AND cf.name = 'Upscaled';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 440000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '2160p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 420000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'UHD Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 380000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 125000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 124000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 123000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 122000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 121000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 85000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 84000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 83000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 23000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 22000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 11000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'DTS-X';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'DTS-HD MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'TrueHD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'TrueHD (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Amazon Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'HDR (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'PCM';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Atmos (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -400000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'x265 (Bluray)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Banned Groups';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Banned UHD Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Banned WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Dolby Vision (Without Fallback)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'h265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'x264 (2160p)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'x265 (WEB)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 442000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '2160p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 441000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '2160p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 440000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '2160p Balanced Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 101000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 100000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '1080p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 6000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Disney+ Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Movies Anywhere Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'iTunes Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Remux (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 444000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = '2160p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'HBO Max Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Remux (Source)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'TV Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Balanced' AND cf.name = 'Upscaled';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 380000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '2160p WEB-DL (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 360000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Bluray HEVC Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 360000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HONE Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 340000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p WEB-DL HEVC Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 340000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HONE WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p WEB-DL (h264)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 85000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 84000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 83000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 23000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 22000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 11000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Amazon Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'DS4K';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Dolby Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Banned Groups (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Banned WEBRip (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Dolby Vision (Without Fallback)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'h265 (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Lossless Audio';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'x264 (2160p)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'x265 (Efficient)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 382000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '2160p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 381000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '2160p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 380000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '2160p Balanced Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 323000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient Movie Bluray Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 323000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'QxR Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 323000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'TAoE Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 322000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient Movie Bluray Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 322000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Vialle Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 321000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient Movie Bluray Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 320000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient Movie Bluray Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 303000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient Movie WEB Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 303000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'QxR WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 303000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'TAoE WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 303000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Weasley WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 302000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient Movie WEB Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 301000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient Movie WEB Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 300000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient Movie WEB Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 281000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 6000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Disney+ Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Movies Anywhere Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'iTunes Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Remux (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 421000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '2160p Efficient TV Bluray Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 421000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'QxR Blurays';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 421000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'TAoE Blurays';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 400000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '2160p Efficient TV WEB Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 400000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'QxR WEBs';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 400000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'TAoE WEBs';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 384000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '2160p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 324000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 324000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'QxR Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 324000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'TAoE Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 324000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Vialle Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 323000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 322000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 321000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 320000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 305000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV WEB Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 305000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'QxR WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 305000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'TAoE WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 305000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Vialle WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 305000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Weasley WEB';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 304000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV WEB Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 303000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV WEB Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 302000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV WEB Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 301000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV Bluray Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 300000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = '1080p Efficient TV WEB Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'HBO Max Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Remux (Source)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'TV Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Efficient' AND cf.name = 'Upscaled';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 465000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 464000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 463000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 462000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 460000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 440000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 439000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 420000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'UHD Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 380000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 125000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 124000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 123000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 122000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 121000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 85000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 84000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 83000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 23000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 22000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 11000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'DTS-X';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'DTS-HD MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'TrueHD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'TrueHD (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Amazon Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HDR (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HDR10 (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'PCM';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Atmos (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -400000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'x265 (Bluray)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Banned Groups';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Banned UHD Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Banned WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Dolby Vision (Without Fallback)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'h265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'x264 (2160p)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'x265 (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'x265 (WEB)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 442000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 441000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 440000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p Balanced Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 101000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 100000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '1080p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 6000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Disney+ Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Movies Anywhere Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'iTunes Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Remux (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 444000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = '2160p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'HBO Max Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Remux (Source)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'TV Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Quality' AND cf.name = 'Upscaled';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 485000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 484000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 483000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 482000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 480000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 460000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 440000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 420000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'UHD Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 380000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 280000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 279000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 125000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 124000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 123000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 122000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 121000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 85000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 84000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 83000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 23000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 22000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 11000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'DTS-X';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'DTS-HD MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'TrueHD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'TrueHD (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Amazon Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HDR (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HDR10 (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'PCM';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Atmos (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Remux Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Remux Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Remux Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Remux Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -400000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'x265 (Bluray)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Banned Groups';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Banned Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Banned UHD Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Banned WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Dolby Vision (Without Fallback)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'h265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'x264 (2160p)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'x265 (Missing)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'x265 (Remux)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'x265 (WEB)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 462000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 461000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 460000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Balanced Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 101000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 100000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '1080p Balanced Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 6000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Disney+ Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Movies Anywhere Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'iTunes Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 464000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = '2160p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'HBO Max Enhancement';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'TV Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '2160p Remux' AND cf.name = 'Upscaled';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 240000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '720p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '720p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 180000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '720p WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 120000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '576p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 85000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '720p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 84000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '720p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 83000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '720p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 82000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '720p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 81000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '720p Quality Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '480p Bluray';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '720p Quality Tier 6';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '480p WEB-DL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 43000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '576p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 42000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '576p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 41000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '576p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '576p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 23000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '480p Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 22000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '480p Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 21000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '480p Quality Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '480p Quality Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'DVD';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'DVD Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 11000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'SD Quality Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 10000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'SD Quality Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'AMZN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 3000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'DSNP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'ATVP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'HMAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 2000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'MAX';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'iT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'NF';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 800
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'FLAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'DTS-HD HRA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 700
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Opus';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 600
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Dolby Digital +';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 500
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'DTS-ES';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Dolby Atmos';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 400
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Dolby Digital';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 300
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'DTS';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 200
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'AAC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 100
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'WEB-DL Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 80
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'WEB-DL Tier 2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 60
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'WEB-DL Tier 3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 40
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'WEB-DL Tier 4';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 20
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'WEB-DL Tier 5';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 8
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Repack3';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 7
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Repack2';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 6
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Repack1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'CRAV';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'CRIT';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'DRPO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'HTSR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'HULU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'iP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'MUBI';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'NOW';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'PCOK';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'PLAY';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'PMTP';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'ROKU';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'SHO';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', 0
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'STAN';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'ASL';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'AV1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Banned Groups';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Banned WEBRip';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'BCORE';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Dolby Vision';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Full Disc';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'h265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'HDR';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'HDR10';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'HDR10+';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'HLG';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'PQ';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Remux';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'VP9';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'VVC';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'x265';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'all', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Xvid';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 60000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '720p Balanced Tier 1';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 4000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'MA';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Better Theatricals';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', 1000
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Special Edition';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = '3D';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'B&W';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Full Disc (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Remux (Quality Match)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Sing Along';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'radarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Upscale';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', 10
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Season Pack';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Remux (Source)';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'TV Extras';
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT qp.name, cf.name, 'sonarr', -999999
FROM quality_profiles qp, custom_formats cf
WHERE qp.name = '720p Quality' AND cf.name = 'Upscaled';

-- Quality Profile Qualities

INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Balanced' AND qg.quality_profile_name = qp.name AND qg.name = '1080p Balanced';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Balanced' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 2, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Balanced' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Compact' AND qg.quality_profile_name = qp.name AND qg.name = '1080p Compact';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Compact' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_name, position, upgrade_until)
SELECT qp.name, q.name, 2, 0
FROM quality_profiles qp, qualities q
WHERE qp.name = '1080p Compact' AND q.name = 'HDTV-1080p';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_name, position, upgrade_until)
SELECT qp.name, q.name, 3, 0
FROM quality_profiles qp, qualities q
WHERE qp.name = '1080p Compact' AND q.name = 'HDTV-720p';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 4, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Compact' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_name, position, upgrade_until)
SELECT qp.name, q.name, 5, 0
FROM quality_profiles qp, qualities q
WHERE qp.name = '1080p Compact' AND q.name = 'SDTV';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Efficient' AND qg.quality_profile_name = qp.name AND qg.name = '1080p Efficient';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Efficient' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 2, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Efficient' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Quality' AND qg.quality_profile_name = qp.name AND qg.name = '1080p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Quality' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 2, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Quality' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Quality HDR' AND qg.quality_profile_name = qp.name AND qg.name = '1080p Quality HDR';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Quality HDR' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 2, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Quality HDR' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Remux' AND qg.quality_profile_name = qp.name AND qg.name = '1080p Remux';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Remux' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 2, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '1080p Remux' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Balanced' AND qg.quality_profile_name = qp.name AND qg.name = '2160p Balanced';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Balanced' AND qg.quality_profile_name = qp.name AND qg.name = '1080p Quality HDR';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 2, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Balanced' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 3, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Balanced' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Efficient' AND qg.quality_profile_name = qp.name AND qg.name = '2160p Efficient';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Efficient' AND qg.quality_profile_name = qp.name AND qg.name = '1080p Efficient';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 2, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Efficient' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 3, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Efficient' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Quality' AND qg.quality_profile_name = qp.name AND qg.name = '2160p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Quality' AND qg.quality_profile_name = qp.name AND qg.name = '1080p Quality HDR';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 2, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Quality' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 3, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Quality' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Remux' AND qg.quality_profile_name = qp.name AND qg.name = '2160p Remux';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Remux' AND qg.quality_profile_name = qp.name AND qg.name = '1080p Remux';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 2, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Remux' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 3, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '2160p Remux' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 0, 1
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '720p Quality' AND qg.quality_profile_name = qp.name AND qg.name = '720p Quality';
INSERT INTO quality_profile_qualities (quality_profile_name, quality_group_name, position, upgrade_until)
SELECT qp.name, qg.name, 1, 0
FROM quality_profiles qp, quality_groups qg
WHERE qp.name = '720p Quality' AND qg.quality_profile_name = qp.name AND qg.name = '480p Quality';

-- ============================================================================
-- CONDITION TYPE TABLES
-- ============================================================================

-- Condition Type Inserts (Polymorphic)
-- condition_patterns, condition_languages, condition_sources, etc.

INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Balanced Tier 1', 'hallowed', re.name
FROM regular_expressions re
WHERE re.name = 'hallowed';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Balanced Tier 2', 'BHDStudio', re.name
FROM regular_expressions re
WHERE re.name = 'BHDStudio';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Bluray', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Bluray HEVC Tier 1', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Bluray HEVC Tier 1', 'HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 1', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 1', 'bluegreeen', re.name
FROM regular_expressions re
WHERE re.name = 'bluegreeen';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 1', 'Chivaman', re.name
FROM regular_expressions re
WHERE re.name = 'Chivaman';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 1', 'edge2020', re.name
FROM regular_expressions re
WHERE re.name = 'edge2020';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 1', 'noxxus', re.name
FROM regular_expressions re
WHERE re.name = 'noxxus';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 1', 'R1GY3B', re.name
FROM regular_expressions re
WHERE re.name = 'R1GY3B';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 1', 'Ralphy', re.name
FROM regular_expressions re
WHERE re.name = 'Ralphy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 1', 'ToNaTo', re.name
FROM regular_expressions re
WHERE re.name = 'ToNaTo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 1', 'Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 1', 'YELLO', re.name
FROM regular_expressions re
WHERE re.name = 'YELLO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 2', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 2', 'dkore', re.name
FROM regular_expressions re
WHERE re.name = 'dkore';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 2', 'GRiMM', re.name
FROM regular_expressions re
WHERE re.name = 'GRiMM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 2', 'TimeDistortion', re.name
FROM regular_expressions re
WHERE re.name = 'TimeDistortion';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 3', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 3', 'Not HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 3', 'DarQ', re.name
FROM regular_expressions re
WHERE re.name = 'DarQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 3', 'honeyvera', re.name
FROM regular_expressions re
WHERE re.name = 'Honeyvera';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 3', 'LSt', re.name
FROM regular_expressions re
WHERE re.name = 'LSt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 3', 'MNHD', re.name
FROM regular_expressions re
WHERE re.name = 'MNHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 3', 'SARTRE', re.name
FROM regular_expressions re
WHERE re.name = 'SARTRE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 3', 'Vialle', re.name
FROM regular_expressions re
WHERE re.name = 'Vialle';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 4', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 4', 'NAN0', re.name
FROM regular_expressions re
WHERE re.name = 'NAN0';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 4', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 4', 'SQS', re.name
FROM regular_expressions re
WHERE re.name = 'SQS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie Bluray Tier 4', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 1', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 1', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 1', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 2', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 2', 'Not HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 2', 'DarQ', re.name
FROM regular_expressions re
WHERE re.name = 'DarQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 2', 'dkore', re.name
FROM regular_expressions re
WHERE re.name = 'dkore';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 2', 'LSt', re.name
FROM regular_expressions re
WHERE re.name = 'LSt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 2', 'SQS', re.name
FROM regular_expressions re
WHERE re.name = 'SQS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 2', 'TimeDistortion', re.name
FROM regular_expressions re
WHERE re.name = 'TimeDistortion';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 3', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 3', 'edge2020', re.name
FROM regular_expressions re
WHERE re.name = 'edge2020';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 3', 'R1GY3B', re.name
FROM regular_expressions re
WHERE re.name = 'R1GY3B';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 3', 'ToNaTo', re.name
FROM regular_expressions re
WHERE re.name = 'ToNaTo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 3', 'Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 4', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 4', 'noxxus', re.name
FROM regular_expressions re
WHERE re.name = 'noxxus';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 4', 'SARTRE', re.name
FROM regular_expressions re
WHERE re.name = 'SARTRE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 4', 'Ralphy', re.name
FROM regular_expressions re
WHERE re.name = 'Ralphy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact Movie WEB Tier 4', 'YELLO', re.name
FROM regular_expressions re
WHERE re.name = 'YELLO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 1', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 1', 'iVy', re.name
FROM regular_expressions re
WHERE re.name = 'iVy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 1', 'KONTRAST', re.name
FROM regular_expressions re
WHERE re.name = 'KONTRAST';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 1', 'PHOCiS', re.name
FROM regular_expressions re
WHERE re.name = 'PHOCiS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 1', 'YAWNiX', re.name
FROM regular_expressions re
WHERE re.name = 'YAWNiX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 2', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 2', 'Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 3', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 3', 'bluegreeen', re.name
FROM regular_expressions re
WHERE re.name = 'bluegreeen';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 3', 'cXcY', re.name
FROM regular_expressions re
WHERE re.name = 'cXcY';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 3', 'edge2020', re.name
FROM regular_expressions re
WHERE re.name = 'edge2020';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 3', 'R1GY3B', re.name
FROM regular_expressions re
WHERE re.name = 'R1GY3B';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 3', 'Ralphy', re.name
FROM regular_expressions re
WHERE re.name = 'Ralphy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 3', 'TimeDistortion', re.name
FROM regular_expressions re
WHERE re.name = 'TimeDistortion';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 3', 'ToNaTo', re.name
FROM regular_expressions re
WHERE re.name = 'ToNaTo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 3', 'YELLO', re.name
FROM regular_expressions re
WHERE re.name = 'YELLO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 4', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 4', 'LSt', re.name
FROM regular_expressions re
WHERE re.name = 'LSt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 5', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 5', 'Not HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 5', 'DarQ', re.name
FROM regular_expressions re
WHERE re.name = 'DarQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 5', 'dkore', re.name
FROM regular_expressions re
WHERE re.name = 'dkore';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 5', 'GRiMM', re.name
FROM regular_expressions re
WHERE re.name = 'GRiMM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 5', 'MNHD', re.name
FROM regular_expressions re
WHERE re.name = 'MNHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 6', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 6', 'NAN0', re.name
FROM regular_expressions re
WHERE re.name = 'NAN0';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 6', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 6', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Bluray Tier 6', 'Vialle', re.name
FROM regular_expressions re
WHERE re.name = 'Vialle';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Trash Tier 1', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Trash Tier 1', 'PSA', re.name
FROM regular_expressions re
WHERE re.name = 'PSA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Trash Tier 2', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Trash Tier 2', 'ELiTE', re.name
FROM regular_expressions re
WHERE re.name = 'ELiTE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Trash Tier 2', 'Megusta', re.name
FROM regular_expressions re
WHERE re.name = 'MeGusta';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV Trash Tier 2', 'PSA', re.name
FROM regular_expressions re
WHERE re.name = 'PSA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 1', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 1', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 1', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 1', 'Vialle', re.name
FROM regular_expressions re
WHERE re.name = 'Vialle';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 2', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 2', 'Not HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 2', 'ARCADE', re.name
FROM regular_expressions re
WHERE re.name = 'ARCADE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 2', 'DarQ', re.name
FROM regular_expressions re
WHERE re.name = 'DarQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 2', 'LSt', re.name
FROM regular_expressions re
WHERE re.name = 'LSt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 2', 'ToNaTo', re.name
FROM regular_expressions re
WHERE re.name = 'ToNaTo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 3', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 3', 'edge2020', re.name
FROM regular_expressions re
WHERE re.name = 'edge2020';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 3', 'Grimm', re.name
FROM regular_expressions re
WHERE re.name = 'GRiMM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 3', 'OnlyWeb', re.name
FROM regular_expressions re
WHERE re.name = 'OnlyWeb';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 3', 'YELLO', re.name
FROM regular_expressions re
WHERE re.name = 'YELLO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 4', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 4', 'bluegreeen', re.name
FROM regular_expressions re
WHERE re.name = 'bluegreeen';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 4', 'bluespots', re.name
FROM regular_expressions re
WHERE re.name = 'bluespots';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 4', 'dkore', re.name
FROM regular_expressions re
WHERE re.name = 'dkore';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 4', 'noxxus', re.name
FROM regular_expressions re
WHERE re.name = 'noxxus';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 4', 'Ralphy', re.name
FROM regular_expressions re
WHERE re.name = 'Ralphy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 4', 'TimeDistortion', re.name
FROM regular_expressions re
WHERE re.name = 'TimeDistortion';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 4', 'Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 5', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 5', 'HODL', re.name
FROM regular_expressions re
WHERE re.name = 'HODL';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 5', 'iVy', re.name
FROM regular_expressions re
WHERE re.name = 'iVy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 5', 'KONTRAST', re.name
FROM regular_expressions re
WHERE re.name = 'KONTRAST';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 5', 'PHOCiS', re.name
FROM regular_expressions re
WHERE re.name = 'PHOCiS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Compact TV WEB Tier 5', 'YAWNiX', re.name
FROM regular_expressions re
WHERE re.name = 'YAWNiX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 1', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 1', 'NAN0', re.name
FROM regular_expressions re
WHERE re.name = 'NAN0';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 1', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 1', 'SQS', re.name
FROM regular_expressions re
WHERE re.name = 'SQS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 1', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 2', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 2', 'Not HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 2', 'DarQ', re.name
FROM regular_expressions re
WHERE re.name = 'DarQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 2', 'honeyvera', re.name
FROM regular_expressions re
WHERE re.name = 'Honeyvera';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 2', 'LSt', re.name
FROM regular_expressions re
WHERE re.name = 'LSt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 2', 'MNHD', re.name
FROM regular_expressions re
WHERE re.name = 'MNHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 2', 'SARTRE', re.name
FROM regular_expressions re
WHERE re.name = 'SARTRE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 2', 'Vialle', re.name
FROM regular_expressions re
WHERE re.name = 'Vialle';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 3', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 3', 'dkore', re.name
FROM regular_expressions re
WHERE re.name = 'dkore';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 3', 'GRiMM', re.name
FROM regular_expressions re
WHERE re.name = 'GRiMM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 3', 'TimeDistortion', re.name
FROM regular_expressions re
WHERE re.name = 'TimeDistortion';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 4', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 4', 'bluegreeen', re.name
FROM regular_expressions re
WHERE re.name = 'bluegreeen';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 4', 'Chivaman', re.name
FROM regular_expressions re
WHERE re.name = 'Chivaman';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 4', 'edge2020', re.name
FROM regular_expressions re
WHERE re.name = 'edge2020';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 4', 'noxxus', re.name
FROM regular_expressions re
WHERE re.name = 'noxxus';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 4', 'R1GY3B', re.name
FROM regular_expressions re
WHERE re.name = 'R1GY3B';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 4', 'Ralphy', re.name
FROM regular_expressions re
WHERE re.name = 'Ralphy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 4', 'ToNaTo', re.name
FROM regular_expressions re
WHERE re.name = 'ToNaTo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 4', 'Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie Bluray Tier 4', 'YELLO', re.name
FROM regular_expressions re
WHERE re.name = 'YELLO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 1', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 1', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 1', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 2', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 2', 'Not HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 2', 'DarQ', re.name
FROM regular_expressions re
WHERE re.name = 'DarQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 2', 'dkore', re.name
FROM regular_expressions re
WHERE re.name = 'dkore';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 2', 'LSt', re.name
FROM regular_expressions re
WHERE re.name = 'LSt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 2', 'SQS', re.name
FROM regular_expressions re
WHERE re.name = 'SQS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 2', 'TimeDistortion', re.name
FROM regular_expressions re
WHERE re.name = 'TimeDistortion';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 3', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 3', 'edge2020', re.name
FROM regular_expressions re
WHERE re.name = 'edge2020';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 3', 'R1GY3B', re.name
FROM regular_expressions re
WHERE re.name = 'R1GY3B';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 3', 'ToNaTo', re.name
FROM regular_expressions re
WHERE re.name = 'ToNaTo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 3', 'Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 4', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 4', 'noxxus', re.name
FROM regular_expressions re
WHERE re.name = 'noxxus';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 4', 'SARTRE', re.name
FROM regular_expressions re
WHERE re.name = 'SARTRE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 4', 'Ralphy', re.name
FROM regular_expressions re
WHERE re.name = 'Ralphy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient Movie WEB Tier 4', 'YELLO', re.name
FROM regular_expressions re
WHERE re.name = 'YELLO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 1', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 1', 'NAN0', re.name
FROM regular_expressions re
WHERE re.name = 'NAN0';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 1', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 1', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 1', 'Vialle', re.name
FROM regular_expressions re
WHERE re.name = 'Vialle';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 2', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 2', 'Not HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 2', 'DarQ', re.name
FROM regular_expressions re
WHERE re.name = 'DarQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 2', 'dkore', re.name
FROM regular_expressions re
WHERE re.name = 'dkore';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 2', 'GRiMM', re.name
FROM regular_expressions re
WHERE re.name = 'GRiMM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 2', 'MNHD', re.name
FROM regular_expressions re
WHERE re.name = 'MNHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 3', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 3', 'LSt', re.name
FROM regular_expressions re
WHERE re.name = 'LSt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 4', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 4', 'bluegreeen', re.name
FROM regular_expressions re
WHERE re.name = 'bluegreeen';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 4', 'cXcY', re.name
FROM regular_expressions re
WHERE re.name = 'cXcY';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 4', 'edge2020', re.name
FROM regular_expressions re
WHERE re.name = 'edge2020';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 4', 'R1GY3B', re.name
FROM regular_expressions re
WHERE re.name = 'R1GY3B';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 4', 'Ralphy', re.name
FROM regular_expressions re
WHERE re.name = 'Ralphy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 4', 'TimeDistortion', re.name
FROM regular_expressions re
WHERE re.name = 'TimeDistortion';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 4', 'ToNaTo', re.name
FROM regular_expressions re
WHERE re.name = 'ToNaTo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 4', 'YELLO', re.name
FROM regular_expressions re
WHERE re.name = 'YELLO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 5', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 5', 'Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 6', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 6', 'iVy', re.name
FROM regular_expressions re
WHERE re.name = 'iVy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 6', 'KONTRAST', re.name
FROM regular_expressions re
WHERE re.name = 'KONTRAST';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 6', 'PHOCiS', re.name
FROM regular_expressions re
WHERE re.name = 'PHOCiS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV Bluray Tier 6', 'YAWNiX', re.name
FROM regular_expressions re
WHERE re.name = 'YAWNiX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 1', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 1', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 1', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 1', 'Vialle', re.name
FROM regular_expressions re
WHERE re.name = 'Vialle';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 2', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 2', 'Not HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 2', 'ARCADE', re.name
FROM regular_expressions re
WHERE re.name = 'ARCADE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 2', 'DarQ', re.name
FROM regular_expressions re
WHERE re.name = 'DarQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 2', 'LSt', re.name
FROM regular_expressions re
WHERE re.name = 'LSt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 2', 'ToNaTo', re.name
FROM regular_expressions re
WHERE re.name = 'ToNaTo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 3', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 3', 'edge2020', re.name
FROM regular_expressions re
WHERE re.name = 'edge2020';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 3', 'Grimm', re.name
FROM regular_expressions re
WHERE re.name = 'GRiMM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 3', 'OnlyWeb', re.name
FROM regular_expressions re
WHERE re.name = 'OnlyWeb';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 3', 'YELLO', re.name
FROM regular_expressions re
WHERE re.name = 'YELLO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 4', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 4', 'bluegreeen', re.name
FROM regular_expressions re
WHERE re.name = 'bluegreeen';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 4', 'bluespots', re.name
FROM regular_expressions re
WHERE re.name = 'bluespots';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 4', 'dkore', re.name
FROM regular_expressions re
WHERE re.name = 'dkore';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 4', 'noxxus', re.name
FROM regular_expressions re
WHERE re.name = 'noxxus';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 4', 'Ralphy', re.name
FROM regular_expressions re
WHERE re.name = 'Ralphy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 4', 'TimeDistortion', re.name
FROM regular_expressions re
WHERE re.name = 'TimeDistortion';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 4', 'Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 5', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 5', 'HODL', re.name
FROM regular_expressions re
WHERE re.name = 'HODL';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 5', 'iVy', re.name
FROM regular_expressions re
WHERE re.name = 'iVy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 5', 'PHOCiS', re.name
FROM regular_expressions re
WHERE re.name = 'PHOCiS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 5', 'YAWNiX', re.name
FROM regular_expressions re
WHERE re.name = 'YAWNiX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Efficient TV WEB Tier 5', 'KONTRAST', re.name
FROM regular_expressions re
WHERE re.name = 'KONTRAST';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Golden Popcorn', 'Release Groups', re.name
FROM regular_expressions re
WHERE re.name = 'Golden Popcorn Negation';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p HDTV', 'Sourceless Groups', re.name
FROM regular_expressions re
WHERE re.name = 'Sourceless Groups';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p HDTV Tier 1', 'CtrlHD', re.name
FROM regular_expressions re
WHERE re.name = 'CtrlHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p HDTV Tier 1', 'EDPH', re.name
FROM regular_expressions re
WHERE re.name = 'EDPH';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p HDTV Tier 1', 'NTb', re.name
FROM regular_expressions re
WHERE re.name = 'NTb';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p HDTV Tier 2', 'BTN', re.name
FROM regular_expressions re
WHERE re.name = 'BTN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p HDTV Tier 2', 'DARKFLiX', re.name
FROM regular_expressions re
WHERE re.name = 'DARKFLiX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p HDTV Tier 2', 'ViETNAM', re.name
FROM regular_expressions re
WHERE re.name = 'ViETNAM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p HDTV Tier 2', 'CBFM', re.name
FROM regular_expressions re
WHERE re.name = 'CBFM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p HDTV Tier 2', 'PLUTONiUM', re.name
FROM regular_expressions re
WHERE re.name = 'PLUTONiUM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p HDTV Tier 3', 'HANDJOB', re.name
FROM regular_expressions re
WHERE re.name = 'HANDJOB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 1', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 1', 'coffee', re.name
FROM regular_expressions re
WHERE re.name = 'coffee';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 1', 'DON', re.name
FROM regular_expressions re
WHERE re.name = 'DON';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 1', 'TeamSyndicate', re.name
FROM regular_expressions re
WHERE re.name = 'TeamSyndicate';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 1', 'REBORN', re.name
FROM regular_expressions re
WHERE re.name = 'REBORN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 1', 'SA89', re.name
FROM regular_expressions re
WHERE re.name = 'SA89';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 1', 'SoLaR', re.name
FROM regular_expressions re
WHERE re.name = 'SoLaR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 1', 'ZoroSenpai', re.name
FROM regular_expressions re
WHERE re.name = 'ZoroSenpai';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'c0kE', re.name
FROM regular_expressions re
WHERE re.name = 'c0kE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'CtrlHD', re.name
FROM regular_expressions re
WHERE re.name = 'CtrlHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'D-Z0N3', re.name
FROM regular_expressions re
WHERE re.name = 'D-Z0N3';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'EbP', re.name
FROM regular_expressions re
WHERE re.name = 'EbP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'Geek', re.name
FROM regular_expressions re
WHERE re.name = 'Geek';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'HiFi', re.name
FROM regular_expressions re
WHERE re.name = 'HiFi';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'LoRD', re.name
FROM regular_expressions re
WHERE re.name = 'LoRD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'TayTo', re.name
FROM regular_expressions re
WHERE re.name = 'TayTo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'VietHD', re.name
FROM regular_expressions re
WHERE re.name = 'VietHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 2', 'ZQ', re.name
FROM regular_expressions re
WHERE re.name = 'ZQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 3', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 3', 'BV', re.name
FROM regular_expressions re
WHERE re.name = 'BV';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 3', 'CRiSC', re.name
FROM regular_expressions re
WHERE re.name = 'CRiSC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 3', 'decibeL', re.name
FROM regular_expressions re
WHERE re.name = 'decibeL';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 3', 'FoRM', re.name
FROM regular_expressions re
WHERE re.name = 'FoRM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 3', 'HiDt', re.name
FROM regular_expressions re
WHERE re.name = 'HiDt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 3', 'HiP', re.name
FROM regular_expressions re
WHERE re.name = 'HiP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 3', 'iFT', re.name
FROM regular_expressions re
WHERE re.name = 'iFT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 3', 'SbR', re.name
FROM regular_expressions re
WHERE re.name = 'SbR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 3', 'WMING', re.name
FROM regular_expressions re
WHERE re.name = 'WMING';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 4', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 4', 'BMF', re.name
FROM regular_expressions re
WHERE re.name = 'BMF';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 4', 'de[42]', re.name
FROM regular_expressions re
WHERE re.name = 'de[42]';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 4', 'HDMaNiAcS', re.name
FROM regular_expressions re
WHERE re.name = 'HDMaNiAcS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 4', 'IDE', re.name
FROM regular_expressions re
WHERE re.name = 'IDE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 4', 'LolHD', re.name
FROM regular_expressions re
WHERE re.name = 'LolHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 4', 'NCmt', re.name
FROM regular_expressions re
WHERE re.name = 'NCmt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 4', 'Skazhutin', re.name
FROM regular_expressions re
WHERE re.name = 'Skazhutin';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 4', 'NTb', re.name
FROM regular_expressions re
WHERE re.name = 'NTb';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'AJP69', re.name
FROM regular_expressions re
WHERE re.name = 'AJP69';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'ATELiER', re.name
FROM regular_expressions re
WHERE re.name = 'ATELiER';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'BSTD', re.name
FROM regular_expressions re
WHERE re.name = 'BSTD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'Chotab', re.name
FROM regular_expressions re
WHERE re.name = 'Chotab';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'CJ', re.name
FROM regular_expressions re
WHERE re.name = 'CJ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'CRX', re.name
FROM regular_expressions re
WHERE re.name = 'CRX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'Dariush', re.name
FROM regular_expressions re
WHERE re.name = 'Dariush';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'E1', re.name
FROM regular_expressions re
WHERE re.name = 'E1';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'EA', re.name
FROM regular_expressions re
WHERE re.name = 'EA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'E.N.D', re.name
FROM regular_expressions re
WHERE re.name = 'E.N.D';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'EDPH', re.name
FROM regular_expressions re
WHERE re.name = 'EDPH';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'ESiR', re.name
FROM regular_expressions re
WHERE re.name = 'ESiR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'EXCiSION', re.name
FROM regular_expressions re
WHERE re.name = 'EXCiSION';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'FraMeSToR', re.name
FROM regular_expressions re
WHERE re.name = 'FraMeSToR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'GALAXY', re.name
FROM regular_expressions re
WHERE re.name = 'GALAXY';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'GS88', re.name
FROM regular_expressions re
WHERE re.name = 'GS88';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'hdalx', re.name
FROM regular_expressions re
WHERE re.name = 'hdalx';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'HQMUX', re.name
FROM regular_expressions re
WHERE re.name = 'HQMUX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'KASHMiR', re.name
FROM regular_expressions re
WHERE re.name = 'KASHMiR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'Kitsune', re.name
FROM regular_expressions re
WHERE re.name = 'Kitsune';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'LiNG', re.name
FROM regular_expressions re
WHERE re.name = 'LiNG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'luvBB', re.name
FROM regular_expressions re
WHERE re.name = 'luvBB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'NiBuRu', re.name
FROM regular_expressions re
WHERE re.name = 'NiBuRu';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'nmd', re.name
FROM regular_expressions re
WHERE re.name = 'nmd';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'NyHD', re.name
FROM regular_expressions re
WHERE re.name = 'NyHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'ORiGEN', re.name
FROM regular_expressions re
WHERE re.name = 'ORiGEN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'Penumbra', re.name
FROM regular_expressions re
WHERE re.name = 'Penumbra';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'playHD', re.name
FROM regular_expressions re
WHERE re.name = 'playHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'Positive', re.name
FROM regular_expressions re
WHERE re.name = 'Positive';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'PTer', re.name
FROM regular_expressions re
WHERE re.name = 'PTer';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'RiCO', re.name
FROM regular_expressions re
WHERE re.name = 'RiCO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'rightSIZE', re.name
FROM regular_expressions re
WHERE re.name = 'rightSIZE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'RO', re.name
FROM regular_expressions re
WHERE re.name = 'RO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'rttr', re.name
FROM regular_expressions re
WHERE re.name = 'rttr';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'SaNcTi', re.name
FROM regular_expressions re
WHERE re.name = 'SaNcTi';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'SiMPLE', re.name
FROM regular_expressions re
WHERE re.name = 'SiMPLE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'SOP', re.name
FROM regular_expressions re
WHERE re.name = 'SOP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'SPHD', re.name
FROM regular_expressions re
WHERE re.name = 'SPHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'TBB', re.name
FROM regular_expressions re
WHERE re.name = 'TBB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'TDD', re.name
FROM regular_expressions re
WHERE re.name = 'TDD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'TnP', re.name
FROM regular_expressions re
WHERE re.name = 'TnP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'VLAD', re.name
FROM regular_expressions re
WHERE re.name = 'VLAD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'W4NK3R', re.name
FROM regular_expressions re
WHERE re.name = 'W4NK3R';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'WiLF', re.name
FROM regular_expressions re
WHERE re.name = 'WiLF';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'xander', re.name
FROM regular_expressions re
WHERE re.name = 'xander';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 5', 'ZIMBO', re.name
FROM regular_expressions re
WHERE re.name = 'ZIMBO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'ASD87', re.name
FROM regular_expressions re
WHERE re.name = 'ASD87';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'BRUTE', re.name
FROM regular_expressions re
WHERE re.name = 'BRUTE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'CHD', re.name
FROM regular_expressions re
WHERE re.name = 'CHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'EuReKA', re.name
FROM regular_expressions re
WHERE re.name = 'EuReKA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'GALVANiZE', re.name
FROM regular_expressions re
WHERE re.name = 'GALVANiZE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'HaB', re.name
FROM regular_expressions re
WHERE re.name = 'HaB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'HANDJOB', re.name
FROM regular_expressions re
WHERE re.name = 'HANDJOB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'HDC', re.name
FROM regular_expressions re
WHERE re.name = 'HDC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'iON', re.name
FROM regular_expressions re
WHERE re.name = 'iON';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'Ivandro', re.name
FROM regular_expressions re
WHERE re.name = 'Ivandro';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'j3rico', re.name
FROM regular_expressions re
WHERE re.name = 'j3rico';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'KnG', re.name
FROM regular_expressions re
WHERE re.name = 'KnG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'LEGi0N', re.name
FROM regular_expressions re
WHERE re.name = 'LEGi0N';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'Lulz', re.name
FROM regular_expressions re
WHERE re.name = 'Lulz';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'MaG', re.name
FROM regular_expressions re
WHERE re.name = 'MaG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'MTeam', re.name
FROM regular_expressions re
WHERE re.name = 'MTeam';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'NiP', re.name
FROM regular_expressions re
WHERE re.name = 'NiP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'P0W4HD', re.name
FROM regular_expressions re
WHERE re.name = 'P0W4HD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'PTP', re.name
FROM regular_expressions re
WHERE re.name = 'PTP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'PuTao', re.name
FROM regular_expressions re
WHERE re.name = 'PuTao';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'ROCiNANTE', re.name
FROM regular_expressions re
WHERE re.name = 'ROCiNANTE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'Slappy', re.name
FROM regular_expressions re
WHERE re.name = 'Slappy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'ThD', re.name
FROM regular_expressions re
WHERE re.name = 'ThD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'WiKi', re.name
FROM regular_expressions re
WHERE re.name = 'WiKi';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Quality Tier 6', 'WiLDCAT', re.name
FROM regular_expressions re
WHERE re.name = 'WiLDCAT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p Remux', 'Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL (h264)', 'h264', re.name
FROM regular_expressions re
WHERE re.name = 'AVC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'h265', re.name
FROM regular_expressions re
WHERE re.name = 'HEVC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'Not Weasley', re.name
FROM regular_expressions re
WHERE re.name = 'Weasley';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'BYNDR', re.name
FROM regular_expressions re
WHERE re.name = 'BYNDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'CMRG', re.name
FROM regular_expressions re
WHERE re.name = 'CMRG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'FLUX', re.name
FROM regular_expressions re
WHERE re.name = 'FLUX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'HHWEB', re.name
FROM regular_expressions re
WHERE re.name = 'HHWEB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'Kitsune', re.name
FROM regular_expressions re
WHERE re.name = 'Kitsune';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'NTb', re.name
FROM regular_expressions re
WHERE re.name = 'NTb';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'MZABI', re.name
FROM regular_expressions re
WHERE re.name = 'MZABI';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'playWEB', re.name
FROM regular_expressions re
WHERE re.name = 'playWEB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'SMURF', re.name
FROM regular_expressions re
WHERE re.name = 'SMURF';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '1080p WEB-DL HEVC Tier 1', 'TEPES', re.name
FROM regular_expressions re
WHERE re.name = 'TEPES';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Balanced Tier 1', 'HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Balanced Tier 2', 'dkore', re.name
FROM regular_expressions re
WHERE re.name = 'dkore';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Balanced Tier 3', 'BHDStudio', re.name
FROM regular_expressions re
WHERE re.name = 'BHDStudio';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Balanced Tier 3', 'hallowed', re.name
FROM regular_expressions re
WHERE re.name = 'hallowed';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Bluray', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Efficient TV Bluray Tier 1', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Efficient TV Bluray Tier 1', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Efficient TV Bluray Tier 1', 'Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Efficient TV WEB Tier 1', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Efficient TV WEB Tier 1', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Efficient TV WEB Tier 1', 'Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 1', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 1', 'DON', re.name
FROM regular_expressions re
WHERE re.name = 'DON';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 1', 'SA89', re.name
FROM regular_expressions re
WHERE re.name = 'SA89';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 1', 'REBORN', re.name
FROM regular_expressions re
WHERE re.name = 'REBORN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 1', 'SoLaR', re.name
FROM regular_expressions re
WHERE re.name = 'SoLaR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 2', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 2', 'CtrlHD', re.name
FROM regular_expressions re
WHERE re.name = 'CtrlHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 2', 'MainFrame', re.name
FROM regular_expressions re
WHERE re.name = 'MainFrame';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 2', 'W4NK3R', re.name
FROM regular_expressions re
WHERE re.name = 'W4NK3R';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 3', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 3', 'BV', re.name
FROM regular_expressions re
WHERE re.name = 'BV';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 3', 'c0kE', re.name
FROM regular_expressions re
WHERE re.name = 'c0kE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 3', 'Chotab', re.name
FROM regular_expressions re
WHERE re.name = 'Chotab';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 3', 'D-Z0N3', re.name
FROM regular_expressions re
WHERE re.name = 'D-Z0N3';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 3', 'HQMUX', re.name
FROM regular_expressions re
WHERE re.name = 'HQMUX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 3', 'PTer', re.name
FROM regular_expressions re
WHERE re.name = 'PTer';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 3', 'TnP', re.name
FROM regular_expressions re
WHERE re.name = 'TnP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'BlzT', re.name
FROM regular_expressions re
WHERE re.name = 'BlzT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'BSTD', re.name
FROM regular_expressions re
WHERE re.name = 'BSTD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'EDPH', re.name
FROM regular_expressions re
WHERE re.name = 'EDPH';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'ESiR', re.name
FROM regular_expressions re
WHERE re.name = 'ESiR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'HiDt', re.name
FROM regular_expressions re
WHERE re.name = 'HiDt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'iFT', re.name
FROM regular_expressions re
WHERE re.name = 'iFT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'Kitsune', re.name
FROM regular_expressions re
WHERE re.name = 'Kitsune';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'NCmt', re.name
FROM regular_expressions re
WHERE re.name = 'NCmt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'NTb', re.name
FROM regular_expressions re
WHERE re.name = 'NTb';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'SPHD', re.name
FROM regular_expressions re
WHERE re.name = 'SPHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 4', 'TDD', re.name
FROM regular_expressions re
WHERE re.name = 'TDD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', '4KDVS', re.name
FROM regular_expressions re
WHERE re.name = '4KDVS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', 'b0mbardiers', re.name
FROM regular_expressions re
WHERE re.name = 'b0mbardiers';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', 'DEFLATE', re.name
FROM regular_expressions re
WHERE re.name = 'DEFLATE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', 'DEPTH', re.name
FROM regular_expressions re
WHERE re.name = 'DEPTH';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', 'j3rico', re.name
FROM regular_expressions re
WHERE re.name = 'j3rico';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', 'JustWatch', re.name
FROM regular_expressions re
WHERE re.name = 'JustWatch';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', 'ORBiT', re.name
FROM regular_expressions re
WHERE re.name = 'ORBiT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', 'SURCODE', re.name
FROM regular_expressions re
WHERE re.name = 'SURCODE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', 'WATCHABLE', re.name
FROM regular_expressions re
WHERE re.name = 'WATCHABLE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 5', 'WiKi', re.name
FROM regular_expressions re
WHERE re.name = 'WiKi';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'ADE', re.name
FROM regular_expressions re
WHERE re.name = 'ADE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'AViATOR', re.name
FROM regular_expressions re
WHERE re.name = 'AViATOR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'beAst', re.name
FROM regular_expressions re
WHERE re.name = 'beAst';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'BeiTai', re.name
FROM regular_expressions re
WHERE re.name = 'BeiTai';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'CHD', re.name
FROM regular_expressions re
WHERE re.name = 'CHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'CMCT', re.name
FROM regular_expressions re
WHERE re.name = 'CMCT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'EMERALD', re.name
FROM regular_expressions re
WHERE re.name = 'EMERALD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'FLAME', re.name
FROM regular_expressions re
WHERE re.name = 'FLAME';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'GUHZER', re.name
FROM regular_expressions re
WHERE re.name = 'GUHZER';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'HDChina', re.name
FROM regular_expressions re
WHERE re.name = 'HDChina';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'HDmux', re.name
FROM regular_expressions re
WHERE re.name = 'HDmux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'HypStu', re.name
FROM regular_expressions re
WHERE re.name = 'HypStu';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'IAMABLE', re.name
FROM regular_expressions re
WHERE re.name = 'IAMABLE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'KAN3D2M', re.name
FROM regular_expressions re
WHERE re.name = 'KAN3D2M';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'LAZARUS', re.name
FROM regular_expressions re
WHERE re.name = 'LAZARUS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'MiMiC', re.name
FROM regular_expressions re
WHERE re.name = 'MiMiC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'PussyFoot', re.name
FROM regular_expressions re
WHERE re.name = 'PussyFoot';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'ReaLHD', re.name
FROM regular_expressions re
WHERE re.name = 'ReaLHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'ReQuEsT', re.name
FROM regular_expressions re
WHERE re.name = 'ReQuEsT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'STRiKES', re.name
FROM regular_expressions re
WHERE re.name = 'STRiKES';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'SWTYBLZ', re.name
FROM regular_expressions re
WHERE re.name = 'SWTYBLZ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'TERMiNAL', re.name
FROM regular_expressions re
WHERE re.name = 'TERMiNAL';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'ULTRAHDCLUB', re.name
FROM regular_expressions re
WHERE re.name = 'ULTRAHDCLUB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Quality Tier 6', 'Whiterhino', re.name
FROM regular_expressions re
WHERE re.name = 'WhiteRhino';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p Remux', 'Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p WEB-DL (Efficient)', 'Not QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p WEB-DL (Efficient)', 'Not QxR Title', re.name
FROM regular_expressions re
WHERE re.name = 'QxR (Title)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p WEB-DL (Efficient)', 'Not TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p WEB-DL (Efficient)', 'Not TAoE Title', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE (Title)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '2160p WEB-DL (Efficient)', 'Not Vyndros', re.name
FROM regular_expressions re
WHERE re.name = 'Vyndros';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '3D', '3D', re.name
FROM regular_expressions re
WHERE re.name = '3D';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 1', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 1', 'SoLaR', re.name
FROM regular_expressions re
WHERE re.name = 'SoLaR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 1', 'ZoroSenpai', re.name
FROM regular_expressions re
WHERE re.name = 'ZoroSenpai';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 2', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 2', 'c0kE', re.name
FROM regular_expressions re
WHERE re.name = 'c0kE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 2', 'Dariush', re.name
FROM regular_expressions re
WHERE re.name = 'Dariush';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 2', 'HaB', re.name
FROM regular_expressions re
WHERE re.name = 'HaB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 2', 'TBB', re.name
FROM regular_expressions re
WHERE re.name = 'TBB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 3', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 3', 'EDPH', re.name
FROM regular_expressions re
WHERE re.name = 'EDPH';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 3', 'GS88', re.name
FROM regular_expressions re
WHERE re.name = 'GS88';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 3', 'KnG', re.name
FROM regular_expressions re
WHERE re.name = 'KnG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 3', 'playSD', re.name
FROM regular_expressions re
WHERE re.name = 'playSD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 3', 'PTer', re.name
FROM regular_expressions re
WHERE re.name = 'PTer';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 3', 'rttr', re.name
FROM regular_expressions re
WHERE re.name = 'rttr';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 4', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 4', 'HANDJOB', re.name
FROM regular_expressions re
WHERE re.name = 'HANDJOB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '480p Quality Tier 4', 'PTP', re.name
FROM regular_expressions re
WHERE re.name = 'PTP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 1', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 1', 'SoLaR', re.name
FROM regular_expressions re
WHERE re.name = 'SoLaR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 1', 'ZoroSenpai', re.name
FROM regular_expressions re
WHERE re.name = 'ZoroSenpai';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 2', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 2', 'BV', re.name
FROM regular_expressions re
WHERE re.name = 'BV';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 2', 'c0kE', re.name
FROM regular_expressions re
WHERE re.name = 'c0kE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 2', 'Dariush', re.name
FROM regular_expressions re
WHERE re.name = 'Dariush';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 2', 'HaB', re.name
FROM regular_expressions re
WHERE re.name = 'HaB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 2', 'TBB', re.name
FROM regular_expressions re
WHERE re.name = 'TBB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 2', 'ZQ', re.name
FROM regular_expressions re
WHERE re.name = 'ZQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 3', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 3', 'EDPH', re.name
FROM regular_expressions re
WHERE re.name = 'EDPH';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 3', 'GS88', re.name
FROM regular_expressions re
WHERE re.name = 'GS88';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 3', 'KnG', re.name
FROM regular_expressions re
WHERE re.name = 'KnG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 3', 'PTer', re.name
FROM regular_expressions re
WHERE re.name = 'PTer';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 3', 'rttr', re.name
FROM regular_expressions re
WHERE re.name = 'rttr';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 3', 'ZIMBO', re.name
FROM regular_expressions re
WHERE re.name = 'ZIMBO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 4', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 4', 'HANDJOB', re.name
FROM regular_expressions re
WHERE re.name = 'HANDJOB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '576p Quality Tier 4', 'PTP', re.name
FROM regular_expressions re
WHERE re.name = 'PTP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Balanced Tier 1', 'BHDStudio', re.name
FROM regular_expressions re
WHERE re.name = 'BHDStudio';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Balanced Tier 1', 'hallowed', re.name
FROM regular_expressions re
WHERE re.name = 'hallowed';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Bluray', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Golden Popcorn', 'Release Groups', re.name
FROM regular_expressions re
WHERE re.name = 'Golden Popcorn Negation';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV', 'Sourceless Groups', re.name
FROM regular_expressions re
WHERE re.name = 'Sourceless Groups';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 1', 'BMF', re.name
FROM regular_expressions re
WHERE re.name = 'BMF';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 1', 'CtrlHD', re.name
FROM regular_expressions re
WHERE re.name = 'CtrlHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 1', 'DON', re.name
FROM regular_expressions re
WHERE re.name = 'DON';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 1', 'EbP', re.name
FROM regular_expressions re
WHERE re.name = 'EbP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 1', 'EDPH', re.name
FROM regular_expressions re
WHERE re.name = 'EDPH';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 1', 'NTb', re.name
FROM regular_expressions re
WHERE re.name = 'NTb';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 2', 'BTN', re.name
FROM regular_expressions re
WHERE re.name = 'BTN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 2', 'DARKFLiX', re.name
FROM regular_expressions re
WHERE re.name = 'DARKFLiX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 2', 'ViETNAM', re.name
FROM regular_expressions re
WHERE re.name = 'ViETNAM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 2', 'CBFM', re.name
FROM regular_expressions re
WHERE re.name = 'CBFM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 2', 'PLUTONiUM', re.name
FROM regular_expressions re
WHERE re.name = 'PLUTONiUM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p HDTV Tier 3', 'HANDJOB', re.name
FROM regular_expressions re
WHERE re.name = 'HANDJOB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 1', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 1', 'DON', re.name
FROM regular_expressions re
WHERE re.name = 'DON';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 1', 'REBORN', re.name
FROM regular_expressions re
WHERE re.name = 'REBORN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 1', 'SoLaR', re.name
FROM regular_expressions re
WHERE re.name = 'SoLaR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 1', 'TeamSyndicate', re.name
FROM regular_expressions re
WHERE re.name = 'TeamSyndicate';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 1', 'ZoroSenpai', re.name
FROM regular_expressions re
WHERE re.name = 'ZoroSenpai';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'c0kE', re.name
FROM regular_expressions re
WHERE re.name = 'c0kE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'CRiSC', re.name
FROM regular_expressions re
WHERE re.name = 'CRiSC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'CtrlHD', re.name
FROM regular_expressions re
WHERE re.name = 'CtrlHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'EbP', re.name
FROM regular_expressions re
WHERE re.name = 'EbP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'HiDt', re.name
FROM regular_expressions re
WHERE re.name = 'HiDt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'HiFi', re.name
FROM regular_expressions re
WHERE re.name = 'HiFi';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'IDE', re.name
FROM regular_expressions re
WHERE re.name = 'IDE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'SbR', re.name
FROM regular_expressions re
WHERE re.name = 'SbR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'TayTo', re.name
FROM regular_expressions re
WHERE re.name = 'TayTo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'VietHD', re.name
FROM regular_expressions re
WHERE re.name = 'VietHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 2', 'ZQ', re.name
FROM regular_expressions re
WHERE re.name = 'ZQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 3', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 3', 'BMF', re.name
FROM regular_expressions re
WHERE re.name = 'BMF';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 3', 'Geek', re.name
FROM regular_expressions re
WHERE re.name = 'Geek';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 3', 'LolHD', re.name
FROM regular_expressions re
WHERE re.name = 'LolHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 3', 'NCmt', re.name
FROM regular_expressions re
WHERE re.name = 'NCmt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 3', 'Positive', re.name
FROM regular_expressions re
WHERE re.name = 'Positive';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 3', 'rightSIZE', re.name
FROM regular_expressions re
WHERE re.name = 'rightSIZE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 3', 'TBB', re.name
FROM regular_expressions re
WHERE re.name = 'TBB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'Dariush', re.name
FROM regular_expressions re
WHERE re.name = 'Dariush';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'decibeL', re.name
FROM regular_expressions re
WHERE re.name = 'decibeL';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'D-ZON3', re.name
FROM regular_expressions re
WHERE re.name = 'D-Z0N3';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'EA', re.name
FROM regular_expressions re
WHERE re.name = 'EA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'FoRM', re.name
FROM regular_expressions re
WHERE re.name = 'FoRM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'NTb', re.name
FROM regular_expressions re
WHERE re.name = 'NTb';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'PTer', re.name
FROM regular_expressions re
WHERE re.name = 'PTer';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'Skazhutin', re.name
FROM regular_expressions re
WHERE re.name = 'Skazhutin';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'TDD', re.name
FROM regular_expressions re
WHERE re.name = 'TDD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 4', 'ThD', re.name
FROM regular_expressions re
WHERE re.name = 'ThD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'ATELiER', re.name
FROM regular_expressions re
WHERE re.name = 'ATELiER';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'BV', re.name
FROM regular_expressions re
WHERE re.name = 'BV';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'Chotab', re.name
FROM regular_expressions re
WHERE re.name = 'Chotab';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'de[42]', re.name
FROM regular_expressions re
WHERE re.name = 'de[42]';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'EA', re.name
FROM regular_expressions re
WHERE re.name = 'EA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'EDPH', re.name
FROM regular_expressions re
WHERE re.name = 'EDPH';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'E.N.D', re.name
FROM regular_expressions re
WHERE re.name = 'E.N.D';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'ESiR', re.name
FROM regular_expressions re
WHERE re.name = 'ESiR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'FraMeSToR', re.name
FROM regular_expressions re
WHERE re.name = 'FraMeSToR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'GS88', re.name
FROM regular_expressions re
WHERE re.name = 'GS88';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'HDMaNiAcS', re.name
FROM regular_expressions re
WHERE re.name = 'HDMaNiAcS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'HiP', re.name
FROM regular_expressions re
WHERE re.name = 'HiP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'iFT', re.name
FROM regular_expressions re
WHERE re.name = 'iFT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'KASHMiR', re.name
FROM regular_expressions re
WHERE re.name = 'KASHMiR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'LiNG', re.name
FROM regular_expressions re
WHERE re.name = 'LiNG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'LoRD', re.name
FROM regular_expressions re
WHERE re.name = 'LoRD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'nmd', re.name
FROM regular_expressions re
WHERE re.name = 'nmd';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'NyHD', re.name
FROM regular_expressions re
WHERE re.name = 'NyHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'ORiGEN', re.name
FROM regular_expressions re
WHERE re.name = 'ORiGEN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'playHD', re.name
FROM regular_expressions re
WHERE re.name = 'playHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'RiCO', re.name
FROM regular_expressions re
WHERE re.name = 'RiCO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'RO', re.name
FROM regular_expressions re
WHERE re.name = 'RO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'rttr', re.name
FROM regular_expressions re
WHERE re.name = 'rttr';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'SaNcTi', re.name
FROM regular_expressions re
WHERE re.name = 'SaNcTi';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'SPHD', re.name
FROM regular_expressions re
WHERE re.name = 'SPHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'TnP', re.name
FROM regular_expressions re
WHERE re.name = 'TnP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'W4NK3R', re.name
FROM regular_expressions re
WHERE re.name = 'W4NK3R';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'WiLF', re.name
FROM regular_expressions re
WHERE re.name = 'WiLF';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'WMING', re.name
FROM regular_expressions re
WHERE re.name = 'WMING';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 5', 'ZIMBO', re.name
FROM regular_expressions re
WHERE re.name = 'ZIMBO';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'EuReKA', re.name
FROM regular_expressions re
WHERE re.name = 'EuReKA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'HANDJOB', re.name
FROM regular_expressions re
WHERE re.name = 'HANDJOB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'Ivandro', re.name
FROM regular_expressions re
WHERE re.name = 'Ivandro';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'KnG', re.name
FROM regular_expressions re
WHERE re.name = 'KnG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'LEGi0N', re.name
FROM regular_expressions re
WHERE re.name = 'LEGi0N';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'Lulz', re.name
FROM regular_expressions re
WHERE re.name = 'Lulz';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'MaG', re.name
FROM regular_expressions re
WHERE re.name = 'MaG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'MTeam', re.name
FROM regular_expressions re
WHERE re.name = 'MTeam';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'NiP', re.name
FROM regular_expressions re
WHERE re.name = 'NiP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'PTP', re.name
FROM regular_expressions re
WHERE re.name = 'PTP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'PuTao', re.name
FROM regular_expressions re
WHERE re.name = 'PuTao';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'Slappy', re.name
FROM regular_expressions re
WHERE re.name = 'Slappy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT '720p Quality Tier 6', 'WiKi', re.name
FROM regular_expressions re
WHERE re.name = 'WiKi';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'AAC', 'AAC', re.name
FROM regular_expressions re
WHERE re.name = 'AAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'AAC', 'Not Dolby Digital', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'AAC', 'Not Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'AAC', 'Not DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'AAC', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'AAC', 'Not PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'AAC', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Amazon Enhancement', 'AMZN', re.name
FROM regular_expressions re
WHERE re.name = 'Amazon Prime';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'AMZN', 'AMZN Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Amazon Prime';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 1', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 1', 'LYS1TH3A', re.name
FROM regular_expressions re
WHERE re.name = 'LYS1TH3A';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 1', 'MTBB', re.name
FROM regular_expressions re
WHERE re.name = 'MTBB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 1', 'OZR', re.name
FROM regular_expressions re
WHERE re.name = 'OZR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 1', 'sam', re.name
FROM regular_expressions re
WHERE re.name = 'sam';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 1', 'SCY', re.name
FROM regular_expressions re
WHERE re.name = 'SCY';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 1', 'smol', re.name
FROM regular_expressions re
WHERE re.name = 'smol';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 1', 'Vodes', re.name
FROM regular_expressions re
WHERE re.name = 'Vodes';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 2', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 2', 'Arid', re.name
FROM regular_expressions re
WHERE re.name = 'Arid';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 2', 'Drag', re.name
FROM regular_expressions re
WHERE re.name = 'Drag';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 2', 'hydes', re.name
FROM regular_expressions re
WHERE re.name = 'hydes';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 2', 'Lulu', re.name
FROM regular_expressions re
WHERE re.name = 'Lulu';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 2', 'Okay-Subs', re.name
FROM regular_expressions re
WHERE re.name = 'Okay-Subs';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 2', 'pog42', re.name
FROM regular_expressions re
WHERE re.name = 'pog42';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 2', 'UDF', re.name
FROM regular_expressions re
WHERE re.name = 'UDF';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 2', 'YURI', re.name
FROM regular_expressions re
WHERE re.name = 'YURI';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 2', 'ZR', re.name
FROM regular_expressions re
WHERE re.name = 'ZR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'CBT', re.name
FROM regular_expressions re
WHERE re.name = 'CBT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'CTR', re.name
FROM regular_expressions re
WHERE re.name = 'CTR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Dekinai', re.name
FROM regular_expressions re
WHERE re.name = 'Dekinai';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'EXP', re.name
FROM regular_expressions re
WHERE re.name = 'EXP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Flugel', re.name
FROM regular_expressions re
WHERE re.name = 'Flugel';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Headpatter', re.name
FROM regular_expressions re
WHERE re.name = 'Headpatter';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Holomux', re.name
FROM regular_expressions re
WHERE re.name = 'Holomux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'IK', re.name
FROM regular_expressions re
WHERE re.name = 'IK';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Kametsu', re.name
FROM regular_expressions re
WHERE re.name = 'Kametsu';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'KH', re.name
FROM regular_expressions re
WHERE re.name = 'KH';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'kuchikirukia', re.name
FROM regular_expressions re
WHERE re.name = 'kuchikirukia';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Mysteria', re.name
FROM regular_expressions re
WHERE re.name = 'Mysteria';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Netaro', re.name
FROM regular_expressions re
WHERE re.name = 'Netaro';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Pookie', re.name
FROM regular_expressions re
WHERE re.name = 'Pookie';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Quetzal', re.name
FROM regular_expressions re
WHERE re.name = 'Quetzal';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Rasetsu', re.name
FROM regular_expressions re
WHERE re.name = 'Rasetsu';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'Senjou', re.name
FROM regular_expressions re
WHERE re.name = 'Senjou';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 3', 'WBDP', re.name
FROM regular_expressions re
WHERE re.name = 'WBDP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', '9volt', re.name
FROM regular_expressions re
WHERE re.name = '9volt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'AOmundson', re.name
FROM regular_expressions re
WHERE re.name = 'AOmundson';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Asakura', re.name
FROM regular_expressions re
WHERE re.name = 'Asakura';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Cait-Sidhe', re.name
FROM regular_expressions re
WHERE re.name = 'Cait-Sidhe';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Chihiro', re.name
FROM regular_expressions re
WHERE re.name = 'Chihiro';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'CoalGirls', re.name
FROM regular_expressions re
WHERE re.name = 'CoalGirls';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Commie', re.name
FROM regular_expressions re
WHERE re.name = 'Commie';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'deanzel', re.name
FROM regular_expressions re
WHERE re.name = 'deanzel';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Doki', re.name
FROM regular_expressions re
WHERE re.name = 'Doki';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'hchcsen', re.name
FROM regular_expressions re
WHERE re.name = 'hchcsen';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Iznjie Biznjie', re.name
FROM regular_expressions re
WHERE re.name = 'Iznjie Biznjie';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Kaleido', re.name
FROM regular_expressions re
WHERE re.name = 'Kaleido';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'kBaraka', re.name
FROM regular_expressions re
WHERE re.name = 'kBaraka';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'kmplx', re.name
FROM regular_expressions re
WHERE re.name = 'kmplx';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Koten_Gars', re.name
FROM regular_expressions re
WHERE re.name = 'Koten_Gars';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'mottoj', re.name
FROM regular_expressions re
WHERE re.name = 'mottoj';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Orphan', re.name
FROM regular_expressions re
WHERE re.name = 'Orphan';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'SallySubs', re.name
FROM regular_expressions re
WHERE re.name = 'SallySubs';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'THORA', re.name
FROM regular_expressions re
WHERE re.name = 'THORA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 4', 'Tsundere', re.name
FROM regular_expressions re
WHERE re.name = 'Tsundere';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 5', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 5', 'Almighty', re.name
FROM regular_expressions re
WHERE re.name = 'Almighty';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 5', 'ANE', re.name
FROM regular_expressions re
WHERE re.name = 'ANE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 5', 'BlurayDesuYo', re.name
FROM regular_expressions re
WHERE re.name = 'BlurayDesuYo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 5', 'FFF', re.name
FROM regular_expressions re
WHERE re.name = 'FFF';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 5', 'Final8', re.name
FROM regular_expressions re
WHERE re.name = 'Final8';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 5', 'Raizel', re.name
FROM regular_expressions re
WHERE re.name = 'Raizel';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 5', 'Saizen', re.name
FROM regular_expressions re
WHERE re.name = 'Saizen';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime Bluray Tier 5', 'Zurako', re.name
FROM regular_expressions re
WHERE re.name = 'Zurako';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime WEB-DL Tier 1', 'Subsplease', re.name
FROM regular_expressions re
WHERE re.name = 'SubsPlease';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime WEB-DL Tier 2', 'Erai-Raws', re.name
FROM regular_expressions re
WHERE re.name = 'Erai-Raws';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime WEB-DL Tier 2', 'HorribleSubs', re.name
FROM regular_expressions re
WHERE re.name = 'HorribleSubs';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime WEB-DL Tier 2', 'Subsplus+', re.name
FROM regular_expressions re
WHERE re.name = 'SubsPlus+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Anime WEB-DL Tier 2', 'VARYG', re.name
FROM regular_expressions re
WHERE re.name = 'VARYG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'ASL', 'ASL', re.name
FROM regular_expressions re
WHERE re.name = 'ASL';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Atmos', 'Atmos', re.name
FROM regular_expressions re
WHERE re.name = 'Atmos';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Atmos', 'Atmos (BTN Standard)', re.name
FROM regular_expressions re
WHERE re.name = 'BTN Atmos';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Atmos (Missing)', 'TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Atmos (Missing)', '7.1 Surround', re.name
FROM regular_expressions re
WHERE re.name = '7.1 Surround';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Atmos (Missing)', 'Not Atmos', re.name
FROM regular_expressions re
WHERE re.name = 'Atmos';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Atmos (Missing)', 'Not Atmos (BTN)', re.name
FROM regular_expressions re
WHERE re.name = 'BTN Atmos';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'ATVP', 'ATVP Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Apple TV+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'AV1', 'AV1', re.name
FROM regular_expressions re
WHERE re.name = 'AV1';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'B&W', 'B&W', re.name
FROM regular_expressions re
WHERE re.name = 'B&W';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'B&W', 'Not Colour', re.name
FROM regular_expressions re
WHERE re.name = 'Colourisation';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'Release Group (Missing)', re.name
FROM regular_expressions re
WHERE re.name = 'Release Group (Missing)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', '4K4U', re.name
FROM regular_expressions re
WHERE re.name = '4K4U';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'AOC', re.name
FROM regular_expressions re
WHERE re.name = 'AOC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'AROMA', re.name
FROM regular_expressions re
WHERE re.name = 'AROMA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'BeyondHD', re.name
FROM regular_expressions re
WHERE re.name = 'BeyondHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'BiTOR', re.name
FROM regular_expressions re
WHERE re.name = 'BiTOR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'BLASPHEMY', re.name
FROM regular_expressions re
WHERE re.name = 'BLASPHEMY';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'BOLS', re.name
FROM regular_expressions re
WHERE re.name = 'BOLS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'BTM', re.name
FROM regular_expressions re
WHERE re.name = 'BTM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'CLASSiCALHD', re.name
FROM regular_expressions re
WHERE re.name = 'CLASSiCALHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'CREATiVE24', re.name
FROM regular_expressions re
WHERE re.name = 'CREATiVE24';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'd3g', re.name
FROM regular_expressions re
WHERE re.name = 'd3g';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'DepraveD', re.name
FROM regular_expressions re
WHERE re.name = 'DepraveD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'DeViSiVE', re.name
FROM regular_expressions re
WHERE re.name = 'DeViSiVE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'DRX', re.name
FROM regular_expressions re
WHERE re.name = 'DRX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'E', re.name
FROM regular_expressions re
WHERE re.name = 'E';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'FGT', re.name
FROM regular_expressions re
WHERE re.name = 'FGT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'Flights', re.name
FROM regular_expressions re
WHERE re.name = 'Flights';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'HDS', re.name
FROM regular_expressions re
WHERE re.name = 'HDS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'iVy', re.name
FROM regular_expressions re
WHERE re.name = 'iVy';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'jennaortegaUHD', re.name
FROM regular_expressions re
WHERE re.name = 'jennaortegaUHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'KC', re.name
FROM regular_expressions re
WHERE re.name = 'KC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'LAMA', re.name
FROM regular_expressions re
WHERE re.name = 'LAMA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'MeGusta', re.name
FROM regular_expressions re
WHERE re.name = 'MeGusta';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'MgB', re.name
FROM regular_expressions re
WHERE re.name = 'MgB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'NAHOM', re.name
FROM regular_expressions re
WHERE re.name = 'NAHOM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'NhaNc3', re.name
FROM regular_expressions re
WHERE re.name = 'NhaNc3';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'NoGroup', re.name
FROM regular_expressions re
WHERE re.name = 'NoGroup';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'OEPlus', re.name
FROM regular_expressions re
WHERE re.name = 'OEPlus';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'PiRaTeS', re.name
FROM regular_expressions re
WHERE re.name = 'PiRaTeS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'PSA', re.name
FROM regular_expressions re
WHERE re.name = 'PSA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'RARGB', re.name
FROM regular_expressions re
WHERE re.name = 'RARGB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'SasukeducK', re.name
FROM regular_expressions re
WHERE re.name = 'SasukeducK';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'SHD', re.name
FROM regular_expressions re
WHERE re.name = 'SHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'ShieldBearer', re.name
FROM regular_expressions re
WHERE re.name = 'ShieldBearer';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'STUTTERSHIT', re.name
FROM regular_expressions re
WHERE re.name = 'STUTTERSHIT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'tarunk9c', re.name
FROM regular_expressions re
WHERE re.name = 'tarunk9c';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'TEKNO3D', re.name
FROM regular_expressions re
WHERE re.name = 'TEKNO3D';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'Telly', re.name
FROM regular_expressions re
WHERE re.name = 'Telly';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'TvR', re.name
FROM regular_expressions re
WHERE re.name = 'TvR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'UnKn0wn', re.name
FROM regular_expressions re
WHERE re.name = 'UnKn0wn';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'VD0N', re.name
FROM regular_expressions re
WHERE re.name = 'VD0N';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'VECTOR', re.name
FROM regular_expressions re
WHERE re.name = 'VECTOR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'VisionXpert', re.name
FROM regular_expressions re
WHERE re.name = 'VisionXpert';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'x0r', re.name
FROM regular_expressions re
WHERE re.name = 'x0r';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'YIFY', re.name
FROM regular_expressions re
WHERE re.name = 'YIFY';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups', 'YTS', re.name
FROM regular_expressions re
WHERE re.name = 'YTS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', '4K4U', re.name
FROM regular_expressions re
WHERE re.name = '4K4U';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'AOC', re.name
FROM regular_expressions re
WHERE re.name = 'AOC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'AROMA', re.name
FROM regular_expressions re
WHERE re.name = 'AROMA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'BeyondHD', re.name
FROM regular_expressions re
WHERE re.name = 'BeyondHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'BiTOR', re.name
FROM regular_expressions re
WHERE re.name = 'BiTOR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'BOLS', re.name
FROM regular_expressions re
WHERE re.name = 'BOLS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'BTM', re.name
FROM regular_expressions re
WHERE re.name = 'BTM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'CLASSiCALHD', re.name
FROM regular_expressions re
WHERE re.name = 'CLASSiCALHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'CREATiVE24', re.name
FROM regular_expressions re
WHERE re.name = 'CREATiVE24';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'd3g', re.name
FROM regular_expressions re
WHERE re.name = 'd3g';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'DepraveD', re.name
FROM regular_expressions re
WHERE re.name = 'DepraveD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'DeViSiVE', re.name
FROM regular_expressions re
WHERE re.name = 'DeViSiVE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'DRX', re.name
FROM regular_expressions re
WHERE re.name = 'DRX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'E', re.name
FROM regular_expressions re
WHERE re.name = 'E';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'FGT', re.name
FROM regular_expressions re
WHERE re.name = 'FGT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'Flights', re.name
FROM regular_expressions re
WHERE re.name = 'Flights';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'HDS', re.name
FROM regular_expressions re
WHERE re.name = 'HDS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'jennaortegaUHD', re.name
FROM regular_expressions re
WHERE re.name = 'jennaortegaUHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'KC', re.name
FROM regular_expressions re
WHERE re.name = 'KC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'LAMA', re.name
FROM regular_expressions re
WHERE re.name = 'LAMA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'MgB', re.name
FROM regular_expressions re
WHERE re.name = 'MgB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'NAHOM', re.name
FROM regular_expressions re
WHERE re.name = 'NAHOM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'NhaNc3', re.name
FROM regular_expressions re
WHERE re.name = 'NhaNc3';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'OEPlus', re.name
FROM regular_expressions re
WHERE re.name = 'OEPlus';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'PiRaTeS', re.name
FROM regular_expressions re
WHERE re.name = 'PiRaTeS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'RARGB', re.name
FROM regular_expressions re
WHERE re.name = 'RARGB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'SasukeducK', re.name
FROM regular_expressions re
WHERE re.name = 'SasukeducK';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'SHD', re.name
FROM regular_expressions re
WHERE re.name = 'SHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'ShieldBearer', re.name
FROM regular_expressions re
WHERE re.name = 'ShieldBearer';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'STUTTERSHIT', re.name
FROM regular_expressions re
WHERE re.name = 'STUTTERSHIT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'tarunk9c', re.name
FROM regular_expressions re
WHERE re.name = 'tarunk9c';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'TEKNO3D', re.name
FROM regular_expressions re
WHERE re.name = 'TEKNO3D';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'Telly', re.name
FROM regular_expressions re
WHERE re.name = 'Telly';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'TvR', re.name
FROM regular_expressions re
WHERE re.name = 'TvR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'UnKn0wn', re.name
FROM regular_expressions re
WHERE re.name = 'UnKn0wn';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'VD0N', re.name
FROM regular_expressions re
WHERE re.name = 'VD0N';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'VECTOR', re.name
FROM regular_expressions re
WHERE re.name = 'VECTOR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'VisionXpert', re.name
FROM regular_expressions re
WHERE re.name = 'VisionXpert';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'x0r', re.name
FROM regular_expressions re
WHERE re.name = 'x0r';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'YIFY', re.name
FROM regular_expressions re
WHERE re.name = 'YIFY';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Groups (Efficient)', 'YTS', re.name
FROM regular_expressions re
WHERE re.name = 'YTS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Remux', 'Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned Remux', 'LEGi0N', re.name
FROM regular_expressions re
WHERE re.name = 'LEGi0N';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned UHD Bluray', 'UHD Bluray', re.name
FROM regular_expressions re
WHERE re.name = 'UHD Bluray';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned UHD Bluray', 'Release Groups', re.name
FROM regular_expressions re
WHERE re.name = 'UHD Bluray Release Groups';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned WEBRip', 'Release Groups', re.name
FROM regular_expressions re
WHERE re.name = 'UHD WEBRip Release Groups';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Banned WEBRip (Efficient)', 'Release Groups', re.name
FROM regular_expressions re
WHERE re.name = 'UHD WEBRip Release Groups';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'BCORE', 'BCORE Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Bravia Core';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Better Theatricals', 'Better Theatricals', re.name
FROM regular_expressions re
WHERE re.name = 'Better Theatricals';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Better Theatricals', 'Theatrical', re.name
FROM regular_expressions re
WHERE re.name = 'Theatrical Edition';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Better Theatricals', 'Not Extended Clip', re.name
FROM regular_expressions re
WHERE re.name = 'Extended Clip';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Better Theatricals', 'Not IMAX', re.name
FROM regular_expressions re
WHERE re.name = 'IMAX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Better Theatricals', 'Not Open Matte', re.name
FROM regular_expressions re
WHERE re.name = 'Open Matte';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Better Theatricals', 'Not Sing Along', re.name
FROM regular_expressions re
WHERE re.name = 'Sing Along';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Better Theatricals', 'Not Special Edition', re.name
FROM regular_expressions re
WHERE re.name = 'Special Edition';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'CR', 'CR Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Crunchyroll';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'CRAV', 'CRAV Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Crave';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'CRIT', 'CRiT Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Criterion Channel';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Disney+ Enhancement', 'DSNP', re.name
FROM regular_expressions re
WHERE re.name = 'Disney+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Atmos', 'Atmos', re.name
FROM regular_expressions re
WHERE re.name = 'Atmos';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Atmos', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital', 'Dolby Digital', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital', 'Not AAC', re.name
FROM regular_expressions re
WHERE re.name = 'AAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital', 'Not Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital', 'Not DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital', 'Not PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital +', 'Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital +', 'Not AAC', re.name
FROM regular_expressions re
WHERE re.name = 'AAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital +', 'Not DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital +', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital +', 'Not PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Digital +', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Vision', 'Dolby Vision', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Vision';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Dolby Vision (Without Fallback)', 'Dolby Vision (Without Fallback)', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Vision (Without Fallback)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DRPO', 'DRPO Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Dropout TV';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DS4K', 'DS4K', re.name
FROM regular_expressions re
WHERE re.name = 'DS4K';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DSNP', 'DNSP Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Disney+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS', 'DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS', 'Not AAC', re.name
FROM regular_expressions re
WHERE re.name = 'AAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS', 'Not Dolby Digital', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS', 'Not Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS', 'Not DTS-HD', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-HD MA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS', 'Not DTS-HD HRA ES', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-HD HRA ES';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS', 'Not DTS-X', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-X';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS', 'Not PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-ES', 'DTS-ES', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-ES';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-ES', 'Not AAC', re.name
FROM regular_expressions re
WHERE re.name = 'AAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-ES', 'Not Dolby Digital', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-ES', 'Not Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-ES', 'Not DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS Basic';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-ES', 'Not DTS-X', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-X';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-ES', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-ES', 'Not PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-ES', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD HRA', 'DTS-HD HRA', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-HD HRA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD HRA', 'Not AAC', re.name
FROM regular_expressions re
WHERE re.name = 'AAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD HRA', 'Not Dolby Digital', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD HRA', 'Not Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD HRA', 'Not DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS Basic';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD HRA', 'Not DTS-ES', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-ES';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD HRA', 'Not DTS-X', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-X';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD HRA', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD HRA', 'Not PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD HRA', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD MA', 'DTS-HD MA', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-HD MA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD MA', 'Not AAC', re.name
FROM regular_expressions re
WHERE re.name = 'AAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD MA', 'Not Dolby Digital', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD MA', 'Not Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD MA', 'Not DTS-HD HRA ES', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-HD HRA ES';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD MA', 'Not DTS-X', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-X';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD MA', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD MA', 'Not PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-HD MA', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-X', 'DTS-X', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-X';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-X', 'Not AAC', re.name
FROM regular_expressions re
WHERE re.name = 'AAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-X', 'Not Dolby Digital', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-X', 'Not Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-X', 'Not DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS Basic';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-X', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-X', 'Not PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DTS-X', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'DVD Remux', 'Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Extras', 'Extras', re.name
FROM regular_expressions re
WHERE re.name = 'Extras';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'FLAC', 'FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'FLAC', 'Not AAC', re.name
FROM regular_expressions re
WHERE re.name = 'AAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'FLAC', 'Not Dolby Digital', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'FLAC', 'Not Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'FLAC', 'Not DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'FLAC', 'Not PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'FLAC', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Full Disc', 'Full Disc', re.name
FROM regular_expressions re
WHERE re.name = 'Full Disc';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Full Disc', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Full Disc', 'Not x264', re.name
FROM regular_expressions re
WHERE re.name = 'x264';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Full Disc', 'Not x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'h265', 'h265', re.name
FROM regular_expressions re
WHERE re.name = 'h265';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'h265 (Efficient)', 'h265', re.name
FROM regular_expressions re
WHERE re.name = 'h265';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HBO Max Enhancement', 'HMAX', re.name
FROM regular_expressions re
WHERE re.name = 'HBO Max';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HBO Max Enhancement', 'MAX', re.name
FROM regular_expressions re
WHERE re.name = 'Max';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR', 'HDR', re.name
FROM regular_expressions re
WHERE re.name = 'HDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR', 'Not SDR', re.name
FROM regular_expressions re
WHERE re.name = 'SDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR', 'Not PQ', re.name
FROM regular_expressions re
WHERE re.name = 'PQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR', 'Not HLG', re.name
FROM regular_expressions re
WHERE re.name = 'HLG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR', 'Not HDR10', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR', 'Not HDR10+', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR (Missing)', 'Dolby Vision', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Vision';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR (Missing)', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR (Missing)', 'Not SDR', re.name
FROM regular_expressions re
WHERE re.name = 'SDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR (Missing)', 'Not PQ', re.name
FROM regular_expressions re
WHERE re.name = 'PQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR (Missing)', 'Not HLG', re.name
FROM regular_expressions re
WHERE re.name = 'HLG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR (Missing)', 'Not HDR', re.name
FROM regular_expressions re
WHERE re.name = 'HDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR (Missing)', 'Not HDR10', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR (Missing)', 'Not HDR10+', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10', 'HDR10', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10', 'Not SDR', re.name
FROM regular_expressions re
WHERE re.name = 'SDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10', 'Not PQ', re.name
FROM regular_expressions re
WHERE re.name = 'PQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10', 'Not HLG', re.name
FROM regular_expressions re
WHERE re.name = 'HLG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10', 'Not HDR10+', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10 (Missing)', 'Release Groups', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10 (Negation)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10 (Missing)', 'Not SDR', re.name
FROM regular_expressions re
WHERE re.name = 'SDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10 (Missing)', 'Not PQ', re.name
FROM regular_expressions re
WHERE re.name = 'PQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10 (Missing)', 'Not HLG', re.name
FROM regular_expressions re
WHERE re.name = 'HLG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10 (Missing)', 'Not HDR', re.name
FROM regular_expressions re
WHERE re.name = 'HDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10 (Missing)', 'Not HDR10', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10 (Missing)', 'Not HDR10+', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10+', 'HDR10+', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10+', 'Not SDR', re.name
FROM regular_expressions re
WHERE re.name = 'SDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10+', 'Not PQ', re.name
FROM regular_expressions re
WHERE re.name = 'PQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HDR10+', 'Not HLG', re.name
FROM regular_expressions re
WHERE re.name = 'HLG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HLG', 'HLG', re.name
FROM regular_expressions re
WHERE re.name = 'HLG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HLG', 'Not SDR', re.name
FROM regular_expressions re
WHERE re.name = 'SDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HLG', 'Not PQ', re.name
FROM regular_expressions re
WHERE re.name = 'PQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HLG', 'Not HDR', re.name
FROM regular_expressions re
WHERE re.name = 'HDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HLG', 'Not HDR10', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HLG', 'Not HDR10+', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HMAX', 'HMAX Regex', re.name
FROM regular_expressions re
WHERE re.name = 'HBO Max';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HONE Bluray', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HONE Bluray', 'HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HONE Bluray', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HONE WEB', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265 (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HONE WEB', 'HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HONE WEB', 'Not Weasley', re.name
FROM regular_expressions re
WHERE re.name = 'Weasley';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HONE WEB', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HTSR', 'HTSR Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Hotstar';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'HULU', 'HULU Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Hulu';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'IMAX', 'IMAX', re.name
FROM regular_expressions re
WHERE re.name = 'IMAX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'IMAX', 'IMAX Enhanced', re.name
FROM regular_expressions re
WHERE re.name = 'IMAX Enhanced';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'IMAX Enhanced', 'IMAX Enhanced', re.name
FROM regular_expressions re
WHERE re.name = 'IMAX Enhanced';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'iP', 'iP Regex', re.name
FROM regular_expressions re
WHERE re.name = 'BBC iPlayer';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'IQIYI', 'IQIYI Regex', re.name
FROM regular_expressions re
WHERE re.name = 'iQIYI';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'iT', 'iT Regex', re.name
FROM regular_expressions re
WHERE re.name = 'iTunes';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'iT', 'iT Rename Regex', re.name
FROM regular_expressions re
WHERE re.name = 'iTunes Rename';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'iTunes Enhancement', 'iT', re.name
FROM regular_expressions re
WHERE re.name = 'iTunes';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'KCW', 'KCW Regex', re.name
FROM regular_expressions re
WHERE re.name = 'KCW';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Lossless Audio', 'DTS-HD MA', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-HD MA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Lossless Audio', 'DTS-X', re.name
FROM regular_expressions re
WHERE re.name = 'DTS-X';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Lossless Audio', 'PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Lossless Audio', 'TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'MA', 'MA Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Movies Anywhere';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'MAX', 'MAX Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Max';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'MAX', 'MAX Rename Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Max Rename';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Movies Anywhere Enhancement', 'MA', re.name
FROM regular_expressions re
WHERE re.name = 'Movies Anywhere';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'MUBI', 'MUBI Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Mubi';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'NF', 'NF Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Netflix';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Not Only English (Missing)', 'Dual Audio Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Dual Audio';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'NOW', 'NOW Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Now';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'NOW', 'NOW Rename Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Now Rename';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Opus', 'Opus', re.name
FROM regular_expressions re
WHERE re.name = 'Opus';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Opus', 'Not OPUS Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'Opus (Negation)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PCM', 'PCM', re.name
FROM regular_expressions re
WHERE re.name = 'PCM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PCM', 'Not AAC', re.name
FROM regular_expressions re
WHERE re.name = 'AAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PCM', 'Not Dolby Digital', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PCM', 'Not Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PCM', 'Not DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PCM', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PCM', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PCOK', 'PCOK Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Peacock TV';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PLAY', 'PLAY Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Google TV';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PLAY', 'PLAY Rename Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Google TV Rename';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PMTP', 'PMTP Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Paramount+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PQ', 'PQ', re.name
FROM regular_expressions re
WHERE re.name = 'PQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PQ', 'Not SDR', re.name
FROM regular_expressions re
WHERE re.name = 'SDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PQ', 'Not HLG', re.name
FROM regular_expressions re
WHERE re.name = 'HLG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PQ', 'HDR', re.name
FROM regular_expressions re
WHERE re.name = 'HDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PQ', 'Not HDR10', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'PQ', 'Not HDR10+', re.name
FROM regular_expressions re
WHERE re.name = 'HDR10+';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'QxR Bluray', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR (Title)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'QxR Bluray', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'QxR Blurays', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR (Title)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'QxR Blurays', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'QxR WEB', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR (Title)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'QxR WEB', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'QxR WEBs', 'QxR', re.name
FROM regular_expressions re
WHERE re.name = 'QxR (Title)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'QxR WEBs', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'QxR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux', 'Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 1', 'Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 1', '3L', re.name
FROM regular_expressions re
WHERE re.name = '3L';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 1', 'BiZKiT', re.name
FROM regular_expressions re
WHERE re.name = 'BiZKiT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 1', 'BLURANiUM', re.name
FROM regular_expressions re
WHERE re.name = 'BLURANiUM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 1', 'CiNEPHiLES', re.name
FROM regular_expressions re
WHERE re.name = 'CiNEPHiLES';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 1', 'WiLDCAT', re.name
FROM regular_expressions re
WHERE re.name = 'WiLDCAT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 2', 'Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 2', 'BMF', re.name
FROM regular_expressions re
WHERE re.name = 'BMF';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 2', 'FraMeSToR', re.name
FROM regular_expressions re
WHERE re.name = 'FraMeSToR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 2', 'LM', re.name
FROM regular_expressions re
WHERE re.name = 'LM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 2', 'PiRAMiDHEAD', re.name
FROM regular_expressions re
WHERE re.name = 'PiRAMiDHEAD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 2', 'PmP', re.name
FROM regular_expressions re
WHERE re.name = 'PmP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 2', 'PP', re.name
FROM regular_expressions re
WHERE re.name = 'PP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 2', 'ZoroSenpai', re.name
FROM regular_expressions re
WHERE re.name = 'ZoroSenpai';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 2', 'ZQ', re.name
FROM regular_expressions re
WHERE re.name = 'ZQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 3', 'Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 3', 'ATELiER', re.name
FROM regular_expressions re
WHERE re.name = 'ATELiER';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 3', 'decibeL', re.name
FROM regular_expressions re
WHERE re.name = 'decibeL';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 3', 'EPSiLON', re.name
FROM regular_expressions re
WHERE re.name = 'EPSiLON';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 3', 'HiFi', re.name
FROM regular_expressions re
WHERE re.name = 'HiFi';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 3', 'NCmt', re.name
FROM regular_expressions re
WHERE re.name = 'NCmt';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 3', 'SiCFoI', re.name
FROM regular_expressions re
WHERE re.name = 'SiCFoI';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 3', 'TEPES', re.name
FROM regular_expressions re
WHERE re.name = 'TEPES';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 4', 'Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 4', 'BTN', re.name
FROM regular_expressions re
WHERE re.name = 'BTN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 4', 'iFT', re.name
FROM regular_expressions re
WHERE re.name = 'iFT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 4', 'KRaLiMaRKo', re.name
FROM regular_expressions re
WHERE re.name = 'KRaLiMaRKo';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 4', 'playBD', re.name
FROM regular_expressions re
WHERE re.name = 'playBD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 4', 'PTP', re.name
FROM regular_expressions re
WHERE re.name = 'PTP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Remux Tier 4', 'TRiToN', re.name
FROM regular_expressions re
WHERE re.name = 'TRiToN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Repack1', 'Repack1', re.name
FROM regular_expressions re
WHERE re.name = 'Repack1';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Repack2', 'Repack2', re.name
FROM regular_expressions re
WHERE re.name = 'Repack2';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Repack3', 'Repack3', re.name
FROM regular_expressions re
WHERE re.name = 'Repack3';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'ROKU', 'ROKU Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Roku';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'SD Quality Tier 1', 'TBB', re.name
FROM regular_expressions re
WHERE re.name = 'TBB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'SD Quality Tier 1', 'Dariush', re.name
FROM regular_expressions re
WHERE re.name = 'Dariush';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'SD Quality Tier 2', 'HANDJOB', re.name
FROM regular_expressions re
WHERE re.name = 'HANDJOB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'SDR', 'DV HDR', re.name
FROM regular_expressions re
WHERE re.name = 'Basic HDR Formats';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'SDR', 'Movies Anywhere', re.name
FROM regular_expressions re
WHERE re.name = 'Movies Anywhere';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'SDTV Tier 1', 'NTb', re.name
FROM regular_expressions re
WHERE re.name = 'NTb';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'SDTV Tier 1', 'CtrlHD', re.name
FROM regular_expressions re
WHERE re.name = 'CtrlHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'SHO', 'SHO Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Showtime';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'SHO', 'SHO Rename Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Showtime Rename';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Sing Along', 'Sing Along', re.name
FROM regular_expressions re
WHERE re.name = 'Sing Along';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Special Edition', 'Special Edition', re.name
FROM regular_expressions re
WHERE re.name = 'Special Edition';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Special Edition', 'Not IMAX', re.name
FROM regular_expressions re
WHERE re.name = 'IMAX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Special Edition', 'Not Open Matte', re.name
FROM regular_expressions re
WHERE re.name = 'Open Matte';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Special Edition', 'Not Theatrical Edition', re.name
FROM regular_expressions re
WHERE re.name = 'Theatrical Edition';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Special Edition', 'Not Extended Clip', re.name
FROM regular_expressions re
WHERE re.name = 'Extended Clip';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Special Edition', 'Not Sing Along', re.name
FROM regular_expressions re
WHERE re.name = 'Sing Along';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'STAN', 'STAN Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Stan';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'STAN', 'STAN Rename Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Stan Rename';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TAoE Bluray', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE (Title)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TAoE Bluray', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TAoE Blurays', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE (Title)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TAoE Blurays', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TAoE WEB', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE (Title)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TAoE WEB', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TAoE WEBs', 'TAoE', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE (Title)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TAoE WEBs', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'TAoE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Theatrical', 'Theatrical', re.name
FROM regular_expressions re
WHERE re.name = 'Theatrical Edition';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Theatrical', 'Not Extended Clip', re.name
FROM regular_expressions re
WHERE re.name = 'Extended Clip';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Theatrical', 'Not IMAX', re.name
FROM regular_expressions re
WHERE re.name = 'IMAX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Theatrical', 'Not Open Matte', re.name
FROM regular_expressions re
WHERE re.name = 'Open Matte';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Theatrical', 'Not Sing Along', re.name
FROM regular_expressions re
WHERE re.name = 'Sing Along';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Theatrical', 'Not Special Edition', re.name
FROM regular_expressions re
WHERE re.name = 'Special Edition';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD', 'TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD', 'Not Dolby Digital', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD', 'Not Dolby Digital +', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD', 'Not DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD (Missing)', 'Atmos', re.name
FROM regular_expressions re
WHERE re.name = 'Atmos (Missing)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD (Missing)', 'Not DD', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD (Missing)', 'Not DD+', re.name
FROM regular_expressions re
WHERE re.name = 'Dolby Digital +';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD (Missing)', 'Not DTS', re.name
FROM regular_expressions re
WHERE re.name = 'DTS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD (Missing)', 'Not FLAC', re.name
FROM regular_expressions re
WHERE re.name = 'FLAC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TrueHD (Missing)', 'Not TrueHD', re.name
FROM regular_expressions re
WHERE re.name = 'TrueHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TV Extras', 'TV Extras', re.name
FROM regular_expressions re
WHERE re.name = 'TV Extras';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'TVING', 'TVING Regex', re.name
FROM regular_expressions re
WHERE re.name = 'TVING';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'UHD Bluray', 'UHD Bluray', re.name
FROM regular_expressions re
WHERE re.name = 'UHD Bluray';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'UHD Bluray', 'HDR', re.name
FROM regular_expressions re
WHERE re.name = 'Basic HDR Formats';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'UHD Bluray', 'Release Groups', re.name
FROM regular_expressions re
WHERE re.name = 'UHD Bluray Release Groups';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'UHD Bluray (Efficient)', 'UHD Bluray', re.name
FROM regular_expressions re
WHERE re.name = 'UHD Bluray (Efficient)';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'UHD Bluray (Efficient)', 'HDR', re.name
FROM regular_expressions re
WHERE re.name = 'Basic HDR Formats';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Upscale', 'Upscaled', re.name
FROM regular_expressions re
WHERE re.name = 'Upscaled';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Upscale', 'AI Movies', re.name
FROM regular_expressions re
WHERE re.name = 'AI Movies';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Upscaled', 'Upscaled', re.name
FROM regular_expressions re
WHERE re.name = 'Upscaled';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Upscaled', 'AI TV', re.name
FROM regular_expressions re
WHERE re.name = 'AI TV';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Vialle Bluray', 'Vialle', re.name
FROM regular_expressions re
WHERE re.name = 'Vialle';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Vialle Bluray', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'Vialle';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Vialle WEB', 'Vialle', re.name
FROM regular_expressions re
WHERE re.name = 'Vialle';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Vialle WEB', 'Release Group', re.name
FROM regular_expressions re
WHERE re.name = 'Vialle';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'VIKI', 'VIKI Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Viki';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'VIU', 'VIU Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Viu';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'VP9', 'VP9', re.name
FROM regular_expressions re
WHERE re.name = 'VP9';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'VVC', 'VVC', re.name
FROM regular_expressions re
WHERE re.name = 'VVC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WAVVE', 'WAVVE Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Wavve';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Weasley WEB', 'Weasley', re.name
FROM regular_expressions re
WHERE re.name = 'Weasley';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 1', 'FLUX', re.name
FROM regular_expressions re
WHERE re.name = 'FLUX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 1', 'NTb', re.name
FROM regular_expressions re
WHERE re.name = 'NTb';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 1', 'TheFarm', re.name
FROM regular_expressions re
WHERE re.name = 'TheFarm';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 2', 'BYNDR', re.name
FROM regular_expressions re
WHERE re.name = 'BYNDR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 2', 'CMRG', re.name
FROM regular_expressions re
WHERE re.name = 'CMRG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 2', 'HONE', re.name
FROM regular_expressions re
WHERE re.name = 'HONE';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 2', 'Kitsune', re.name
FROM regular_expressions re
WHERE re.name = 'Kitsune';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 2', 'playWEB', re.name
FROM regular_expressions re
WHERE re.name = 'playWEB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 2', 'TEPES', re.name
FROM regular_expressions re
WHERE re.name = 'TEPES';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'ABM', re.name
FROM regular_expressions re
WHERE re.name = 'ABM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'AJP69', re.name
FROM regular_expressions re
WHERE re.name = 'AJP69';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'BLUTONiUM', re.name
FROM regular_expressions re
WHERE re.name = 'BLUTONiUM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'BTW', re.name
FROM regular_expressions re
WHERE re.name = 'BTW';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'CasStudio', re.name
FROM regular_expressions re
WHERE re.name = 'CasStudio';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'Cinefeel', re.name
FROM regular_expressions re
WHERE re.name = 'Cinefeel';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'CRFW', re.name
FROM regular_expressions re
WHERE re.name = 'CRFW';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'CtrlHD', re.name
FROM regular_expressions re
WHERE re.name = 'CtrlHD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'HHWEB', re.name
FROM regular_expressions re
WHERE re.name = 'HHWEB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'KHN', re.name
FROM regular_expressions re
WHERE re.name = 'KHN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'KiNGS', re.name
FROM regular_expressions re
WHERE re.name = 'KiNGS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'LAZY', re.name
FROM regular_expressions re
WHERE re.name = 'LAZY';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'monkee', re.name
FROM regular_expressions re
WHERE re.name = 'monkee';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'MZABI', re.name
FROM regular_expressions re
WHERE re.name = 'MZABI';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'NOSiViD', re.name
FROM regular_expressions re
WHERE re.name = 'NOSiViD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'NPMS', re.name
FROM regular_expressions re
WHERE re.name = 'NPMS';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'NTG', re.name
FROM regular_expressions re
WHERE re.name = 'NTG';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'QOQ', re.name
FROM regular_expressions re
WHERE re.name = 'QOQ';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'RAWR', re.name
FROM regular_expressions re
WHERE re.name = 'RAWR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'SA89', re.name
FROM regular_expressions re
WHERE re.name = 'SA89';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'SbR', re.name
FROM regular_expressions re
WHERE re.name = 'SbR';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'SMURF', re.name
FROM regular_expressions re
WHERE re.name = 'SMURF';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'TeamSyndicate', re.name
FROM regular_expressions re
WHERE re.name = 'TeamSyndicate';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'TOMMY', re.name
FROM regular_expressions re
WHERE re.name = 'TOMMY';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'TVSmash', re.name
FROM regular_expressions re
WHERE re.name = 'TVSmash';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'WELP', re.name
FROM regular_expressions re
WHERE re.name = 'WELP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'XEBEC', re.name
FROM regular_expressions re
WHERE re.name = 'XEBEC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 3', 'ZoroSenpai', re.name
FROM regular_expressions re
WHERE re.name = 'ZoroSenpai';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 4', 'APEX', re.name
FROM regular_expressions re
WHERE re.name = 'APEX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 4', 'BTN', re.name
FROM regular_expressions re
WHERE re.name = 'BTN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 4', 'dB', re.name
FROM regular_expressions re
WHERE re.name = 'dB';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 4', 'PTP', re.name
FROM regular_expressions re
WHERE re.name = 'PTP';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 4', 'RTN', re.name
FROM regular_expressions re
WHERE re.name = 'RTN';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 4', 'SiC', re.name
FROM regular_expressions re
WHERE re.name = 'SiC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 4', 'SPiRiT', re.name
FROM regular_expressions re
WHERE re.name = 'SPiRiT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 4', 'ViSUM', re.name
FROM regular_expressions re
WHERE re.name = 'ViSUM';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 5', 'CRUD', re.name
FROM regular_expressions re
WHERE re.name = 'CRUD';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 5', 'GNOME', re.name
FROM regular_expressions re
WHERE re.name = 'GNOME';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 5', 'NINJACENTRAL', re.name
FROM regular_expressions re
WHERE re.name = 'NINJACENTRAL';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 5', 'PHOENiX', re.name
FROM regular_expressions re
WHERE re.name = 'PHOENiX';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 5', 'ROCCaT', re.name
FROM regular_expressions re
WHERE re.name = 'ROCCaT';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 5', 'SiGMA', re.name
FROM regular_expressions re
WHERE re.name = 'SiGMA';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WEB-DL Tier 5', 'SwAgLaNdEr', re.name
FROM regular_expressions re
WHERE re.name = 'SwAgLaNdEr';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'WeTV', 'WeTV Regex', re.name
FROM regular_expressions re
WHERE re.name = 'WeTV';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'x264 (2160p)', 'x264', re.name
FROM regular_expressions re
WHERE re.name = 'x264';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'x265', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'x265 (Bluray)', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'x265 (Efficient)', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'x265 (Missing)', 'Not Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'x265 (Missing)', 'Not x264', re.name
FROM regular_expressions re
WHERE re.name = 'x264';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'x265 (Missing)', 'Not x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'x265 (Remux)', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'HEVC';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'x265 (Remux)', 'Remux', re.name
FROM regular_expressions re
WHERE re.name = 'Remux';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'x265 (WEB)', 'x265', re.name
FROM regular_expressions re
WHERE re.name = 'x265';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'Xvid', 'Xvid', re.name
FROM regular_expressions re
WHERE re.name = 'Xvid';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name)
SELECT 'YK', 'YK Regex', re.name
FROM regular_expressions re
WHERE re.name = 'Youku';
INSERT INTO condition_languages (custom_format_name, condition_name, language_name, except_language)
SELECT 'Not English', 'Not English', l.name, 1
FROM languages l
WHERE l.name = 'English';
INSERT INTO condition_languages (custom_format_name, condition_name, language_name, except_language)
SELECT 'Not English', 'Includes English', l.name, 0
FROM languages l
WHERE l.name = 'English';
INSERT INTO condition_languages (custom_format_name, condition_name, language_name, except_language)
SELECT 'Not Only English', 'Not English', l.name, 1
FROM languages l
WHERE l.name = 'English';
INSERT INTO condition_languages (custom_format_name, condition_name, language_name, except_language)
SELECT 'Not Only English', 'Includes English', l.name, 0
FROM languages l
WHERE l.name = 'English';
INSERT INTO condition_languages (custom_format_name, condition_name, language_name, except_language)
SELECT 'Not Only English (Missing)', 'Includes English', l.name, 0
FROM languages l
WHERE l.name = 'English';
INSERT INTO condition_indexer_flags (custom_format_name, condition_name, flag)
VALUES ('1080p Golden Popcorn', 'Golden Popcorn', 'ptp_golden');
INSERT INTO condition_indexer_flags (custom_format_name, condition_name, flag)
VALUES ('720p Golden Popcorn', 'Golden Popcorn', 'ptp_golden');
INSERT INTO condition_indexer_flags (custom_format_name, condition_name, flag)
VALUES ('Freeleech 100%', '100% Freeleech', 'freeleech');
INSERT INTO condition_indexer_flags (custom_format_name, condition_name, flag)
VALUES ('Freeleech 25%', '25% Freeleech', 'freeleech_25');
INSERT INTO condition_indexer_flags (custom_format_name, condition_name, flag)
VALUES ('Freeleech 50%', '50% Freeleech', 'halfleech');
INSERT INTO condition_indexer_flags (custom_format_name, condition_name, flag)
VALUES ('Freeleech 75%', '75% Freeleech', 'freeleech_75');
INSERT INTO condition_indexer_flags (custom_format_name, condition_name, flag)
VALUES ('Internal', 'Internal', 'internal');
INSERT INTO condition_indexer_flags (custom_format_name, condition_name, flag)
VALUES ('SD Golden Popcorn', 'Golden Popcorn', 'ptp_golden');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Balanced Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Balanced Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Bluray', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Bluray HEVC Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie Bluray Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie Bluray Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie Bluray Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie Bluray Tier 4', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie WEB Tier 1', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie WEB Tier 1', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie WEB Tier 2', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie WEB Tier 2', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie WEB Tier 3', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie WEB Tier 3', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie WEB Tier 4', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact Movie WEB Tier 4', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV Bluray Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV Bluray Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV Bluray Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV Bluray Tier 4', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV Bluray Tier 5', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV Bluray Tier 6', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV Trash Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV Trash Tier 2', 'HDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV Trash Tier 2', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV Trash Tier 2', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV WEB Tier 1', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV WEB Tier 1', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV WEB Tier 2', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV WEB Tier 2', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV WEB Tier 3', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV WEB Tier 3', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV WEB Tier 4', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV WEB Tier 4', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV WEB Tier 5', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Compact TV WEB Tier 5', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie Bluray Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie Bluray Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie Bluray Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie Bluray Tier 4', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie WEB Tier 1', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie WEB Tier 1', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie WEB Tier 2', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie WEB Tier 2', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie WEB Tier 3', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie WEB Tier 3', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie WEB Tier 4', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient Movie WEB Tier 4', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV Bluray Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV Bluray Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV Bluray Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV Bluray Tier 4', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV Bluray Tier 5', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV Bluray Tier 6', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV WEB Tier 1', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV WEB Tier 1', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV WEB Tier 2', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV WEB Tier 2', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV WEB Tier 3', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV WEB Tier 3', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV WEB Tier 4', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV WEB Tier 4', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV WEB Tier 5', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Efficient TV WEB Tier 5', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p HDTV', 'HDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p HDTV Tier 1', 'HDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p HDTV Tier 2', 'HDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p HDTV Tier 3', 'HDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 1', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 2', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 3', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 4', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 4', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 5', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 5', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 6', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p Quality Tier 6', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p WEB-DL', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p WEB-DL (h264)', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p WEB-DL HEVC Tier 1', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('1080p WEBRip', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Balanced Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Balanced Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Balanced Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Bluray', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Efficient TV Bluray Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Efficient TV WEB Tier 1', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Efficient TV WEB Tier 1', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Quality Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Quality Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Quality Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Quality Tier 4', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Quality Tier 5', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p Quality Tier 6', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p WEB-DL', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('2160p WEB-DL (Efficient)', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('480p Bluray', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('480p Quality Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('480p Quality Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('480p Quality Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('480p Quality Tier 4', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('480p WEB-DL', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('576p Bluray', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('576p Quality Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('576p Quality Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('576p Quality Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('576p Quality Tier 4', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Balanced Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Bluray', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p HDTV', 'HDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p HDTV Tier 1', 'HDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p HDTV Tier 2', 'HDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p HDTV Tier 3', 'HDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 1', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 2', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 3', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 4', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 4', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 5', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 5', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 6', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p Quality Tier 6', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p WEB-DL', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('720p WEBRip', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('AMZN', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('AMZN', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Anime Bluray Tier 1', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Anime Bluray Tier 2', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Anime Bluray Tier 3', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Anime Bluray Tier 4', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Anime Bluray Tier 5', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Anime WEB-DL Tier 1', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Anime WEB-DL Tier 1', 'WEB', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Anime WEB-DL Tier 2', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Anime WEB-DL Tier 2', 'WEB', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('ATVP', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('ATVP', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Banned Remux', 'Not DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Banned WEBRip', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Banned WEBRip (Efficient)', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('BCORE', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('BCORE', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('CR', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('CR', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('CRAV', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('CRAV', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('CRIT', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('CRIT', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('DRPO', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('DRPO', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('DSNP', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('DSNP', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('DVD', 'DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('DVD Remux', 'DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Full Disc', 'Not WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Full Disc', 'Not WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('HDR (Missing)', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('HDR10 (Missing)', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('HMAX', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('HMAX', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('HONE Bluray', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('HONE WEB', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('HTSR', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('HTSR', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('HULU', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('HULU', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('iP', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('iP', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('IQIYI', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('IQIYI', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('iT', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('iT', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('KCW', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('KCW', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('MA', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('MA', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('MAX', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('MAX', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('MUBI', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('MUBI', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('NF', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('NF', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('NOW', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('NOW', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('PCOK', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('PCOK', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('PLAY', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('PLAY', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('PMTP', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('PMTP', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('QxR Bluray', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('QxR Blurays', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('QxR WEB', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('QxR WEB', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('QxR WEBs', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('QxR WEBs', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Remux', 'Not DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Remux (Source)', 'Remux', 'bluray_raw');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Remux Tier 1', 'Not DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Remux Tier 2', 'Not DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Remux Tier 3', 'Not DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Remux Tier 4', 'Not DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('ROKU', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('ROKU', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('SD Quality Tier 1', 'DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('SD Quality Tier 2', 'DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('SDR', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('SDTV', 'SDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('SDTV Tier 1', 'SDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('SHO', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('SHO', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('STAN', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('STAN', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('TAoE Bluray', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('TAoE Blurays', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('TAoE WEB', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('TAoE WEB', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('TAoE WEBs', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('TAoE WEBs', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('TVING', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('TVING', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Vialle Bluray', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Vialle WEB', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Vialle WEB', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('VIKI', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('VIKI', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('VIU', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('VIU', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('WAVVE', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('WAVVE', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Weasley WEB', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Weasley WEB', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('WEB-DL Tier 1', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('WEB-DL Tier 2', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('WEB-DL Tier 3', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('WEB-DL Tier 4', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('WEB-DL Tier 5', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('WeTV', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('WeTV', 'WEBRip', 'webrip');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('x265 (Bluray)', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('x265 (Missing)', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('x265 (WEB)', 'Bluray', 'bluray');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Xvid', 'Not DVD', 'dvd');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('Xvid', 'Not HDTV', 'television');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('YK', 'WEB-DL', 'web_dl');
INSERT INTO condition_sources (custom_format_name, condition_name, source)
VALUES ('YK', 'WEBRip', 'webrip');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Balanced Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Balanced Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Bluray', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Bluray HEVC Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact Movie Bluray Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact Movie Bluray Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact Movie Bluray Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact Movie Bluray Tier 4', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact Movie WEB Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact Movie WEB Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact Movie WEB Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact Movie WEB Tier 4', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV Bluray Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV Bluray Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV Bluray Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV Bluray Tier 4', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV Bluray Tier 5', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV Bluray Tier 6', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV Trash Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV Trash Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV WEB Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV WEB Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV WEB Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV WEB Tier 4', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Compact TV WEB Tier 5', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient Movie Bluray Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient Movie Bluray Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient Movie Bluray Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient Movie Bluray Tier 4', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient Movie WEB Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient Movie WEB Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient Movie WEB Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient Movie WEB Tier 4', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV Bluray Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV Bluray Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV Bluray Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV Bluray Tier 4', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV Bluray Tier 5', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV Bluray Tier 6', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV WEB Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV WEB Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV WEB Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV WEB Tier 4', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Efficient TV WEB Tier 5', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Golden Popcorn', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p HDTV', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p HDTV Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p HDTV Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p HDTV Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Quality Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Quality Tier 2', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Quality Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Quality Tier 4', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Quality Tier 5', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Quality Tier 6', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p Remux', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p WEB-DL', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p WEB-DL (h264)', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p WEB-DL HEVC Tier 1', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('1080p WEBRip', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Balanced Tier 1', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Balanced Tier 2', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Balanced Tier 3', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Bluray', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Efficient TV Bluray Tier 1', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Efficient TV WEB Tier 1', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Quality Tier 1', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Quality Tier 2', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Quality Tier 3', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Quality Tier 4', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Quality Tier 5', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Quality Tier 6', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p Remux', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p WEB-DL', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('2160p WEB-DL (Efficient)', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('480p Bluray', '480p', '480p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('480p Quality Tier 1', '480p', '480p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('480p Quality Tier 2', '480p', '480p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('480p Quality Tier 3', '480p', '480p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('480p Quality Tier 4', '480p', '480p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('480p WEB-DL', '480p', '480p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('576p Bluray', '576p', '576p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('576p Quality Tier 1', '576p', '576p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('576p Quality Tier 2', '576p', '576p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('576p Quality Tier 3', '576p', '576p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('576p Quality Tier 4', '576p', '576p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p Balanced Tier 1', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p Bluray', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p Golden Popcorn', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p HDTV', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p HDTV Tier 1', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p HDTV Tier 2', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p HDTV Tier 3', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p Quality Tier 1', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p Quality Tier 2', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p Quality Tier 3', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p Quality Tier 4', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p Quality Tier 5', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p Quality Tier 6', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p WEB-DL', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('720p WEBRip', '720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('Amazon Enhancement', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('Banned UHD Bluray', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('Banned WEBRip (Efficient)', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('Banned WEBRip (Efficient)', 'Not 1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('Disney+ Enhancement', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('h265', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('h265 (Efficient)', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('h265 (Efficient)', 'Not 1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('HBO Max Enhancement', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('HDR (Missing)', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('HDR10 (Missing)', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('HONE Bluray', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('HONE WEB', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('iTunes Enhancement', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('Lossless Audio', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('Movies Anywhere Enhancement', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('QxR Bluray', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('QxR Blurays', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('QxR WEB', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('QxR WEBs', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('SD Golden Popcorn', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('SD Golden Popcorn', 'Not 1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('SD Golden Popcorn', 'Not 720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('SDR', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('SDTV', 'Not 1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('SDTV', 'Not 720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('SDTV Tier 1', 'Not 1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('SDTV Tier 1', 'Not 720p', '720p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('TAoE Bluray', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('TAoE Blurays', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('TAoE WEB', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('TAoE WEBs', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('TrueHD (Missing)', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('UHD Bluray', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('UHD Bluray (Efficient)', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('Vialle Bluray', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('Vialle WEB', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('Weasley WEB', '1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('x264 (2160p)', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('x265', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('x265 (Bluray)', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('x265 (Efficient)', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('x265 (Efficient)', 'Not 1080p', '1080p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('x265 (Missing)', '2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('x265 (Remux)', 'Not 2160p', '2160p');
INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution)
VALUES ('x265 (WEB)', 'Not 2160p', '2160p');
INSERT INTO condition_quality_modifiers (custom_format_name, condition_name, quality_modifier)
VALUES ('Full Disc (Quality Match)', 'BRDISK', 'brdisk');
INSERT INTO condition_quality_modifiers (custom_format_name, condition_name, quality_modifier)
VALUES ('Remux (Quality Match)', 'Remux', 'remux');
INSERT INTO condition_release_types (custom_format_name, condition_name, release_type)
VALUES ('Season Pack', 'Season Pack', 'season_pack');

-- ============================================================================
-- MEDIA MANAGEMENT
-- ============================================================================

-- Media Settings

INSERT INTO radarr_media_settings (name, propers_repacks, enable_media_info) VALUES ('default', 'doNotPrefer', 1);
INSERT INTO sonarr_media_settings (name, propers_repacks, enable_media_info) VALUES ('default', 'doNotPrefer', 1);

-- Naming Configuration

INSERT INTO radarr_naming (name, rename, movie_format, movie_folder_format, replace_illegal_characters, colon_replacement_format) VALUES ('default', 1, '{Movie CleanTitle} {(Release Year)} {tmdb-{TmdbId}} {edition-{Edition Tags}} {[Custom Formats]}{[Quality Full]}{[MediaInfo 3D]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels]}{[Mediainfo VideoCodec]}{-Release Group}', '{Movie CleanTitle} ({Release Year}) {tmdb-{TmdbId}}', 0, 'smart');
INSERT INTO sonarr_naming (name, rename, standard_episode_format, daily_episode_format, anime_episode_format, series_folder_format, season_folder_format, replace_illegal_characters, colon_replacement_format, custom_colon_replacement_format, multi_episode_style) VALUES ('default', 1, '{Series TitleYear} - S{season:00}E{episode:00} - {Episode CleanTitle} {[Custom Formats]}{[Quality Full]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels]}{[MediaInfo VideoCodec]}{-Release Group}', '{Series TitleYear} - {Air-Date} - {Episode CleanTitle} {[Custom Formats]}{[Quality Full]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels]}{[MediaInfo VideoCodec]}{-Release Group}', '{Series TitleYear} - S{season:00}E{episode:00} - {absolute:000} - {Episode CleanTitle} {[Custom Formats]}{[Quality Full]}{[MediaInfo VideoDynamicRangeType]}[{MediaInfo VideoBitDepth}bit]{[MediaInfo VideoCodec]}[{Mediainfo AudioCodec} { Mediainfo AudioChannels}]{MediaInfo AudioLanguages}{-Release Group}', '{Series TitleYear} {tvdb-{TvdbId}}', 'Season {season:00}', 0, 4, NULL, 5);

-- Quality Definitions

INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'Bluray-1080p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'Bluray-2160p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'Bluray-480p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'Bluray-576p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'Bluray-720p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'BR-DISK';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'CAM';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'DVD';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'DVD-R';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'DVDSCR';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'HDTV-1080p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'HDTV-2160p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'HDTV-720p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'Raw-HD';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'REGIONAL';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'Remux-1080p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'Remux-2160p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'SDTV';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'TELECINE';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'TELESYNC';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'Unknown';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'WEBDL-1080p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'WEBDL-2160p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'WEBDL-480p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'WEBDL-720p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'WEBRip-1080p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'WEBRip-2160p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'WEBRip-480p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'WEBRip-720p';
INSERT INTO radarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 2000, 1990
FROM quality_api_mappings m
WHERE m.arr_type = 'radarr' AND m.api_name = 'WORKPRINT';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'Bluray-1080p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'Bluray-1080p Remux';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'Bluray-2160p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'Bluray-2160p Remux';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'Bluray-480p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'Bluray-576p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'Bluray-720p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'DVD';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'HDTV-1080p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'HDTV-2160p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'HDTV-720p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'Raw-HD';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'SDTV';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'Unknown';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'WEBDL-1080p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'WEBDL-2160p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'WEBDL-480p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'WEBDL-720p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'WEBRip-1080p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'WEBRip-2160p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'WEBRip-480p';
INSERT INTO sonarr_quality_definitions (name, quality_name, min_size, max_size, preferred_size)
SELECT 'default', m.quality_name, 0, 1000, 990
FROM quality_api_mappings m
WHERE m.arr_type = 'sonarr' AND m.api_name = 'WEBRip-720p';
