pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.76k stars 274 forks source link

[APP SUBMITTED]: ValueError: list.remove(x): x not in list #11448

Open nydave69 opened 1 year ago

nydave69 commented 1 year ago

INFO

Python Version: 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0] Operating System: Linux-5.19.0-50-generic-x86_64-with-glibc2.35 Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@3d656652ab277e47689483912ed7fc443e7023e8 Link to Log: https://gist.github.com/nydave69/e026a3018b7ec02d461dec1c9967854b

ERROR

2023-08-14 02:42:39 ERROR    SHOWQUEUE-REFRESH :: [3d65665] 73871: Error while refreshing show Futurama. Error: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.4.2
string=Futurama (1999) (S06E13) (2010-11-21) [eng] (720p-x264 BluRay AC3-6ch) The Futurama Holiday Spectacular
options={'expected_title': ['OSS 117', 'This is Us', 'The Worst Witch (UK) (1986)', 'The Twilight Zone 1961', 'The Twilight Zone 1959', 'The Twilight Zone 1962', 'The Twilight Zone 1963', 'The Twilight Zone 1960', 'The Twilight Zone 1964', 'Adam-12 (US) (1968)', "Rowan & Martin's Laugh-In (US) (1967)", 'Babylon5', 'Babylon 5', 'The A-Team (US) (1983)', 'Star Trek DS9', 'NOVA', "That '70s Show (US) (1998)", 'Buck Rogers in the 25th Century (US) (1978)', 'Stargate SG1', 'Stargate SG-1', 'The Flash Gordon Serials [1936-1940] (US) (1936)', 'Midsomer Murders 1997', 'Space 1999 (UK) (1974)', 'Nature', 'Nature 1982', 'American Experience', 'American Experience 1988', 'Futurama', 'Futurama 1999', 'Hawaii Five-O', 'Dispatches 1987', 'Dispatches', 'Scooby-Doo, Where Are You! (US) (1969)', 'My So-Called Life (US) (1994)', 'Room 222 (US) (1969)', 'Galactica 1980 (US) (1980)', 'Car 54 Where Are You (US) (1961)', "12 O'Clock High (US) (1964)"], 'allowed_countries': ['au', 'gb', 'us'], 'allowed_languages': ['ca', 'cs', 'de', 'en', 'es', 'fr', 'he', 'hi', 'hu', 'it', 'ja', 'ko', 'mul', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sv', 'te', 'uk', 'und', 'jp'], 'advanced_config': {'common_words': ['ca', 'cat', 'de', 'he', 'it', 'no', 'por', 'rum', 'se', 'st', 'sub'], 'groups': {'starting': '([{', 'ending': ')]}'}, 'audio_codec': {'audio_codec': {'MP3': {'string': ['MP3', 'LAME'], 'regex': ['LAME(?:\\d)+-?(?:\\d)+']}, 'MP2': 'MP2', 'Dolby Digital': {'string': ['Dolby', 'DolbyDigital'], 'regex': ['Dolby-Digital', 'DD', 'AC3D?']}, 'Dolby Atmos': {'string': ['Atmos'], 'regex': ['Dolby-?Atmos']}, 'AAC': 'AAC', 'Dolby Digital Plus': ['EAC3', 'DDP', 'DD+'], 'FLAC': 'Flac', 'DTS': 'DTS', 'DTS-HD': {'regex': ['DTS-?HD', 'DTS(?=-?MA)'], 'conflict_solver': "lambda match, other: other if other.name == 'audio_codec' else '__default__'"}, 'Dolby TrueHD': {'regex': ['True-?HD']}, 'Opus': 'Opus', 'Vorbis': 'Vorbis', 'PCM': 'PCM', 'LPCM': 'LPCM'}, 'audio_channels': {'1.0': ['1ch', 'mono', 're:(1[\\W_]0(?:ch)?)(?=[^\\d]|$)'], '2.0': ['2ch', 'stereo', {'regex': '(2[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'string': '20', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '5.1': ['5ch', '6ch', {'regex': '(5[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '(6[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '5[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '7.1': ['7ch', '8ch', {'regex': '(7[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '7[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}]}, 'audio_profile': {'Master Audio': {'string': 'MA', 'tags': ['audio_profile.rule', 'DTS-HD']}, 'High Resolution Audio': {'string': ['HR', 'HRA'], 'tags': ['audio_profile.rule', 'DTS-HD']}, 'Extended Surround': {'string': 'ES', 'tags': ['audio_profile.rule', 'DTS']}, 'High Efficiency': {'string': 'HE', 'tags': ['audio_profile.rule', 'AAC']}, 'Low Complexity': {'string': 'LC', 'tags': ['audio_profile.rule', 'AAC']}, 'High Quality': {'string': 'HQ', 'tags': ['audio_profile.rule', 'Dolby Digital']}, 'EX': {'string': 'EX', 'tags': ['audio_profile.rule', 'Dolby Digital']}}}, 'bit_rate': {'bit_rate': {'_': {'regex': ['\\d+-?[kmg]b(ps|its?)', '\\d+\\.\\d+-?[kmg]b(ps|its?)'], 'conflict_solver': "lambda match, other: match if other.name == 'audio_channels' and 'weak-audio_channels' not in other.tags else other", 'formatter': 'import:guessit.rules.common.quantity:BitRate.fromstring', 'tags': ['release-group-prefix']}}}, 'bonus': {'bonus': {'_': {'regex': 'x(\\d+)', 'private_parent': True, 'children': True, 'formatter': 'eval:int', 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True, 'conflict_solver': "lambda match, conflicting: match if conflicting.name in ('video_codec', 'episode') and 'weak-episode' not in conflicting.tags else '__default__'"}}}, 'cd': {'_cd_of_cd_count': {'regex': 'cd-?(?P\\d+)(?:-?of-?(?P\\d+))?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd': 'eval:int', 'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}, '_cd_count': {'regex': '(?P\\d+)-?cds?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}}, 'container': {'subtitles': ['srt', 'idx', 'sub', 'ssa', 'ass'], 'info': ['nfo'], 'videos': ['3g2', '3gp', '3gp2', 'asf', 'avi', 'divx', 'flv', 'iso', 'm4v', 'mk2', 'mk3d', 'mka', 'mkv', 'mov', 'mp4', 'mp4a', 'mpeg', 'mpg', 'ogg', 'ogm', 'ogv', 'qt', 'ra', 'ram', 'rm', 'ts', 'vob', 'wav', 'webm', 'wma', 'wmv'], 'torrent': ['torrent'], 'nzb': ['nzb']}, 'country': {'synonyms': {'ES': ['españa'], 'GB': ['UK'], 'BR': ['brazilian', 'bra'], 'CA': ['québec', 'quebec', 'qc'], 'MX': ['Latinoamérica', 'latin america']}}, 'edition': {'edition': {'Collector': {'string': ['collector'], 'regex': ["collector'?s?-edition", 'edition-collector']}, 'Special': [{'regex': ['special-edition', 'edition-special'], 'conflict_solver': "lambda match, other: other if other.name == 'episode_details' and other.value == 'Special' else '__default__'"}, {'string': 'se', 'tags': 'has-neighbor'}], "Director's Definitive Cut": 'ddc', 'Criterion': {'string': ['CC', 'Criterion'], 'regex': ['criterion-edition', 'edition-criterion']}, 'Deluxe': {'string': ['deluxe'], 'regex': ['deluxe-edition', 'edition-deluxe']}, 'Limited': {'string': ['limited'], 'regex': ['limited-edition'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Theatrical': {'string': ['theatrical'], 'regex': ['theatrical-cut', 'theatrical-edition']}, "Director's Cut": {'string': ['DC'], 'regex': ["director'?s?-cut", "director'?s?-cut-edition", "edition-director'?s?-cut"]}, 'Extended': {'string': ['extended'], 'regex': ['extended-?cut', 'extended-?version'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Alternative Cut': {'regex': ['alternat(e|ive)(?:-?Cut)?'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Remastered': [{'string': 'Remastered', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-remaster(?:ed)?', 'tags': ['release-group-prefix']}], 'Restored': [{'string': 'Restored', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-restore(?:d)?', 'tags': ['release-group-prefix']}], 'Uncensored': {'string': 'Uncensored', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Uncut': {'string': 'Uncut', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Unrated': {'string': 'Unrated', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Festival': {'string': 'Festival', 'tags': ['has-neighbor-before', 'has-neighbor-after']}, 'IMAX': {'string': ['imax'], 'regex': ['imax-edition']}, 'Fan': {'regex': ['fan-edit(?:ion)?', 'fan-collection']}, 'Ultimate': {'regex': ['ultimate-edition']}, '_Ultimate_Collector': {'regex': ["ultimate-collector'?s?-edition"], 'value': ['Ultimate', 'Collector']}, '_Ultimate_Fan': {'regex': ['ultimate-fan-edit(?:ion)?', 'ultimate-fan-collection'], 'value': ['Ultimate', 'Fan']}}}, 'episodes': {'season_max_range': 100, 'episode_max_range': 100, 'max_range_gap': 1, 'season_markers': ['s'], 'season_ep_markers': ['x'], 'disc_markers': ['d'], 'episode_markers': ['xe', 'ex', 'ep', 'e', 'x'], 'range_separators': ['-', '~', 'to', 'a'], 'discrete_separators': ['+', '&', 'and', 'et'], 'season_words': ['season', 'saison', 'seizoen', 'seasons', 'saisons', 'tem', 'temp', 'temporada', 'temporadas', 'stagione'], 'episode_words': ['episode', 'episodes', 'eps', 'ep', 'episodio', 'episodios', 'capitulo', 'capitulos'], 'of_words': ['of', 'sur'], 'all_words': ['All']}, 'film': {'film': {'_f': {'regex': 'f(\\d{1,2})', 'name': 'film', 'validate_all': True, 'validator': {'__parent__': 'import:seps_surround'}, 'private_parent': True, 'children': True, 'formatter': 'eval:int'}}}, 'language': {'synonyms': {'ell': ['gr', 'greek'], 'spa': ['esp', 'español', 'espanol'], 'fra': ['français', 'vf', 'vff', 'vfi', 'vfq'], 'swe': ['se'], 'por_BR': ['po', 'pb', 'pob', 'ptbr', 'br', 'brazilian'], 'deu_CH': ['swissgerman', 'swiss german'], 'nld_BE': ['flemish'], 'cat': ['català', 'castellano', 'espanol castellano', 'español castellano'], 'ces': ['cz'], 'ukr': ['ua'], 'zho': ['cn'], 'jpn': ['jp'], 'hrv': ['scr'], 'mul': ['multi', 'multiple', 'dl']}, 'subtitle_affixes': ['sub', 'subs', 'subtitle', 'subtitles', 'esub', 'esubs', 'subbed', 'custom subbed', 'custom subs', 'custom sub', 'customsubbed', 'customsubs', 'customsub', 'soft subtitles', 'soft subs'], 'subtitle_prefixes': ['st', 'vost', 'subforced', 'fansub', 'hardsub', 'legenda', 'legendas', 'legendado', 'subtitulado', 'soft'], 'subtitle_suffixes': ['subforced', 'fansub', 'hardsub'], 'language_affixes': ['dublado', 'dubbed', 'dub'], 'language_prefixes': ['true'], 'language_suffixes': ['audio'], 'weak_affixes': ['v', 'audio', 'true']}, 'other': {'other': {'Audio Fixed': {'regex': ['Audio-?Fix', 'Audio-?Fixed']}, 'Sync Fixed': {'regex': ['Sync-?Fix', 'Sync-?Fixed']}, 'Dual Audio': {'string': ['Dual'], 'regex': ['Dual-?Audio']}, 'Widescreen': {'string': ['ws'], 'regex': ['wide-?screen']}, 'Reencoded': {'regex': ['Re-?Enc(?:oded)?']}, '_repack_with_count': {'regex': ['Repack(?P\\d*)', 'Rerip(?P\\d*)'], 'value': {'other': 'Proper'}, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Proper': [{'string': 'Proper', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['Real-Proper', 'Real-Repack', 'Real-Rerip'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix', 'real']}, {'string': 'Real', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix', 'real']}], 'Fix': [{'string': ['Fix', 'Fixed'], 'tags': ['has-neighbor-before', 'has-neighbor-after', 'streaming_service.prefix', 'streaming_service.suffix']}, {'string': ['Dirfix', 'Nfofix', 'Prooffix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['(?:Proof-?)?Sample-?Fix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}], 'Fan Subtitled': {'string': 'Fansub', 'tags': 'has-neighbor'}, 'Fast Subtitled': {'string': 'Fastsub', 'tags': 'has-neighbor'}, 'Region 5': 'R5', 'Region C': 'RC', 'Preair': {'regex': 'Pre-?Air'}, 'PS Vita': [{'regex': '(?:PS-?)Vita'}, {'string': 'Vita', 'tags': 'has-neighbor'}], '_HdRip': {'value': {'other': 'HD', 'another': 'Rip'}, 'regex': ['(HD)(?PRip)'], 'private_parent': True, 'children': True, 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True}, 'Screener': ['Screener', {'regex': 'Scr(?:eener)?', 'validator': None, 'tags': ['other.validate.screener', 'source-prefix', 'source-suffix']}], 'Remux': 'Remux', 'Hybrid': 'Hybrid', 'PAL': 'PAL', 'SECAM': 'SECAM', 'NTSC': 'NTSC', 'XXX': 'XXX', '2in1': '2in1', '3D': {'string': '3D', 'tags': 'has-neighbor'}, 'High Quality': {'string': 'HQ', 'tags': 'uhdbluray-neighbor'}, 'High Resolution': 'HR', 'Line Dubbed': 'LD', 'Mic Dubbed': 'MD', 'Micro HD': ['mHD', 'HDLight'], 'Low Definition': 'LDTV', 'High Frame Rate': 'HFR', 'Variable Frame Rate': 'VFR', 'HD': {'string': 'HD', 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Full HD': {'string': ['FHD'], 'regex': ['Full-?HD'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Ultra HD': {'string': ['UHD'], 'regex': ['Ultra-?(?:HD)?'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Upscaled': {'regex': 'Upscaled?'}, 'Complete': {'string': ['Complet', 'Complete'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Classic': {'string': 'Classic', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Bonus': {'string': 'Bonus', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Trailer': {'string': 'Trailer', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Retail': {'string': 'Retail', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Colorized': {'string': 'Colorized', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Internal': {'string': 'Internal', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Line Audio': {'string': 'LiNE', 'tags': ['has-neighbor-before', 'has-neighbor-after', 'release-group-prefix']}, 'Read NFO': {'regex': 'Read-?NFO'}, 'Converted': {'string': 'CONVERT', 'tags': 'has-neighbor'}, 'Documentary': {'string': ['DOCU', 'DOKU'], 'tags': 'has-neighbor'}, 'Open Matte': {'regex': '(?:OM|Open-?Matte)', 'tags': 'has-neighbor'}, 'Straight to Video': {'string': 'STV', 'tags': 'has-neighbor'}, 'Original Aspect Ratio': {'string': 'OAR', 'tags': 'has-neighbor'}, 'East Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?East-?(?:Coast-)?Feed'}, 'West Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?West-?(?:Coast-)?Feed'}, 'Original Video': {'string': ['VO', 'OV'], 'tags': 'has-neighbor'}, 'Original Animated Video': {'string': ['Ova', 'Oav']}, 'Original Net Animation': 'Ona', 'Original Animation DVD': 'Oad', 'Mux': {'string': 'Mux', 'validator': 'import:seps_after', 'tags': ['other.validate.mux', 'video-codec-prefix', 'source-suffix']}, 'Hardcoded Subtitles': ['HC', 'vost'], 'Standard Dynamic Range': {'string': 'SDR', 'tags': 'uhdbluray-neighbor'}, 'HDR10': {'regex': 'HDR(?:10)?', 'tags': 'uhdbluray-neighbor'}, 'Dolby Vision': {'regex': 'Dolby-?Vision', 'tags': 'uhdbluray-neighbor'}, 'BT.2020': {'regex': 'BT-?2020', 'tags': 'uhdbluray-neighbor'}, 'Sample': {'string': 'Sample', 'tags': ['at-end', 'not-a-release-group']}, 'Extras': [{'string': 'Extras', 'tags': 'has-neighbor'}, {'regex': 'Digital-?Extras?'}], 'Proof': {'string': 'Proof', 'tags': ['at-end', 'not-a-release-group']}, 'Obfuscated': {'string': ['Obfuscated', 'Scrambled'], 'tags': ['at-end', 'not-a-release-group']}, 'Repost': {'string': ['xpost', 'postbot', 'asrequested'], 'tags': 'not-a-release-group'}, '_complete_words': {'callable': 'import:guessit.rules.properties.other:complete_words', 'season_words': ['seasons?', 'series?'], 'complete_article_words': ['The']}}}, 'part': {'prefixes': ['pt', 'part']}, 'release_group': {'forbidden_names': ['bonus', 'by', 'for', 'par', 'pour', 'rip'], 'ignored_seps': '[]{}()'}, 'screen_size': {'frame_rates': ['23\\.976', '24(?:\\.0{1,3})?', '25(?:\\.0{1,3})?', '29\\.970', '30(?:\\.0{1,3})?', '48(?:\\.0{1,3})?', '50(?:\\.0{1,3})?', '60(?:\\.0{1,3})?', '120(?:\\.0{1,3})?'], 'min_ar': 1.333, 'max_ar': 1.898, 'interlaced': ['360', '480', '540', '576', '900', '1080'], 'progressive': ['360', '480', '540', '576', '900', '1080', '368', '720', '1440', '2160', '4320']}, 'source': {'rip_prefix': '(?PRip)-?', 'rip_suffix': '-?(?PRip)'}, 'website': {'safe_tlds': ['com', 'net', 'org'], 'safe_subdomains': ['www'], 'safe_prefixes': ['co', 'com', 'net', 'org'], 'prefixes': ['from']}, 'streaming_service': {'9Now': '9NOW', 'A&E': ['AE', 'A&E'], 'ABC': 'AMBC', 'ABC Australia': 'AUBC', 'Al Jazeera English': 'AJAZ', 'AMC': 'AMC', 'Amazon Prime': ['AMZN', 'Amazon', 're:Amazon-?Prime'], 'Adult Swim': ['AS', 're:Adult-?Swim'], "America's Test Kitchen": 'ATK', 'Animal Planet': 'ANPL', 'AnimeLab': 'ANLB', 'AOL': 'AOL', 'AppleTV': ['ATVP', 'ATV+', 'APTV'], 'ARD': 'ARD', 'BBC iPlayer': ['iP', 're:BBC-?iPlayer'], 'Binge': 'BNGE', 'Blackpills': 'BKPL', 'BluTV': 'BLU', 'Boomerang': 'BOOM', 'Disney+': 'DSNP', 'BravoTV': 'BRAV', 'Canal+': 'CNLP', 'Cartoon Network': 'CN', 'CBC': 'CBC', 'CBS': 'CBS', 'CNBC': 'CNBC', 'Comedy Central': ['CC', 're:Comedy-?Central'], 'Channel 4': ['ALL4', '4OD'], 'CHRGD': 'CHGD', 'Cinemax': 'CMAX', 'Country Music Television': 'CMT', 'Comedians in Cars Getting Coffee': 'CCGC', 'Crave': 'CRAV', 'Crunchy Roll': ['CR', 're:Crunchy-?Roll'], 'Crackle': 'CRKL', 'CSpan': 'CSPN', 'CTV': 'CTV', 'CuriosityStream': 'CUR', 'CWSeed': 'CWS', 'Daisuki': 'DSKI', 'DC Universe': 'DCU', 'Deadhouse Films': 'DHF', 'DramaFever': ['DF', 'DramaFever'], 'Digiturk Diledigin Yerde': 'DDY', 'Discovery': ['DISC', 'Discovery'], 'Discovery Plus': 'DSCP', 'Disney': ['DSNY', 'Disney'], 'DIY Network': 'DIY', 'Doc Club': 'DOCC', 'DPlay': 'DPLY', 'E!': 'ETV', 'ePix': 'EPIX', 'El Trece': 'ETTV', 'ESPN': 'ESPN', 'Esquire': 'ESQ', 'Facebook Watch': 'FBWatch', 'Family': 'FAM', 'Family Jr': 'FJR', 'Fandor': 'FANDOR', 'Food Network': 'FOOD', 'Fox': 'FOX', 'Fox Premium': 'FOXP', 'Foxtel': 'FXTL', 'Freeform': 'FREE', 'FYI Network': 'FYI', 'GagaOOLala': 'Gaga', 'Global': 'GLBL', 'GloboSat Play': 'GLOB', 'Hallmark': 'HLMK', 'HBO Go': ['HBO', 're:HBO-?Go'], 'HBO Max': 'HMAX', 'HGTV': 'HGTV', 'History': ['HIST', 'History'], 'Hulu': 'HULU', 'Investigation Discovery': 'ID', 'IFC': 'IFC', 'hoichoi': 'HoiChoi', 'iflix': 'IFX', 'iQIYI': 'iQIYI', 'iTunes': ['iTunes', {'pattern': 'iT', 'ignore_case': False}], 'ITV': 'ITV', 'Knowledge Network': 'KNOW', 'Lifetime': 'LIFE', 'Motor Trend OnDemand': 'MTOD', 'MBC': ['MBC', 'MBCVOD'], 'MSNBC': 'MNBC', 'MTV': 'MTV', 'MUBI': 'MUBI', 'National Audiovisual Institute': 'INA', 'National Film Board': 'NFB', 'National Geographic': ['NATG', 're:National-?Geographic'], 'NBA TV': ['NBA', 're:NBA-?TV'], 'NBC': 'NBC', 'Netflix': ['NF', 'Netflix'], 'NFL': 'NFL', 'NFL Now': 'NFLN', 'NHL GameCenter': 'GC', 'Nickelodeon': ['NICK', 'Nickelodeon', 'NICKAPP'], 'Norsk Rikskringkasting': 'NRK', 'OnDemandKorea': ['ODK', 'OnDemandKorea'], 'Opto': 'OPTO', 'Oprah Winfrey Network': 'OWN', 'PBS': 'PBS', 'PBS Kids': 'PBSK', 'Peacock': ['PCOK', 'Peacock'], 'Playstation Network': 'PSN', 'Pluzz': 'PLUZ', 'PokerGO': 'POGO', 'Rakuten TV': 'RKTN', 'The Roku Channel': 'ROKU', 'RTE One': 'RTE', 'RUUTU': 'RUUTU', 'SBS': 'SBS', 'Science Channel': 'SCI', 'SeeSo': ['SESO', 'SeeSo'], 'Shomi': 'SHMI', 'Showtime': 'SHO', 'Sony': 'SONY', 'Spike': 'SPIK', 'Spike TV': ['SPKE', 're:Spike-?TV'], 'Sportsnet': 'SNET', 'Sprout': 'SPRT', 'Stan': 'STAN', 'Starz': 'STZ', 'Sveriges Television': 'SVT', 'SwearNet': 'SWER', 'Syfy': 'SYFY', 'TBS': 'TBS', 'TFou': 'TFOU', 'The CW': ['CW', 're:The-?CW'], 'TLC': 'TLC', 'TubiTV': 'TUBI', 'TV3 Ireland': 'TV3', 'TV4 Sweeden': 'TV4', 'TVING': 'TVING', 'TV Land': ['TVL', 're:TV-?Land'], 'TVNZ': 'TVNZ', 'UFC': 'UFC', 'UFC Fight Pass': 'FP', 'UKTV': 'UKTV', 'Univision': 'UNIV', 'USA Network': 'USAN', 'Velocity': 'VLCT', 'VH1': 'VH1', 'Viceland': 'VICE', 'Viki': 'VIKI', 'Vimeo': 'VMEO', 'VRV': 'VRV', 'W Network': 'WNET', 'WatchMe': 'WME', 'WWE Network': 'WWEN', 'Xbox Video': 'XBOX', 'Yahoo': 'YHOO', 'YouTube Red': 'RED', 'ZDF': 'ZDF'}}, 'show_type': 'normal', 'type': 'episode', 'implicit': True, 'episode_prefer_number': False, 'expected_group': ['TV2LAX9', 'DHD', '20-40', 'E7']}
--------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/medusa_1900/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
  File "/opt/medusa_1900/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/opt/medusa_1900/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/opt/medusa_1900/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
  File "/opt/medusa_1900/ext/rebulk/rules.py", line 331, in execute_rule
    when_response = rule.when(matches, context)
  File "/opt/medusa_1900/ext/guessit/rules/properties/release_group.py", line 294, in when
    matches.remove(ignored_match)
  File "/usr/lib/python3.10/_collections_abc.py", line 1158, in remove
  File "/opt/medusa_1900/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/opt/medusa_1900/ext/rebulk/match.py", line 129, in _remove_match
    _BaseMatches._base_remove(self._tag_dict[tag], match)
ValueError: list.remove(x): x not in list
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================
Traceback (most recent call last):
  File "/opt/medusa_1900/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
  File "/opt/medusa_1900/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/opt/medusa_1900/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/opt/medusa_1900/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
  File "/opt/medusa_1900/ext/rebulk/rules.py", line 331, in execute_rule
    when_response = rule.when(matches, context)
  File "/opt/medusa_1900/ext/guessit/rules/properties/release_group.py", line 294, in when
    matches.remove(ignored_match)
  File "/usr/lib/python3.10/_collections_abc.py", line 1158, in remove
  File "/opt/medusa_1900/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/opt/medusa_1900/ext/rebulk/match.py", line 129, in _remove_match
    _BaseMatches._base_remove(self._tag_dict[tag], match)
ValueError: list.remove(x): x not in list

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/medusa_1900/medusa/queues/show_queue.py", line 758, in run
    self.show.refresh_dir()
  File "/opt/medusa_1900/medusa/tv/series.py", line 2117, in refresh_dir
    self.load_episodes_from_dir()
  File "/opt/medusa_1900/medusa/tv/series.py", line 1136, in load_episodes_from_dir
    parse_result = NameParser(series=self, try_indexers=True).parse(ep_file_name)
  File "/opt/medusa_1900/medusa/name_parser/parser.py", line 451, in parse
    result = self._parse_string(name)
  File "/opt/medusa_1900/medusa/name_parser/parser.py", line 344, in _parse_string
    guess = guessit.guessit(name, dict(show_type=self.show_type))
  File "/opt/medusa_1900/medusa/name_parser/guessit_parser.py", line 91, in guessit
    result = default_api.guessit(name, options=final_options)
  File "/opt/medusa_1900/ext/guessit/api.py", line 225, in guessit
    raise GuessitException(string, options) from err
guessit.api.GuessitException: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.4.2
string=Futurama (1999) (S06E13) (2010-11-21) [eng] (720p-x264 BluRay AC3-6ch) The Futurama Holiday Spectacular
options={'expected_title': ['OSS 117', 'This is Us', 'The Worst Witch (UK) (1986)', 'The Twilight Zone 1961', 'The Twilight Zone 1959', 'The Twilight Zone 1962', 'The Twilight Zone 1963', 'The Twilight Zone 1960', 'The Twilight Zone 1964', 'Adam-12 (US) (1968)', "Rowan & Martin's Laugh-In (US) (1967)", 'Babylon5', 'Babylon 5', 'The A-Team (US) (1983)', 'Star Trek DS9', 'NOVA', "That '70s Show (US) (1998)", 'Buck Rogers in the 25th Century (US) (1978)', 'Stargate SG1', 'Stargate SG-1', 'The Flash Gordon Serials [1936-1940] (US) (1936)', 'Midsomer Murders 1997', 'Space 1999 (UK) (1974)', 'Nature', 'Nature 1982', 'American Experience', 'American Experience 1988', 'Futurama', 'Futurama 1999', 'Hawaii Five-O', 'Dispatches 1987', 'Dispatches', 'Scooby-Doo, Where Are You! (US) (1969)', 'My So-Called Life (US) (1994)', 'Room 222 (US) (1969)', 'Galactica 1980 (US) (1980)', 'Car 54 Where Are You (US) (1961)', "12 O'Clock High (US) (1964)"], 'allowed_countries': ['au', 'gb', 'us'], 'allowed_languages': ['ca', 'cs', 'de', 'en', 'es', 'fr', 'he', 'hi', 'hu', 'it', 'ja', 'ko', 'mul', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sv', 'te', 'uk', 'und', 'jp'], 'advanced_config': {'common_words': ['ca', 'cat', 'de', 'he', 'it', 'no', 'por', 'rum', 'se', 'st', 'sub'], 'groups': {'starting': '([{', 'ending': ')]}'}, 'audio_codec': {'audio_codec': {'MP3': {'string': ['MP3', 'LAME'], 'regex': ['LAME(?:\\d)+-?(?:\\d)+']}, 'MP2': 'MP2', 'Dolby Digital': {'string': ['Dolby', 'DolbyDigital'], 'regex': ['Dolby-Digital', 'DD', 'AC3D?']}, 'Dolby Atmos': {'string': ['Atmos'], 'regex': ['Dolby-?Atmos']}, 'AAC': 'AAC', 'Dolby Digital Plus': ['EAC3', 'DDP', 'DD+'], 'FLAC': 'Flac', 'DTS': 'DTS', 'DTS-HD': {'regex': ['DTS-?HD', 'DTS(?=-?MA)'], 'conflict_solver': "lambda match, other: other if other.name == 'audio_codec' else '__default__'"}, 'Dolby TrueHD': {'regex': ['True-?HD']}, 'Opus': 'Opus', 'Vorbis': 'Vorbis', 'PCM': 'PCM', 'LPCM': 'LPCM'}, 'audio_channels': {'1.0': ['1ch', 'mono', 're:(1[\\W_]0(?:ch)?)(?=[^\\d]|$)'], '2.0': ['2ch', 'stereo', {'regex': '(2[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'string': '20', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '5.1': ['5ch', '6ch', {'regex': '(5[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '(6[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '5[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '7.1': ['7ch', '8ch', {'regex': '(7[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '7[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}]}, 'audio_profile': {'Master Audio': {'string': 'MA', 'tags': ['audio_profile.rule', 'DTS-HD']}, 'High Resolution Audio': {'string': ['HR', 'HRA'], 'tags': ['audio_profile.rule', 'DTS-HD']}, 'Extended Surround': {'string': 'ES', 'tags': ['audio_profile.rule', 'DTS']}, 'High Efficiency': {'string': 'HE', 'tags': ['audio_profile.rule', 'AAC']}, 'Low Complexity': {'string': 'LC', 'tags': ['audio_profile.rule', 'AAC']}, 'High Quality': {'string': 'HQ', 'tags': ['audio_profile.rule', 'Dolby Digital']}, 'EX': {'string': 'EX', 'tags': ['audio_profile.rule', 'Dolby Digital']}}}, 'bit_rate': {'bit_rate': {'_': {'regex': ['\\d+-?[kmg]b(ps|its?)', '\\d+\\.\\d+-?[kmg]b(ps|its?)'], 'conflict_solver': "lambda match, other: match if other.name == 'audio_channels' and 'weak-audio_channels' not in other.tags else other", 'formatter': 'import:guessit.rules.common.quantity:BitRate.fromstring', 'tags': ['release-group-prefix']}}}, 'bonus': {'bonus': {'_': {'regex': 'x(\\d+)', 'private_parent': True, 'children': True, 'formatter': 'eval:int', 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True, 'conflict_solver': "lambda match, conflicting: match if conflicting.name in ('video_codec', 'episode') and 'weak-episode' not in conflicting.tags else '__default__'"}}}, 'cd': {'_cd_of_cd_count': {'regex': 'cd-?(?P\\d+)(?:-?of-?(?P\\d+))?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd': 'eval:int', 'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}, '_cd_count': {'regex': '(?P\\d+)-?cds?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}}, 'container': {'subtitles': ['srt', 'idx', 'sub', 'ssa', 'ass'], 'info': ['nfo'], 'videos': ['3g2', '3gp', '3gp2', 'asf', 'avi', 'divx', 'flv', 'iso', 'm4v', 'mk2', 'mk3d', 'mka', 'mkv', 'mov', 'mp4', 'mp4a', 'mpeg', 'mpg', 'ogg', 'ogm', 'ogv', 'qt', 'ra', 'ram', 'rm', 'ts', 'vob', 'wav', 'webm', 'wma', 'wmv'], 'torrent': ['torrent'], 'nzb': ['nzb']}, 'country': {'synonyms': {'ES': ['españa'], 'GB': ['UK'], 'BR': ['brazilian', 'bra'], 'CA': ['québec', 'quebec', 'qc'], 'MX': ['Latinoamérica', 'latin america']}}, 'edition': {'edition': {'Collector': {'string': ['collector'], 'regex': ["collector'?s?-edition", 'edition-collector']}, 'Special': [{'regex': ['special-edition', 'edition-special'], 'conflict_solver': "lambda match, other: other if other.name == 'episode_details' and other.value == 'Special' else '__default__'"}, {'string': 'se', 'tags': 'has-neighbor'}], "Director's Definitive Cut": 'ddc', 'Criterion': {'string': ['CC', 'Criterion'], 'regex': ['criterion-edition', 'edition-criterion']}, 'Deluxe': {'string': ['deluxe'], 'regex': ['deluxe-edition', 'edition-deluxe']}, 'Limited': {'string': ['limited'], 'regex': ['limited-edition'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Theatrical': {'string': ['theatrical'], 'regex': ['theatrical-cut', 'theatrical-edition']}, "Director's Cut": {'string': ['DC'], 'regex': ["director'?s?-cut", "director'?s?-cut-edition", "edition-director'?s?-cut"]}, 'Extended': {'string': ['extended'], 'regex': ['extended-?cut', 'extended-?version'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Alternative Cut': {'regex': ['alternat(e|ive)(?:-?Cut)?'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Remastered': [{'string': 'Remastered', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-remaster(?:ed)?', 'tags': ['release-group-prefix']}], 'Restored': [{'string': 'Restored', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-restore(?:d)?', 'tags': ['release-group-prefix']}], 'Uncensored': {'string': 'Uncensored', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Uncut': {'string': 'Uncut', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Unrated': {'string': 'Unrated', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Festival': {'string': 'Festival', 'tags': ['has-neighbor-before', 'has-neighbor-after']}, 'IMAX': {'string': ['imax'], 'regex': ['imax-edition']}, 'Fan': {'regex': ['fan-edit(?:ion)?', 'fan-collection']}, 'Ultimate': {'regex': ['ultimate-edition']}, '_Ultimate_Collector': {'regex': ["ultimate-collector'?s?-edition"], 'value': ['Ultimate', 'Collector']}, '_Ultimate_Fan': {'regex': ['ultimate-fan-edit(?:ion)?', 'ultimate-fan-collection'], 'value': ['Ultimate', 'Fan']}}}, 'episodes': {'season_max_range': 100, 'episode_max_range': 100, 'max_range_gap': 1, 'season_markers': ['s'], 'season_ep_markers': ['x'], 'disc_markers': ['d'], 'episode_markers': ['xe', 'ex', 'ep', 'e', 'x'], 'range_separators': ['-', '~', 'to', 'a'], 'discrete_separators': ['+', '&', 'and', 'et'], 'season_words': ['season', 'saison', 'seizoen', 'seasons', 'saisons', 'tem', 'temp', 'temporada', 'temporadas', 'stagione'], 'episode_words': ['episode', 'episodes', 'eps', 'ep', 'episodio', 'episodios', 'capitulo', 'capitulos'], 'of_words': ['of', 'sur'], 'all_words': ['All']}, 'film': {'film': {'_f': {'regex': 'f(\\d{1,2})', 'name': 'film', 'validate_all': True, 'validator': {'__parent__': 'import:seps_surround'}, 'private_parent': True, 'children': True, 'formatter': 'eval:int'}}}, 'language': {'synonyms': {'ell': ['gr', 'greek'], 'spa': ['esp', 'español', 'espanol'], 'fra': ['français', 'vf', 'vff', 'vfi', 'vfq'], 'swe': ['se'], 'por_BR': ['po', 'pb', 'pob', 'ptbr', 'br', 'brazilian'], 'deu_CH': ['swissgerman', 'swiss german'], 'nld_BE': ['flemish'], 'cat': ['català', 'castellano', 'espanol castellano', 'español castellano'], 'ces': ['cz'], 'ukr': ['ua'], 'zho': ['cn'], 'jpn': ['jp'], 'hrv': ['scr'], 'mul': ['multi', 'multiple', 'dl']}, 'subtitle_affixes': ['sub', 'subs', 'subtitle', 'subtitles', 'esub', 'esubs', 'subbed', 'custom subbed', 'custom subs', 'custom sub', 'customsubbed', 'customsubs', 'customsub', 'soft subtitles', 'soft subs'], 'subtitle_prefixes': ['st', 'vost', 'subforced', 'fansub', 'hardsub', 'legenda', 'legendas', 'legendado', 'subtitulado', 'soft'], 'subtitle_suffixes': ['subforced', 'fansub', 'hardsub'], 'language_affixes': ['dublado', 'dubbed', 'dub'], 'language_prefixes': ['true'], 'language_suffixes': ['audio'], 'weak_affixes': ['v', 'audio', 'true']}, 'other': {'other': {'Audio Fixed': {'regex': ['Audio-?Fix', 'Audio-?Fixed']}, 'Sync Fixed': {'regex': ['Sync-?Fix', 'Sync-?Fixed']}, 'Dual Audio': {'string': ['Dual'], 'regex': ['Dual-?Audio']}, 'Widescreen': {'string': ['ws'], 'regex': ['wide-?screen']}, 'Reencoded': {'regex': ['Re-?Enc(?:oded)?']}, '_repack_with_count': {'regex': ['Repack(?P\\d*)', 'Rerip(?P\\d*)'], 'value': {'other': 'Proper'}, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Proper': [{'string': 'Proper', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['Real-Proper', 'Real-Repack', 'Real-Rerip'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix', 'real']}, {'string': 'Real', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix', 'real']}], 'Fix': [{'string': ['Fix', 'Fixed'], 'tags': ['has-neighbor-before', 'has-neighbor-after', 'streaming_service.prefix', 'streaming_service.suffix']}, {'string': ['Dirfix', 'Nfofix', 'Prooffix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['(?:Proof-?)?Sample-?Fix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}], 'Fan Subtitled': {'string': 'Fansub', 'tags': 'has-neighbor'}, 'Fast Subtitled': {'string': 'Fastsub', 'tags': 'has-neighbor'}, 'Region 5': 'R5', 'Region C': 'RC', 'Preair': {'regex': 'Pre-?Air'}, 'PS Vita': [{'regex': '(?:PS-?)Vita'}, {'string': 'Vita', 'tags': 'has-neighbor'}], '_HdRip': {'value': {'other': 'HD', 'another': 'Rip'}, 'regex': ['(HD)(?PRip)'], 'private_parent': True, 'children': True, 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True}, 'Screener': ['Screener', {'regex': 'Scr(?:eener)?', 'validator': None, 'tags': ['other.validate.screener', 'source-prefix', 'source-suffix']}], 'Remux': 'Remux', 'Hybrid': 'Hybrid', 'PAL': 'PAL', 'SECAM': 'SECAM', 'NTSC': 'NTSC', 'XXX': 'XXX', '2in1': '2in1', '3D': {'string': '3D', 'tags': 'has-neighbor'}, 'High Quality': {'string': 'HQ', 'tags': 'uhdbluray-neighbor'}, 'High Resolution': 'HR', 'Line Dubbed': 'LD', 'Mic Dubbed': 'MD', 'Micro HD': ['mHD', 'HDLight'], 'Low Definition': 'LDTV', 'High Frame Rate': 'HFR', 'Variable Frame Rate': 'VFR', 'HD': {'string': 'HD', 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Full HD': {'string': ['FHD'], 'regex': ['Full-?HD'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Ultra HD': {'string': ['UHD'], 'regex': ['Ultra-?(?:HD)?'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Upscaled': {'regex': 'Upscaled?'}, 'Complete': {'string': ['Complet', 'Complete'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Classic': {'string': 'Classic', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Bonus': {'string': 'Bonus', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Trailer': {'string': 'Trailer', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Retail': {'string': 'Retail', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Colorized': {'string': 'Colorized', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Internal': {'string': 'Internal', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Line Audio': {'string': 'LiNE', 'tags': ['has-neighbor-before', 'has-neighbor-after', 'release-group-prefix']}, 'Read NFO': {'regex': 'Read-?NFO'}, 'Converted': {'string': 'CONVERT', 'tags': 'has-neighbor'}, 'Documentary': {'string': ['DOCU', 'DOKU'], 'tags': 'has-neighbor'}, 'Open Matte': {'regex': '(?:OM|Open-?Matte)', 'tags': 'has-neighbor'}, 'Straight to Video': {'string': 'STV', 'tags': 'has-neighbor'}, 'Original Aspect Ratio': {'string': 'OAR', 'tags': 'has-neighbor'}, 'East Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?East-?(?:Coast-)?Feed'}, 'West Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?West-?(?:Coast-)?Feed'}, 'Original Video': {'string': ['VO', 'OV'], 'tags': 'has-neighbor'}, 'Original Animated Video': {'string': ['Ova', 'Oav']}, 'Original Net Animation': 'Ona', 'Original Animation DVD': 'Oad', 'Mux': {'string': 'Mux', 'validator': 'import:seps_after', 'tags': ['other.validate.mux', 'video-codec-prefix', 'source-suffix']}, 'Hardcoded Subtitles': ['HC', 'vost'], 'Standard Dynamic Range': {'string': 'SDR', 'tags': 'uhdbluray-neighbor'}, 'HDR10': {'regex': 'HDR(?:10)?', 'tags': 'uhdbluray-neighbor'}, 'Dolby Vision': {'regex': 'Dolby-?Vision', 'tags': 'uhdbluray-neighbor'}, 'BT.2020': {'regex': 'BT-?2020', 'tags': 'uhdbluray-neighbor'}, 'Sample': {'string': 'Sample', 'tags': ['at-end', 'not-a-release-group']}, 'Extras': [{'string': 'Extras', 'tags': 'has-neighbor'}, {'regex': 'Digital-?Extras?'}], 'Proof': {'string': 'Proof', 'tags': ['at-end', 'not-a-release-group']}, 'Obfuscated': {'string': ['Obfuscated', 'Scrambled'], 'tags': ['at-end', 'not-a-release-group']}, 'Repost': {'string': ['xpost', 'postbot', 'asrequested'], 'tags': 'not-a-release-group'}, '_complete_words': {'callable': 'import:guessit.rules.properties.other:complete_words', 'season_words': ['seasons?', 'series?'], 'complete_article_words': ['The']}}}, 'part': {'prefixes': ['pt', 'part']}, 'release_group': {'forbidden_names': ['bonus', 'by', 'for', 'par', 'pour', 'rip'], 'ignored_seps': '[]{}()'}, 'screen_size': {'frame_rates': ['23\\.976', '24(?:\\.0{1,3})?', '25(?:\\.0{1,3})?', '29\\.970', '30(?:\\.0{1,3})?', '48(?:\\.0{1,3})?', '50(?:\\.0{1,3})?', '60(?:\\.0{1,3})?', '120(?:\\.0{1,3})?'], 'min_ar': 1.333, 'max_ar': 1.898, 'interlaced': ['360', '480', '540', '576', '900', '1080'], 'progressive': ['360', '480', '540', '576', '900', '1080', '368', '720', '1440', '2160', '4320']}, 'source': {'rip_prefix': '(?PRip)-?', 'rip_suffix': '-?(?PRip)'}, 'website': {'safe_tlds': ['com', 'net', 'org'], 'safe_subdomains': ['www'], 'safe_prefixes': ['co', 'com', 'net', 'org'], 'prefixes': ['from']}, 'streaming_service': {'9Now': '9NOW', 'A&E': ['AE', 'A&E'], 'ABC': 'AMBC', 'ABC Australia': 'AUBC', 'Al Jazeera English': 'AJAZ', 'AMC': 'AMC', 'Amazon Prime': ['AMZN', 'Amazon', 're:Amazon-?Prime'], 'Adult Swim': ['AS', 're:Adult-?Swim'], "America's Test Kitchen": 'ATK', 'Animal Planet': 'ANPL', 'AnimeLab': 'ANLB', 'AOL': 'AOL', 'AppleTV': ['ATVP', 'ATV+', 'APTV'], 'ARD': 'ARD', 'BBC iPlayer': ['iP', 're:BBC-?iPlayer'], 'Binge': 'BNGE', 'Blackpills': 'BKPL', 'BluTV': 'BLU', 'Boomerang': 'BOOM', 'Disney+': 'DSNP', 'BravoTV': 'BRAV', 'Canal+': 'CNLP', 'Cartoon Network': 'CN', 'CBC': 'CBC', 'CBS': 'CBS', 'CNBC': 'CNBC', 'Comedy Central': ['CC', 're:Comedy-?Central'], 'Channel 4': ['ALL4', '4OD'], 'CHRGD': 'CHGD', 'Cinemax': 'CMAX', 'Country Music Television': 'CMT', 'Comedians in Cars Getting Coffee': 'CCGC', 'Crave': 'CRAV', 'Crunchy Roll': ['CR', 're:Crunchy-?Roll'], 'Crackle': 'CRKL', 'CSpan': 'CSPN', 'CTV': 'CTV', 'CuriosityStream': 'CUR', 'CWSeed': 'CWS', 'Daisuki': 'DSKI', 'DC Universe': 'DCU', 'Deadhouse Films': 'DHF', 'DramaFever': ['DF', 'DramaFever'], 'Digiturk Diledigin Yerde': 'DDY', 'Discovery': ['DISC', 'Discovery'], 'Discovery Plus': 'DSCP', 'Disney': ['DSNY', 'Disney'], 'DIY Network': 'DIY', 'Doc Club': 'DOCC', 'DPlay': 'DPLY', 'E!': 'ETV', 'ePix': 'EPIX', 'El Trece': 'ETTV', 'ESPN': 'ESPN', 'Esquire': 'ESQ', 'Facebook Watch': 'FBWatch', 'Family': 'FAM', 'Family Jr': 'FJR', 'Fandor': 'FANDOR', 'Food Network': 'FOOD', 'Fox': 'FOX', 'Fox Premium': 'FOXP', 'Foxtel': 'FXTL', 'Freeform': 'FREE', 'FYI Network': 'FYI', 'GagaOOLala': 'Gaga', 'Global': 'GLBL', 'GloboSat Play': 'GLOB', 'Hallmark': 'HLMK', 'HBO Go': ['HBO', 're:HBO-?Go'], 'HBO Max': 'HMAX', 'HGTV': 'HGTV', 'History': ['HIST', 'History'], 'Hulu': 'HULU', 'Investigation Discovery': 'ID', 'IFC': 'IFC', 'hoichoi': 'HoiChoi', 'iflix': 'IFX', 'iQIYI': 'iQIYI', 'iTunes': ['iTunes', {'pattern': 'iT', 'ignore_case': False}], 'ITV': 'ITV', 'Knowledge Network': 'KNOW', 'Lifetime': 'LIFE', 'Motor Trend OnDemand': 'MTOD', 'MBC': ['MBC', 'MBCVOD'], 'MSNBC': 'MNBC', 'MTV': 'MTV', 'MUBI': 'MUBI', 'National Audiovisual Institute': 'INA', 'National Film Board': 'NFB', 'National Geographic': ['NATG', 're:National-?Geographic'], 'NBA TV': ['NBA', 're:NBA-?TV'], 'NBC': 'NBC', 'Netflix': ['NF', 'Netflix'], 'NFL': 'NFL', 'NFL Now': 'NFLN', 'NHL GameCenter': 'GC', 'Nickelodeon': ['NICK', 'Nickelodeon', 'NICKAPP'], 'Norsk Rikskringkasting': 'NRK', 'OnDemandKorea': ['ODK', 'OnDemandKorea'], 'Opto': 'OPTO', 'Oprah Winfrey Network': 'OWN', 'PBS': 'PBS', 'PBS Kids': 'PBSK', 'Peacock': ['PCOK', 'Peacock'], 'Playstation Network': 'PSN', 'Pluzz': 'PLUZ', 'PokerGO': 'POGO', 'Rakuten TV': 'RKTN', 'The Roku Channel': 'ROKU', 'RTE One': 'RTE', 'RUUTU': 'RUUTU', 'SBS': 'SBS', 'Science Channel': 'SCI', 'SeeSo': ['SESO', 'SeeSo'], 'Shomi': 'SHMI', 'Showtime': 'SHO', 'Sony': 'SONY', 'Spike': 'SPIK', 'Spike TV': ['SPKE', 're:Spike-?TV'], 'Sportsnet': 'SNET', 'Sprout': 'SPRT', 'Stan': 'STAN', 'Starz': 'STZ', 'Sveriges Television': 'SVT', 'SwearNet': 'SWER', 'Syfy': 'SYFY', 'TBS': 'TBS', 'TFou': 'TFOU', 'The CW': ['CW', 're:The-?CW'], 'TLC': 'TLC', 'TubiTV': 'TUBI', 'TV3 Ireland': 'TV3', 'TV4 Sweeden': 'TV4', 'TVING': 'TVING', 'TV Land': ['TVL', 're:TV-?Land'], 'TVNZ': 'TVNZ', 'UFC': 'UFC', 'UFC Fight Pass': 'FP', 'UKTV': 'UKTV', 'Univision': 'UNIV', 'USA Network': 'USAN', 'Velocity': 'VLCT', 'VH1': 'VH1', 'Viceland': 'VICE', 'Viki': 'VIKI', 'Vimeo': 'VMEO', 'VRV': 'VRV', 'W Network': 'WNET', 'WatchMe': 'WME', 'WWE Network': 'WWEN', 'Xbox Video': 'XBOX', 'Yahoo': 'YHOO', 'YouTube Red': 'RED', 'ZDF': 'ZDF'}}, 'show_type': 'normal', 'type': 'episode', 'implicit': True, 'episode_prefer_number': False, 'expected_group': ['TV2LAX9', 'DHD', '20-40', 'E7']}
--------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/medusa_1900/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
  File "/opt/medusa_1900/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/opt/medusa_1900/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/opt/medusa_1900/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
  File "/opt/medusa_1900/ext/rebulk/rules.py", line 331, in execute_rule
    when_response = rule.when(matches, context)
  File "/opt/medusa_1900/ext/guessit/rules/properties/release_group.py", line 294, in when
    matches.remove(ignored_match)
  File "/usr/lib/python3.10/_collections_abc.py", line 1158, in remove
  File "/opt/medusa_1900/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/opt/medusa_1900/ext/rebulk/match.py", line 129, in _remove_match
    _BaseMatches._base_remove(self._tag_dict[tag], match)
ValueError: list.remove(x): x not in list
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

ComplexIOd commented 1 year ago

INFO

Python Version: 3.11.4 (main, Jun 9 2023, 02:29:05) [GCC 12.2.1 20220924] Operating System: Linux-5.15.0-78-generic-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@ Link to Log: https://gist.github.com/ComplexIOd/94d7be0b2d5c76bcaf54eb54c3ba2e39

ERROR

2023-08-24 20:52:35 ERROR    SHOWQUEUE-REFRESH :: [] 43517: Error while refreshing show She-Hulk: Attorney at Law. Error: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.4.2
string=/media/series/TV Shows/She-Hulk Attorney at Law/She-Hulk Attorney at Law Season 01/She-Hulk.Attorney.at.Law.S01E03.720p.WEB.h264-KOGi.mkv
options={'expected_title': ['OSS 117', 'This is Us', 'Nerds 2.0.1: A Brief History of the Internet', 'Vis a Vis', '10 Things I Hate About You', '11.22.63', '12 Monkeys', '13 Reasons Why', '19-2', '1971: The Year That Music Changed Everything', '24: Legacy', '30 Monedas', '30 Rock', '30 for 30', '61st Street', '68 Whiskey', '9-1-1', '9-1-1: Lone Star', 'Attenborough: 60 Years in the Wild', 'Formula 1: Drive to Survive', "Ian Hislop's Stiff Upper Lip - An Emotional History of Britain", 'Pets - Wild at Heart', 'Tiger - Spy in the Jungle', 'W1A', 'Warehouse 13', 'Timeless 2016', 'The X-Files', '9JKL', 'What If 2021', "A'dam - E.V.A.", 'Archive 81', 'Avenue 5', 'Babylon 5', 'black-ish', 'Borgen - Riget, Magten og Æren', 'Box 21', 'Brooklyn Nine-Nine', 'Catch-22', 'De 12 van Oldenheim', 'De 12 van Schouwendam', 'Doctor Who 2005', 'Echo 3', 'Emerald City 2017', 'Girls5eva', 'grown-ish', 'Hawaii Five-0 2010', 'Hawaii Five-O 2010', 'Hawaii Five-0', 'Inside No. 9', "Jamie's 30 Minute Meals", 'Lodge 49', 'Maltese - Il romanzo del Commissario', 'Maniac 2018', "Marvel's Spider-Man", 'Numb3rs', 'Obi-Wan Kenobi', 'P-Valley', 'PEN15', 'Rig 45', 'Road to 9/11', 'Room 104', 'Sally4Ever', 'Sense8', 'Shakespeare & Hathaway - Private Investigators', 'She-Hulk: Attorney at Law', 'SS-GB', 'Stargate SG-1', 'Station 19', 'Studio 60 on the Sunset Strip', 'The 100', 'Deutschland 83', 'The Bridge 2011', 'Star Trek DS9', 'Law & Order: UK', 'Law & Order: LA', 'Las Vegas Law (2016)', "Ku'damm 56", 'Harlots, Housewives and Heroines: A 17th Century History for Girls', '3 Body Problem', 'The Gallows Pole - This Valley Will Rise', "The No. 1 Ladies' Detective Agency", 'Bordertown 2016', 'Bordertown'], 'allowed_countries': ['au', 'gb', 'us'], 'allowed_languages': ['ca', 'cs', 'de', 'en', 'es', 'fr', 'he', 'hi', 'hu', 'it', 'ja', 'ko', 'mul', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sv', 'te', 'uk', 'und', 'jp'], 'advanced_config': {'common_words': ['ca', 'cat', 'de', 'he', 'it', 'no', 'por', 'rum', 'se', 'st', 'sub'], 'groups': {'starting': '([{', 'ending': ')]}'}, 'audio_codec': {'audio_codec': {'MP3': {'string': ['MP3', 'LAME'], 'regex': ['LAME(?:\\d)+-?(?:\\d)+']}, 'MP2': 'MP2', 'Dolby Digital': {'string': ['Dolby', 'DolbyDigital'], 'regex': ['Dolby-Digital', 'DD', 'AC3D?']}, 'Dolby Atmos': {'string': ['Atmos'], 'regex': ['Dolby-?Atmos']}, 'AAC': 'AAC', 'Dolby Digital Plus': ['EAC3', 'DDP', 'DD+'], 'FLAC': 'Flac', 'DTS': 'DTS', 'DTS-HD': {'regex': ['DTS-?HD', 'DTS(?=-?MA)'], 'conflict_solver': "lambda match, other: other if other.name == 'audio_codec' else '__default__'"}, 'Dolby TrueHD': {'regex': ['True-?HD']}, 'Opus': 'Opus', 'Vorbis': 'Vorbis', 'PCM': 'PCM', 'LPCM': 'LPCM'}, 'audio_channels': {'1.0': ['1ch', 'mono', 're:(1[\\W_]0(?:ch)?)(?=[^\\d]|$)'], '2.0': ['2ch', 'stereo', {'regex': '(2[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'string': '20', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '5.1': ['5ch', '6ch', {'regex': '(5[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '(6[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '5[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '7.1': ['7ch', '8ch', {'regex': '(7[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '7[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}]}, 'audio_profile': {'Master Audio': {'string': 'MA', 'tags': ['audio_profile.rule', 'DTS-HD']}, 'High Resolution Audio': {'string': ['HR', 'HRA'], 'tags': ['audio_profile.rule', 'DTS-HD']}, 'Extended Surround': {'string': 'ES', 'tags': ['audio_profile.rule', 'DTS']}, 'High Efficiency': {'string': 'HE', 'tags': ['audio_profile.rule', 'AAC']}, 'Low Complexity': {'string': 'LC', 'tags': ['audio_profile.rule', 'AAC']}, 'High Quality': {'string': 'HQ', 'tags': ['audio_profile.rule', 'Dolby Digital']}, 'EX': {'string': 'EX', 'tags': ['audio_profile.rule', 'Dolby Digital']}}}, 'bit_rate': {'bit_rate': {'_': {'regex': ['\\d+-?[kmg]b(ps|its?)', '\\d+\\.\\d+-?[kmg]b(ps|its?)'], 'conflict_solver': "lambda match, other: match if other.name == 'audio_channels' and 'weak-audio_channels' not in other.tags else other", 'formatter': 'import:guessit.rules.common.quantity:BitRate.fromstring', 'tags': ['release-group-prefix']}}}, 'bonus': {'bonus': {'_': {'regex': 'x(\\d+)', 'private_parent': True, 'children': True, 'formatter': 'eval:int', 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True, 'conflict_solver': "lambda match, conflicting: match if conflicting.name in ('video_codec', 'episode') and 'weak-episode' not in conflicting.tags else '__default__'"}}}, 'cd': {'_cd_of_cd_count': {'regex': 'cd-?(?P\\d+)(?:-?of-?(?P\\d+))?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd': 'eval:int', 'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}, '_cd_count': {'regex': '(?P\\d+)-?cds?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}}, 'container': {'subtitles': ['srt', 'idx', 'sub', 'ssa', 'ass'], 'info': ['nfo'], 'videos': ['3g2', '3gp', '3gp2', 'asf', 'avi', 'divx', 'flv', 'iso', 'm4v', 'mk2', 'mk3d', 'mka', 'mkv', 'mov', 'mp4', 'mp4a', 'mpeg', 'mpg', 'ogg', 'ogm', 'ogv', 'qt', 'ra', 'ram', 'rm', 'ts', 'vob', 'wav', 'webm', 'wma', 'wmv'], 'torrent': ['torrent'], 'nzb': ['nzb']}, 'country': {'synonyms': {'ES': ['españa'], 'GB': ['UK'], 'BR': ['brazilian', 'bra'], 'CA': ['québec', 'quebec', 'qc'], 'MX': ['Latinoamérica', 'latin america']}}, 'edition': {'edition': {'Collector': {'string': ['collector'], 'regex': ["collector'?s?-edition", 'edition-collector']}, 'Special': [{'regex': ['special-edition', 'edition-special'], 'conflict_solver': "lambda match, other: other if other.name == 'episode_details' and other.value == 'Special' else '__default__'"}, {'string': 'se', 'tags': 'has-neighbor'}], "Director's Definitive Cut": 'ddc', 'Criterion': {'string': ['CC', 'Criterion'], 'regex': ['criterion-edition', 'edition-criterion']}, 'Deluxe': {'string': ['deluxe'], 'regex': ['deluxe-edition', 'edition-deluxe']}, 'Limited': {'string': ['limited'], 'regex': ['limited-edition'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Theatrical': {'string': ['theatrical'], 'regex': ['theatrical-cut', 'theatrical-edition']}, "Director's Cut": {'string': ['DC'], 'regex': ["director'?s?-cut", "director'?s?-cut-edition", "edition-director'?s?-cut"]}, 'Extended': {'string': ['extended'], 'regex': ['extended-?cut', 'extended-?version'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Alternative Cut': {'regex': ['alternat(e|ive)(?:-?Cut)?'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Remastered': [{'string': 'Remastered', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-remaster(?:ed)?', 'tags': ['release-group-prefix']}], 'Restored': [{'string': 'Restored', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-restore(?:d)?', 'tags': ['release-group-prefix']}], 'Uncensored': {'string': 'Uncensored', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Uncut': {'string': 'Uncut', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Unrated': {'string': 'Unrated', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Festival': {'string': 'Festival', 'tags': ['has-neighbor-before', 'has-neighbor-after']}, 'IMAX': {'string': ['imax'], 'regex': ['imax-edition']}, 'Fan': {'regex': ['fan-edit(?:ion)?', 'fan-collection']}, 'Ultimate': {'regex': ['ultimate-edition']}, '_Ultimate_Collector': {'regex': ["ultimate-collector'?s?-edition"], 'value': ['Ultimate', 'Collector']}, '_Ultimate_Fan': {'regex': ['ultimate-fan-edit(?:ion)?', 'ultimate-fan-collection'], 'value': ['Ultimate', 'Fan']}}}, 'episodes': {'season_max_range': 100, 'episode_max_range': 100, 'max_range_gap': 1, 'season_markers': ['s'], 'season_ep_markers': ['x'], 'disc_markers': ['d'], 'episode_markers': ['xe', 'ex', 'ep', 'e', 'x'], 'range_separators': ['-', '~', 'to', 'a'], 'discrete_separators': ['+', '&', 'and', 'et'], 'season_words': ['season', 'saison', 'seizoen', 'seasons', 'saisons', 'tem', 'temp', 'temporada', 'temporadas', 'stagione'], 'episode_words': ['episode', 'episodes', 'eps', 'ep', 'episodio', 'episodios', 'capitulo', 'capitulos'], 'of_words': ['of', 'sur'], 'all_words': ['All']}, 'film': {'film': {'_f': {'regex': 'f(\\d{1,2})', 'name': 'film', 'validate_all': True, 'validator': {'__parent__': 'import:seps_surround'}, 'private_parent': True, 'children': True, 'formatter': 'eval:int'}}}, 'language': {'synonyms': {'ell': ['gr', 'greek'], 'spa': ['esp', 'español', 'espanol'], 'fra': ['français', 'vf', 'vff', 'vfi', 'vfq'], 'swe': ['se'], 'por_BR': ['po', 'pb', 'pob', 'ptbr', 'br', 'brazilian'], 'deu_CH': ['swissgerman', 'swiss german'], 'nld_BE': ['flemish'], 'cat': ['català', 'castellano', 'espanol castellano', 'español castellano'], 'ces': ['cz'], 'ukr': ['ua'], 'zho': ['cn'], 'jpn': ['jp'], 'hrv': ['scr'], 'mul': ['multi', 'multiple', 'dl']}, 'subtitle_affixes': ['sub', 'subs', 'subtitle', 'subtitles', 'esub', 'esubs', 'subbed', 'custom subbed', 'custom subs', 'custom sub', 'customsubbed', 'customsubs', 'customsub', 'soft subtitles', 'soft subs'], 'subtitle_prefixes': ['st', 'vost', 'subforced', 'fansub', 'hardsub', 'legenda', 'legendas', 'legendado', 'subtitulado', 'soft'], 'subtitle_suffixes': ['subforced', 'fansub', 'hardsub'], 'language_affixes': ['dublado', 'dubbed', 'dub'], 'language_prefixes': ['true'], 'language_suffixes': ['audio'], 'weak_affixes': ['v', 'audio', 'true']}, 'other': {'other': {'Audio Fixed': {'regex': ['Audio-?Fix', 'Audio-?Fixed']}, 'Sync Fixed': {'regex': ['Sync-?Fix', 'Sync-?Fixed']}, 'Dual Audio': {'string': ['Dual'], 'regex': ['Dual-?Audio']}, 'Widescreen': {'string': ['ws'], 'regex': ['wide-?screen']}, 'Reencoded': {'regex': ['Re-?Enc(?:oded)?']}, '_repack_with_count': {'regex': ['Repack(?P\\d*)', 'Rerip(?P\\d*)'], 'value': {'other': 'Proper'}, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Proper': [{'string': 'Proper', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['Real-Proper', 'Real-Repack', 'Real-Rerip'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix', 'real']}, {'string': 'Real', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix', 'real']}], 'Fix': [{'string': ['Fix', 'Fixed'], 'tags': ['has-neighbor-before', 'has-neighbor-after', 'streaming_service.prefix', 'streaming_service.suffix']}, {'string': ['Dirfix', 'Nfofix', 'Prooffix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['(?:Proof-?)?Sample-?Fix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}], 'Fan Subtitled': {'string': 'Fansub', 'tags': 'has-neighbor'}, 'Fast Subtitled': {'string': 'Fastsub', 'tags': 'has-neighbor'}, 'Region 5': 'R5', 'Region C': 'RC', 'Preair': {'regex': 'Pre-?Air'}, 'PS Vita': [{'regex': '(?:PS-?)Vita'}, {'string': 'Vita', 'tags': 'has-neighbor'}], '_HdRip': {'value': {'other': 'HD', 'another': 'Rip'}, 'regex': ['(HD)(?PRip)'], 'private_parent': True, 'children': True, 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True}, 'Screener': ['Screener', {'regex': 'Scr(?:eener)?', 'validator': None, 'tags': ['other.validate.screener', 'source-prefix', 'source-suffix']}], 'Remux': 'Remux', 'Hybrid': 'Hybrid', 'PAL': 'PAL', 'SECAM': 'SECAM', 'NTSC': 'NTSC', 'XXX': 'XXX', '2in1': '2in1', '3D': {'string': '3D', 'tags': 'has-neighbor'}, 'High Quality': {'string': 'HQ', 'tags': 'uhdbluray-neighbor'}, 'High Resolution': 'HR', 'Line Dubbed': 'LD', 'Mic Dubbed': 'MD', 'Micro HD': ['mHD', 'HDLight'], 'Low Definition': 'LDTV', 'High Frame Rate': 'HFR', 'Variable Frame Rate': 'VFR', 'HD': {'string': 'HD', 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Full HD': {'string': ['FHD'], 'regex': ['Full-?HD'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Ultra HD': {'string': ['UHD'], 'regex': ['Ultra-?(?:HD)?'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Upscaled': {'regex': 'Upscaled?'}, 'Complete': {'string': ['Complet', 'Complete'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Classic': {'string': 'Classic', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Bonus': {'string': 'Bonus', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Trailer': {'string': 'Trailer', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Retail': {'string': 'Retail', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Colorized': {'string': 'Colorized', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Internal': {'string': 'Internal', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Line Audio': {'string': 'LiNE', 'tags': ['has-neighbor-before', 'has-neighbor-after', 'release-group-prefix']}, 'Read NFO': {'regex': 'Read-?NFO'}, 'Converted': {'string': 'CONVERT', 'tags': 'has-neighbor'}, 'Documentary': {'string': ['DOCU', 'DOKU'], 'tags': 'has-neighbor'}, 'Open Matte': {'regex': '(?:OM|Open-?Matte)', 'tags': 'has-neighbor'}, 'Straight to Video': {'string': 'STV', 'tags': 'has-neighbor'}, 'Original Aspect Ratio': {'string': 'OAR', 'tags': 'has-neighbor'}, 'East Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?East-?(?:Coast-)?Feed'}, 'West Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?West-?(?:Coast-)?Feed'}, 'Original Video': {'string': ['VO', 'OV'], 'tags': 'has-neighbor'}, 'Original Animated Video': {'string': ['Ova', 'Oav']}, 'Original Net Animation': 'Ona', 'Original Animation DVD': 'Oad', 'Mux': {'string': 'Mux', 'validator': 'import:seps_after', 'tags': ['other.validate.mux', 'video-codec-prefix', 'source-suffix']}, 'Hardcoded Subtitles': ['HC', 'vost'], 'Standard Dynamic Range': {'string': 'SDR', 'tags': 'uhdbluray-neighbor'}, 'HDR10': {'regex': 'HDR(?:10)?', 'tags': 'uhdbluray-neighbor'}, 'Dolby Vision': {'regex': 'Dolby-?Vision', 'tags': 'uhdbluray-neighbor'}, 'BT.2020': {'regex': 'BT-?2020', 'tags': 'uhdbluray-neighbor'}, 'Sample': {'string': 'Sample', 'tags': ['at-end', 'not-a-release-group']}, 'Extras': [{'string': 'Extras', 'tags': 'has-neighbor'}, {'regex': 'Digital-?Extras?'}], 'Proof': {'string': 'Proof', 'tags': ['at-end', 'not-a-release-group']}, 'Obfuscated': {'string': ['Obfuscated', 'Scrambled'], 'tags': ['at-end', 'not-a-release-group']}, 'Repost': {'string': ['xpost', 'postbot', 'asrequested'], 'tags': 'not-a-release-group'}, '_complete_words': {'callable': 'import:guessit.rules.properties.other:complete_words', 'season_words': ['seasons?', 'series?'], 'complete_article_words': ['The']}}}, 'part': {'prefixes': ['pt', 'part']}, 'release_group': {'forbidden_names': ['bonus', 'by', 'for', 'par', 'pour', 'rip'], 'ignored_seps': '[]{}()'}, 'screen_size': {'frame_rates': ['23\\.976', '24(?:\\.0{1,3})?', '25(?:\\.0{1,3})?', '29\\.970', '30(?:\\.0{1,3})?', '48(?:\\.0{1,3})?', '50(?:\\.0{1,3})?', '60(?:\\.0{1,3})?', '120(?:\\.0{1,3})?'], 'min_ar': 1.333, 'max_ar': 1.898, 'interlaced': ['360', '480', '540', '576', '900', '1080'], 'progressive': ['360', '480', '540', '576', '900', '1080', '368', '720', '1440', '2160', '4320']}, 'source': {'rip_prefix': '(?PRip)-?', 'rip_suffix': '-?(?PRip)'}, 'website': {'safe_tlds': ['com', 'net', 'org'], 'safe_subdomains': ['www'], 'safe_prefixes': ['co', 'com', 'net', 'org'], 'prefixes': ['from']}, 'streaming_service': {'9Now': '9NOW', 'A&E': ['AE', 'A&E'], 'ABC': 'AMBC', 'ABC Australia': 'AUBC', 'Al Jazeera English': 'AJAZ', 'AMC': 'AMC', 'Amazon Prime': ['AMZN', 'Amazon', 're:Amazon-?Prime'], 'Adult Swim': ['AS', 're:Adult-?Swim'], "America's Test Kitchen": 'ATK', 'Animal Planet': 'ANPL', 'AnimeLab': 'ANLB', 'AOL': 'AOL', 'AppleTV': ['ATVP', 'ATV+', 'APTV'], 'ARD': 'ARD', 'BBC iPlayer': ['iP', 're:BBC-?iPlayer'], 'Binge': 'BNGE', 'Blackpills': 'BKPL', 'BluTV': 'BLU', 'Boomerang': 'BOOM', 'Disney+': 'DSNP', 'BravoTV': 'BRAV', 'Canal+': 'CNLP', 'Cartoon Network': 'CN', 'CBC': 'CBC', 'CBS': 'CBS', 'CNBC': 'CNBC', 'Comedy Central': ['CC', 're:Comedy-?Central'], 'Channel 4': ['ALL4', '4OD'], 'CHRGD': 'CHGD', 'Cinemax': 'CMAX', 'Country Music Television': 'CMT', 'Comedians in Cars Getting Coffee': 'CCGC', 'Crave': 'CRAV', 'Crunchy Roll': ['CR', 're:Crunchy-?Roll'], 'Crackle': 'CRKL', 'CSpan': 'CSPN', 'CTV': 'CTV', 'CuriosityStream': 'CUR', 'CWSeed': 'CWS', 'Daisuki': 'DSKI', 'DC Universe': 'DCU', 'Deadhouse Films': 'DHF', 'DramaFever': ['DF', 'DramaFever'], 'Digiturk Diledigin Yerde': 'DDY', 'Discovery': ['DISC', 'Discovery'], 'Discovery Plus': 'DSCP', 'Disney': ['DSNY', 'Disney'], 'DIY Network': 'DIY', 'Doc Club': 'DOCC', 'DPlay': 'DPLY', 'E!': 'ETV', 'ePix': 'EPIX', 'El Trece': 'ETTV', 'ESPN': 'ESPN', 'Esquire': 'ESQ', 'Facebook Watch': 'FBWatch', 'Family': 'FAM', 'Family Jr': 'FJR', 'Fandor': 'FANDOR', 'Food Network': 'FOOD', 'Fox': 'FOX', 'Fox Premium': 'FOXP', 'Foxtel': 'FXTL', 'Freeform': 'FREE', 'FYI Network': 'FYI', 'GagaOOLala': 'Gaga', 'Global': 'GLBL', 'GloboSat Play': 'GLOB', 'Hallmark': 'HLMK', 'HBO Go': ['HBO', 're:HBO-?Go'], 'HBO Max': 'HMAX', 'HGTV': 'HGTV', 'History': ['HIST', 'History'], 'Hulu': 'HULU', 'Investigation Discovery': 'ID', 'IFC': 'IFC', 'hoichoi': 'HoiChoi', 'iflix': 'IFX', 'iQIYI': 'iQIYI', 'iTunes': ['iTunes', {'pattern': 'iT', 'ignore_case': False}], 'ITV': 'ITV', 'Knowledge Network': 'KNOW', 'Lifetime': 'LIFE', 'Motor Trend OnDemand': 'MTOD', 'MBC': ['MBC', 'MBCVOD'], 'MSNBC': 'MNBC', 'MTV': 'MTV', 'MUBI': 'MUBI', 'National Audiovisual Institute': 'INA', 'National Film Board': 'NFB', 'National Geographic': ['NATG', 're:National-?Geographic'], 'NBA TV': ['NBA', 're:NBA-?TV'], 'NBC': 'NBC', 'Netflix': ['NF', 'Netflix'], 'NFL': 'NFL', 'NFL Now': 'NFLN', 'NHL GameCenter': 'GC', 'Nickelodeon': ['NICK', 'Nickelodeon', 'NICKAPP'], 'Norsk Rikskringkasting': 'NRK', 'OnDemandKorea': ['ODK', 'OnDemandKorea'], 'Opto': 'OPTO', 'Oprah Winfrey Network': 'OWN', 'PBS': 'PBS', 'PBS Kids': 'PBSK', 'Peacock': ['PCOK', 'Peacock'], 'Playstation Network': 'PSN', 'Pluzz': 'PLUZ', 'PokerGO': 'POGO', 'Rakuten TV': 'RKTN', 'The Roku Channel': 'ROKU', 'RTE One': 'RTE', 'RUUTU': 'RUUTU', 'SBS': 'SBS', 'Science Channel': 'SCI', 'SeeSo': ['SESO', 'SeeSo'], 'Shomi': 'SHMI', 'Showtime': 'SHO', 'Sony': 'SONY', 'Spike': 'SPIK', 'Spike TV': ['SPKE', 're:Spike-?TV'], 'Sportsnet': 'SNET', 'Sprout': 'SPRT', 'Stan': 'STAN', 'Starz': 'STZ', 'Sveriges Television': 'SVT', 'SwearNet': 'SWER', 'Syfy': 'SYFY', 'TBS': 'TBS', 'TFou': 'TFOU', 'The CW': ['CW', 're:The-?CW'], 'TLC': 'TLC', 'TubiTV': 'TUBI', 'TV3 Ireland': 'TV3', 'TV4 Sweeden': 'TV4', 'TVING': 'TVING', 'TV Land': ['TVL', 're:TV-?Land'], 'TVNZ': 'TVNZ', 'UFC': 'UFC', 'UFC Fight Pass': 'FP', 'UKTV': 'UKTV', 'Univision': 'UNIV', 'USA Network': 'USAN', 'Velocity': 'VLCT', 'VH1': 'VH1', 'Viceland': 'VICE', 'Viki': 'VIKI', 'Vimeo': 'VMEO', 'VRV': 'VRV', 'W Network': 'WNET', 'WatchMe': 'WME', 'WWE Network': 'WWEN', 'Xbox Video': 'XBOX', 'Yahoo': 'YHOO', 'YouTube Red': 'RED', 'ZDF': 'ZDF'}}, 'show_type': 'normal', 'type': 'episode', 'implicit': True, 'episode_prefer_number': False, 'expected_group': ['TV2LAX9', 'DHD', '20-40', 'E7']}
--------------------------------------------------------------------
Traceback (most recent call last):
  File "/app/medusa/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/app/medusa/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/app/medusa/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rules.py", line 335, in execute_rule
    rule.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 121, in then
    cons.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 134, in then
    matches.remove(match)
  File "", line 1113, in remove
  File "/app/medusa/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/app/medusa/ext/rebulk/match.py", line 126, in _remove_match
    _BaseMatches._base_remove(self._name_dict[match.name], match)
ValueError: list.remove(x): x not in list
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================
Traceback (most recent call last):
  File "/app/medusa/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/app/medusa/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/app/medusa/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rules.py", line 335, in execute_rule
    rule.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 121, in then
    cons.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 134, in then
    matches.remove(match)
  File "", line 1113, in remove
  File "/app/medusa/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/app/medusa/ext/rebulk/match.py", line 126, in _remove_match
    _BaseMatches._base_remove(self._name_dict[match.name], match)
ValueError: list.remove(x): x not in list

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/medusa/medusa/queues/show_queue.py", line 758, in run
    self.show.refresh_dir()
  File "/app/medusa/medusa/tv/series.py", line 2117, in refresh_dir
    self.load_episodes_from_dir()
  File "/app/medusa/medusa/tv/series.py", line 1115, in load_episodes_from_dir
    cur_episode = self.make_ep_from_file(os.path.join(self.location, media_file))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/tv/series.py", line 1427, in make_ep_from_file
    'normal', 'anime')[self.is_anime]).parse(filepath)
                                       ^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/name_parser/parser.py", line 451, in parse
    result = self._parse_string(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/name_parser/parser.py", line 344, in _parse_string
    guess = guessit.guessit(name, dict(show_type=self.show_type))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/name_parser/guessit_parser.py", line 91, in guessit
    result = default_api.guessit(name, options=final_options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/guessit/api.py", line 225, in guessit
    raise GuessitException(string, options) from err
guessit.api.GuessitException: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.4.2
string=/media/series/TV Shows/She-Hulk Attorney at Law/She-Hulk Attorney at Law Season 01/She-Hulk.Attorney.at.Law.S01E03.720p.WEB.h264-KOGi.mkv
options={'expected_title': ['OSS 117', 'This is Us', 'Nerds 2.0.1: A Brief History of the Internet', 'Vis a Vis', '10 Things I Hate About You', '11.22.63', '12 Monkeys', '13 Reasons Why', '19-2', '1971: The Year That Music Changed Everything', '24: Legacy', '30 Monedas', '30 Rock', '30 for 30', '61st Street', '68 Whiskey', '9-1-1', '9-1-1: Lone Star', 'Attenborough: 60 Years in the Wild', 'Formula 1: Drive to Survive', "Ian Hislop's Stiff Upper Lip - An Emotional History of Britain", 'Pets - Wild at Heart', 'Tiger - Spy in the Jungle', 'W1A', 'Warehouse 13', 'Timeless 2016', 'The X-Files', '9JKL', 'What If 2021', "A'dam - E.V.A.", 'Archive 81', 'Avenue 5', 'Babylon 5', 'black-ish', 'Borgen - Riget, Magten og Æren', 'Box 21', 'Brooklyn Nine-Nine', 'Catch-22', 'De 12 van Oldenheim', 'De 12 van Schouwendam', 'Doctor Who 2005', 'Echo 3', 'Emerald City 2017', 'Girls5eva', 'grown-ish', 'Hawaii Five-0 2010', 'Hawaii Five-O 2010', 'Hawaii Five-0', 'Inside No. 9', "Jamie's 30 Minute Meals", 'Lodge 49', 'Maltese - Il romanzo del Commissario', 'Maniac 2018', "Marvel's Spider-Man", 'Numb3rs', 'Obi-Wan Kenobi', 'P-Valley', 'PEN15', 'Rig 45', 'Road to 9/11', 'Room 104', 'Sally4Ever', 'Sense8', 'Shakespeare & Hathaway - Private Investigators', 'She-Hulk: Attorney at Law', 'SS-GB', 'Stargate SG-1', 'Station 19', 'Studio 60 on the Sunset Strip', 'The 100', 'Deutschland 83', 'The Bridge 2011', 'Star Trek DS9', 'Law & Order: UK', 'Law & Order: LA', 'Las Vegas Law (2016)', "Ku'damm 56", 'Harlots, Housewives and Heroines: A 17th Century History for Girls', '3 Body Problem', 'The Gallows Pole - This Valley Will Rise', "The No. 1 Ladies' Detective Agency", 'Bordertown 2016', 'Bordertown'], 'allowed_countries': ['au', 'gb', 'us'], 'allowed_languages': ['ca', 'cs', 'de', 'en', 'es', 'fr', 'he', 'hi', 'hu', 'it', 'ja', 'ko', 'mul', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sv', 'te', 'uk', 'und', 'jp'], 'advanced_config': {'common_words': ['ca', 'cat', 'de', 'he', 'it', 'no', 'por', 'rum', 'se', 'st', 'sub'], 'groups': {'starting': '([{', 'ending': ')]}'}, 'audio_codec': {'audio_codec': {'MP3': {'string': ['MP3', 'LAME'], 'regex': ['LAME(?:\\d)+-?(?:\\d)+']}, 'MP2': 'MP2', 'Dolby Digital': {'string': ['Dolby', 'DolbyDigital'], 'regex': ['Dolby-Digital', 'DD', 'AC3D?']}, 'Dolby Atmos': {'string': ['Atmos'], 'regex': ['Dolby-?Atmos']}, 'AAC': 'AAC', 'Dolby Digital Plus': ['EAC3', 'DDP', 'DD+'], 'FLAC': 'Flac', 'DTS': 'DTS', 'DTS-HD': {'regex': ['DTS-?HD', 'DTS(?=-?MA)'], 'conflict_solver': "lambda match, other: other if other.name == 'audio_codec' else '__default__'"}, 'Dolby TrueHD': {'regex': ['True-?HD']}, 'Opus': 'Opus', 'Vorbis': 'Vorbis', 'PCM': 'PCM', 'LPCM': 'LPCM'}, 'audio_channels': {'1.0': ['1ch', 'mono', 're:(1[\\W_]0(?:ch)?)(?=[^\\d]|$)'], '2.0': ['2ch', 'stereo', {'regex': '(2[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'string': '20', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '5.1': ['5ch', '6ch', {'regex': '(5[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '(6[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '5[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '7.1': ['7ch', '8ch', {'regex': '(7[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '7[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}]}, 'audio_profile': {'Master Audio': {'string': 'MA', 'tags': ['audio_profile.rule', 'DTS-HD']}, 'High Resolution Audio': {'string': ['HR', 'HRA'], 'tags': ['audio_profile.rule', 'DTS-HD']}, 'Extended Surround': {'string': 'ES', 'tags': ['audio_profile.rule', 'DTS']}, 'High Efficiency': {'string': 'HE', 'tags': ['audio_profile.rule', 'AAC']}, 'Low Complexity': {'string': 'LC', 'tags': ['audio_profile.rule', 'AAC']}, 'High Quality': {'string': 'HQ', 'tags': ['audio_profile.rule', 'Dolby Digital']}, 'EX': {'string': 'EX', 'tags': ['audio_profile.rule', 'Dolby Digital']}}}, 'bit_rate': {'bit_rate': {'_': {'regex': ['\\d+-?[kmg]b(ps|its?)', '\\d+\\.\\d+-?[kmg]b(ps|its?)'], 'conflict_solver': "lambda match, other: match if other.name == 'audio_channels' and 'weak-audio_channels' not in other.tags else other", 'formatter': 'import:guessit.rules.common.quantity:BitRate.fromstring', 'tags': ['release-group-prefix']}}}, 'bonus': {'bonus': {'_': {'regex': 'x(\\d+)', 'private_parent': True, 'children': True, 'formatter': 'eval:int', 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True, 'conflict_solver': "lambda match, conflicting: match if conflicting.name in ('video_codec', 'episode') and 'weak-episode' not in conflicting.tags else '__default__'"}}}, 'cd': {'_cd_of_cd_count': {'regex': 'cd-?(?P\\d+)(?:-?of-?(?P\\d+))?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd': 'eval:int', 'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}, '_cd_count': {'regex': '(?P\\d+)-?cds?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}}, 'container': {'subtitles': ['srt', 'idx', 'sub', 'ssa', 'ass'], 'info': ['nfo'], 'videos': ['3g2', '3gp', '3gp2', 'asf', 'avi', 'divx', 'flv', 'iso', 'm4v', 'mk2', 'mk3d', 'mka', 'mkv', 'mov', 'mp4', 'mp4a', 'mpeg', 'mpg', 'ogg', 'ogm', 'ogv', 'qt', 'ra', 'ram', 'rm', 'ts', 'vob', 'wav', 'webm', 'wma', 'wmv'], 'torrent': ['torrent'], 'nzb': ['nzb']}, 'country': {'synonyms': {'ES': ['españa'], 'GB': ['UK'], 'BR': ['brazilian', 'bra'], 'CA': ['québec', 'quebec', 'qc'], 'MX': ['Latinoamérica', 'latin america']}}, 'edition': {'edition': {'Collector': {'string': ['collector'], 'regex': ["collector'?s?-edition", 'edition-collector']}, 'Special': [{'regex': ['special-edition', 'edition-special'], 'conflict_solver': "lambda match, other: other if other.name == 'episode_details' and other.value == 'Special' else '__default__'"}, {'string': 'se', 'tags': 'has-neighbor'}], "Director's Definitive Cut": 'ddc', 'Criterion': {'string': ['CC', 'Criterion'], 'regex': ['criterion-edition', 'edition-criterion']}, 'Deluxe': {'string': ['deluxe'], 'regex': ['deluxe-edition', 'edition-deluxe']}, 'Limited': {'string': ['limited'], 'regex': ['limited-edition'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Theatrical': {'string': ['theatrical'], 'regex': ['theatrical-cut', 'theatrical-edition']}, "Director's Cut": {'string': ['DC'], 'regex': ["director'?s?-cut", "director'?s?-cut-edition", "edition-director'?s?-cut"]}, 'Extended': {'string': ['extended'], 'regex': ['extended-?cut', 'extended-?version'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Alternative Cut': {'regex': ['alternat(e|ive)(?:-?Cut)?'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Remastered': [{'string': 'Remastered', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-remaster(?:ed)?', 'tags': ['release-group-prefix']}], 'Restored': [{'string': 'Restored', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-restore(?:d)?', 'tags': ['release-group-prefix']}], 'Uncensored': {'string': 'Uncensored', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Uncut': {'string': 'Uncut', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Unrated': {'string': 'Unrated', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Festival': {'string': 'Festival', 'tags': ['has-neighbor-before', 'has-neighbor-after']}, 'IMAX': {'string': ['imax'], 'regex': ['imax-edition']}, 'Fan': {'regex': ['fan-edit(?:ion)?', 'fan-collection']}, 'Ultimate': {'regex': ['ultimate-edition']}, '_Ultimate_Collector': {'regex': ["ultimate-collector'?s?-edition"], 'value': ['Ultimate', 'Collector']}, '_Ultimate_Fan': {'regex': ['ultimate-fan-edit(?:ion)?', 'ultimate-fan-collection'], 'value': ['Ultimate', 'Fan']}}}, 'episodes': {'season_max_range': 100, 'episode_max_range': 100, 'max_range_gap': 1, 'season_markers': ['s'], 'season_ep_markers': ['x'], 'disc_markers': ['d'], 'episode_markers': ['xe', 'ex', 'ep', 'e', 'x'], 'range_separators': ['-', '~', 'to', 'a'], 'discrete_separators': ['+', '&', 'and', 'et'], 'season_words': ['season', 'saison', 'seizoen', 'seasons', 'saisons', 'tem', 'temp', 'temporada', 'temporadas', 'stagione'], 'episode_words': ['episode', 'episodes', 'eps', 'ep', 'episodio', 'episodios', 'capitulo', 'capitulos'], 'of_words': ['of', 'sur'], 'all_words': ['All']}, 'film': {'film': {'_f': {'regex': 'f(\\d{1,2})', 'name': 'film', 'validate_all': True, 'validator': {'__parent__': 'import:seps_surround'}, 'private_parent': True, 'children': True, 'formatter': 'eval:int'}}}, 'language': {'synonyms': {'ell': ['gr', 'greek'], 'spa': ['esp', 'español', 'espanol'], 'fra': ['français', 'vf', 'vff', 'vfi', 'vfq'], 'swe': ['se'], 'por_BR': ['po', 'pb', 'pob', 'ptbr', 'br', 'brazilian'], 'deu_CH': ['swissgerman', 'swiss german'], 'nld_BE': ['flemish'], 'cat': ['català', 'castellano', 'espanol castellano', 'español castellano'], 'ces': ['cz'], 'ukr': ['ua'], 'zho': ['cn'], 'jpn': ['jp'], 'hrv': ['scr'], 'mul': ['multi', 'multiple', 'dl']}, 'subtitle_affixes': ['sub', 'subs', 'subtitle', 'subtitles', 'esub', 'esubs', 'subbed', 'custom subbed', 'custom subs', 'custom sub', 'customsubbed', 'customsubs', 'customsub', 'soft subtitles', 'soft subs'], 'subtitle_prefixes': ['st', 'vost', 'subforced', 'fansub', 'hardsub', 'legenda', 'legendas', 'legendado', 'subtitulado', 'soft'], 'subtitle_suffixes': ['subforced', 'fansub', 'hardsub'], 'language_affixes': ['dublado', 'dubbed', 'dub'], 'language_prefixes': ['true'], 'language_suffixes': ['audio'], 'weak_affixes': ['v', 'audio', 'true']}, 'other': {'other': {'Audio Fixed': {'regex': ['Audio-?Fix', 'Audio-?Fixed']}, 'Sync Fixed': {'regex': ['Sync-?Fix', 'Sync-?Fixed']}, 'Dual Audio': {'string': ['Dual'], 'regex': ['Dual-?Audio']}, 'Widescreen': {'string': ['ws'], 'regex': ['wide-?screen']}, 'Reencoded': {'regex': ['Re-?Enc(?:oded)?']}, '_repack_with_count': {'regex': ['Repack(?P\\d*)', 'Rerip(?P\\d*)'], 'value': {'other': 'Proper'}, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Proper': [{'string': 'Proper', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['Real-Proper', 'Real-Repack', 'Real-Rerip'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix', 'real']}, {'string': 'Real', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix', 'real']}], 'Fix': [{'string': ['Fix', 'Fixed'], 'tags': ['has-neighbor-before', 'has-neighbor-after', 'streaming_service.prefix', 'streaming_service.suffix']}, {'string': ['Dirfix', 'Nfofix', 'Prooffix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['(?:Proof-?)?Sample-?Fix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}], 'Fan Subtitled': {'string': 'Fansub', 'tags': 'has-neighbor'}, 'Fast Subtitled': {'string': 'Fastsub', 'tags': 'has-neighbor'}, 'Region 5': 'R5', 'Region C': 'RC', 'Preair': {'regex': 'Pre-?Air'}, 'PS Vita': [{'regex': '(?:PS-?)Vita'}, {'string': 'Vita', 'tags': 'has-neighbor'}], '_HdRip': {'value': {'other': 'HD', 'another': 'Rip'}, 'regex': ['(HD)(?PRip)'], 'private_parent': True, 'children': True, 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True}, 'Screener': ['Screener', {'regex': 'Scr(?:eener)?', 'validator': None, 'tags': ['other.validate.screener', 'source-prefix', 'source-suffix']}], 'Remux': 'Remux', 'Hybrid': 'Hybrid', 'PAL': 'PAL', 'SECAM': 'SECAM', 'NTSC': 'NTSC', 'XXX': 'XXX', '2in1': '2in1', '3D': {'string': '3D', 'tags': 'has-neighbor'}, 'High Quality': {'string': 'HQ', 'tags': 'uhdbluray-neighbor'}, 'High Resolution': 'HR', 'Line Dubbed': 'LD', 'Mic Dubbed': 'MD', 'Micro HD': ['mHD', 'HDLight'], 'Low Definition': 'LDTV', 'High Frame Rate': 'HFR', 'Variable Frame Rate': 'VFR', 'HD': {'string': 'HD', 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Full HD': {'string': ['FHD'], 'regex': ['Full-?HD'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Ultra HD': {'string': ['UHD'], 'regex': ['Ultra-?(?:HD)?'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Upscaled': {'regex': 'Upscaled?'}, 'Complete': {'string': ['Complet', 'Complete'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Classic': {'string': 'Classic', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Bonus': {'string': 'Bonus', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Trailer': {'string': 'Trailer', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Retail': {'string': 'Retail', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Colorized': {'string': 'Colorized', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Internal': {'string': 'Internal', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Line Audio': {'string': 'LiNE', 'tags': ['has-neighbor-before', 'has-neighbor-after', 'release-group-prefix']}, 'Read NFO': {'regex': 'Read-?NFO'}, 'Converted': {'string': 'CONVERT', 'tags': 'has-neighbor'}, 'Documentary': {'string': ['DOCU', 'DOKU'], 'tags': 'has-neighbor'}, 'Open Matte': {'regex': '(?:OM|Open-?Matte)', 'tags': 'has-neighbor'}, 'Straight to Video': {'string': 'STV', 'tags': 'has-neighbor'}, 'Original Aspect Ratio': {'string': 'OAR', 'tags': 'has-neighbor'}, 'East Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?East-?(?:Coast-)?Feed'}, 'West Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?West-?(?:Coast-)?Feed'}, 'Original Video': {'string': ['VO', 'OV'], 'tags': 'has-neighbor'}, 'Original Animated Video': {'string': ['Ova', 'Oav']}, 'Original Net Animation': 'Ona', 'Original Animation DVD': 'Oad', 'Mux': {'string': 'Mux', 'validator': 'import:seps_after', 'tags': ['other.validate.mux', 'video-codec-prefix', 'source-suffix']}, 'Hardcoded Subtitles': ['HC', 'vost'], 'Standard Dynamic Range': {'string': 'SDR', 'tags': 'uhdbluray-neighbor'}, 'HDR10': {'regex': 'HDR(?:10)?', 'tags': 'uhdbluray-neighbor'}, 'Dolby Vision': {'regex': 'Dolby-?Vision', 'tags': 'uhdbluray-neighbor'}, 'BT.2020': {'regex': 'BT-?2020', 'tags': 'uhdbluray-neighbor'}, 'Sample': {'string': 'Sample', 'tags': ['at-end', 'not-a-release-group']}, 'Extras': [{'string': 'Extras', 'tags': 'has-neighbor'}, {'regex': 'Digital-?Extras?'}], 'Proof': {'string': 'Proof', 'tags': ['at-end', 'not-a-release-group']}, 'Obfuscated': {'string': ['Obfuscated', 'Scrambled'], 'tags': ['at-end', 'not-a-release-group']}, 'Repost': {'string': ['xpost', 'postbot', 'asrequested'], 'tags': 'not-a-release-group'}, '_complete_words': {'callable': 'import:guessit.rules.properties.other:complete_words', 'season_words': ['seasons?', 'series?'], 'complete_article_words': ['The']}}}, 'part': {'prefixes': ['pt', 'part']}, 'release_group': {'forbidden_names': ['bonus', 'by', 'for', 'par', 'pour', 'rip'], 'ignored_seps': '[]{}()'}, 'screen_size': {'frame_rates': ['23\\.976', '24(?:\\.0{1,3})?', '25(?:\\.0{1,3})?', '29\\.970', '30(?:\\.0{1,3})?', '48(?:\\.0{1,3})?', '50(?:\\.0{1,3})?', '60(?:\\.0{1,3})?', '120(?:\\.0{1,3})?'], 'min_ar': 1.333, 'max_ar': 1.898, 'interlaced': ['360', '480', '540', '576', '900', '1080'], 'progressive': ['360', '480', '540', '576', '900', '1080', '368', '720', '1440', '2160', '4320']}, 'source': {'rip_prefix': '(?PRip)-?', 'rip_suffix': '-?(?PRip)'}, 'website': {'safe_tlds': ['com', 'net', 'org'], 'safe_subdomains': ['www'], 'safe_prefixes': ['co', 'com', 'net', 'org'], 'prefixes': ['from']}, 'streaming_service': {'9Now': '9NOW', 'A&E': ['AE', 'A&E'], 'ABC': 'AMBC', 'ABC Australia': 'AUBC', 'Al Jazeera English': 'AJAZ', 'AMC': 'AMC', 'Amazon Prime': ['AMZN', 'Amazon', 're:Amazon-?Prime'], 'Adult Swim': ['AS', 're:Adult-?Swim'], "America's Test Kitchen": 'ATK', 'Animal Planet': 'ANPL', 'AnimeLab': 'ANLB', 'AOL': 'AOL', 'AppleTV': ['ATVP', 'ATV+', 'APTV'], 'ARD': 'ARD', 'BBC iPlayer': ['iP', 're:BBC-?iPlayer'], 'Binge': 'BNGE', 'Blackpills': 'BKPL', 'BluTV': 'BLU', 'Boomerang': 'BOOM', 'Disney+': 'DSNP', 'BravoTV': 'BRAV', 'Canal+': 'CNLP', 'Cartoon Network': 'CN', 'CBC': 'CBC', 'CBS': 'CBS', 'CNBC': 'CNBC', 'Comedy Central': ['CC', 're:Comedy-?Central'], 'Channel 4': ['ALL4', '4OD'], 'CHRGD': 'CHGD', 'Cinemax': 'CMAX', 'Country Music Television': 'CMT', 'Comedians in Cars Getting Coffee': 'CCGC', 'Crave': 'CRAV', 'Crunchy Roll': ['CR', 're:Crunchy-?Roll'], 'Crackle': 'CRKL', 'CSpan': 'CSPN', 'CTV': 'CTV', 'CuriosityStream': 'CUR', 'CWSeed': 'CWS', 'Daisuki': 'DSKI', 'DC Universe': 'DCU', 'Deadhouse Films': 'DHF', 'DramaFever': ['DF', 'DramaFever'], 'Digiturk Diledigin Yerde': 'DDY', 'Discovery': ['DISC', 'Discovery'], 'Discovery Plus': 'DSCP', 'Disney': ['DSNY', 'Disney'], 'DIY Network': 'DIY', 'Doc Club': 'DOCC', 'DPlay': 'DPLY', 'E!': 'ETV', 'ePix': 'EPIX', 'El Trece': 'ETTV', 'ESPN': 'ESPN', 'Esquire': 'ESQ', 'Facebook Watch': 'FBWatch', 'Family': 'FAM', 'Family Jr': 'FJR', 'Fandor': 'FANDOR', 'Food Network': 'FOOD', 'Fox': 'FOX', 'Fox Premium': 'FOXP', 'Foxtel': 'FXTL', 'Freeform': 'FREE', 'FYI Network': 'FYI', 'GagaOOLala': 'Gaga', 'Global': 'GLBL', 'GloboSat Play': 'GLOB', 'Hallmark': 'HLMK', 'HBO Go': ['HBO', 're:HBO-?Go'], 'HBO Max': 'HMAX', 'HGTV': 'HGTV', 'History': ['HIST', 'History'], 'Hulu': 'HULU', 'Investigation Discovery': 'ID', 'IFC': 'IFC', 'hoichoi': 'HoiChoi', 'iflix': 'IFX', 'iQIYI': 'iQIYI', 'iTunes': ['iTunes', {'pattern': 'iT', 'ignore_case': False}], 'ITV': 'ITV', 'Knowledge Network': 'KNOW', 'Lifetime': 'LIFE', 'Motor Trend OnDemand': 'MTOD', 'MBC': ['MBC', 'MBCVOD'], 'MSNBC': 'MNBC', 'MTV': 'MTV', 'MUBI': 'MUBI', 'National Audiovisual Institute': 'INA', 'National Film Board': 'NFB', 'National Geographic': ['NATG', 're:National-?Geographic'], 'NBA TV': ['NBA', 're:NBA-?TV'], 'NBC': 'NBC', 'Netflix': ['NF', 'Netflix'], 'NFL': 'NFL', 'NFL Now': 'NFLN', 'NHL GameCenter': 'GC', 'Nickelodeon': ['NICK', 'Nickelodeon', 'NICKAPP'], 'Norsk Rikskringkasting': 'NRK', 'OnDemandKorea': ['ODK', 'OnDemandKorea'], 'Opto': 'OPTO', 'Oprah Winfrey Network': 'OWN', 'PBS': 'PBS', 'PBS Kids': 'PBSK', 'Peacock': ['PCOK', 'Peacock'], 'Playstation Network': 'PSN', 'Pluzz': 'PLUZ', 'PokerGO': 'POGO', 'Rakuten TV': 'RKTN', 'The Roku Channel': 'ROKU', 'RTE One': 'RTE', 'RUUTU': 'RUUTU', 'SBS': 'SBS', 'Science Channel': 'SCI', 'SeeSo': ['SESO', 'SeeSo'], 'Shomi': 'SHMI', 'Showtime': 'SHO', 'Sony': 'SONY', 'Spike': 'SPIK', 'Spike TV': ['SPKE', 're:Spike-?TV'], 'Sportsnet': 'SNET', 'Sprout': 'SPRT', 'Stan': 'STAN', 'Starz': 'STZ', 'Sveriges Television': 'SVT', 'SwearNet': 'SWER', 'Syfy': 'SYFY', 'TBS': 'TBS', 'TFou': 'TFOU', 'The CW': ['CW', 're:The-?CW'], 'TLC': 'TLC', 'TubiTV': 'TUBI', 'TV3 Ireland': 'TV3', 'TV4 Sweeden': 'TV4', 'TVING': 'TVING', 'TV Land': ['TVL', 're:TV-?Land'], 'TVNZ': 'TVNZ', 'UFC': 'UFC', 'UFC Fight Pass': 'FP', 'UKTV': 'UKTV', 'Univision': 'UNIV', 'USA Network': 'USAN', 'Velocity': 'VLCT', 'VH1': 'VH1', 'Viceland': 'VICE', 'Viki': 'VIKI', 'Vimeo': 'VMEO', 'VRV': 'VRV', 'W Network': 'WNET', 'WatchMe': 'WME', 'WWE Network': 'WWEN', 'Xbox Video': 'XBOX', 'Yahoo': 'YHOO', 'YouTube Red': 'RED', 'ZDF': 'ZDF'}}, 'show_type': 'normal', 'type': 'episode', 'implicit': True, 'episode_prefer_number': False, 'expected_group': ['TV2LAX9', 'DHD', '20-40', 'E7']}
--------------------------------------------------------------------
Traceback (most recent call last):
  File "/app/medusa/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/app/medusa/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/app/medusa/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rules.py", line 335, in execute_rule
    rule.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 121, in then
    cons.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 134, in then
    matches.remove(match)
  File "", line 1113, in remove
  File "/app/medusa/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/app/medusa/ext/rebulk/match.py", line 126, in _remove_match
    _BaseMatches._base_remove(self._name_dict[match.name], match)
ValueError: list.remove(x): x not in list
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

ComplexIOd commented 1 year ago

INFO

Python Version: 3.11.4 (main, Jun 9 2023, 02:29:05) [GCC 12.2.1 20220924] Operating System: Linux-5.15.0-78-generic-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@ Link to Log: No Log available

ERROR

2023-08-24 19:53:49 ERROR    SHOWQUEUE-REFRESH :: [] 430: Error while refreshing show The X-Files. Error: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.4.2
string=/media/series/TV Shows/The X-Files/The X-Files Season 02/The X-Files - S02E23 - Soft Light.Unknown-SickRage.avi
options={'expected_title': ['OSS 117', 'This is Us'], 'allowed_countries': ['au', 'gb', 'us'], 'allowed_languages': ['ca', 'cs', 'de', 'en', 'es', 'fr', 'he', 'hi', 'hu', 'it', 'ja', 'ko', 'mul', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sv', 'te', 'uk', 'und'], 'advanced_config': {'common_words': ['ca', 'cat', 'de', 'he', 'it', 'no', 'por', 'rum', 'se', 'st', 'sub'], 'groups': {'starting': '([{', 'ending': ')]}'}, 'audio_codec': {'audio_codec': {'MP3': {'string': ['MP3', 'LAME'], 'regex': ['LAME(?:\\d)+-?(?:\\d)+']}, 'MP2': 'MP2', 'Dolby Digital': {'string': ['Dolby', 'DolbyDigital'], 'regex': ['Dolby-Digital', 'DD', 'AC3D?']}, 'Dolby Atmos': {'string': ['Atmos'], 'regex': ['Dolby-?Atmos']}, 'AAC': 'AAC', 'Dolby Digital Plus': ['EAC3', 'DDP', 'DD+'], 'FLAC': 'Flac', 'DTS': 'DTS', 'DTS-HD': {'regex': ['DTS-?HD', 'DTS(?=-?MA)'], 'conflict_solver': "lambda match, other: other if other.name == 'audio_codec' else '__default__'"}, 'Dolby TrueHD': {'regex': ['True-?HD']}, 'Opus': 'Opus', 'Vorbis': 'Vorbis', 'PCM': 'PCM', 'LPCM': 'LPCM'}, 'audio_channels': {'1.0': ['1ch', 'mono', 're:(1[\\W_]0(?:ch)?)(?=[^\\d]|$)'], '2.0': ['2ch', 'stereo', {'regex': '(2[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'string': '20', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '5.1': ['5ch', '6ch', {'regex': '(5[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '(6[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '5[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '7.1': ['7ch', '8ch', {'regex': '(7[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '7[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}]}, 'audio_profile': {'Master Audio': {'string': 'MA', 'tags': ['audio_profile.rule', 'DTS-HD']}, 'High Resolution Audio': {'string': ['HR', 'HRA'], 'tags': ['audio_profile.rule', 'DTS-HD']}, 'Extended Surround': {'string': 'ES', 'tags': ['audio_profile.rule', 'DTS']}, 'High Efficiency': {'string': 'HE', 'tags': ['audio_profile.rule', 'AAC']}, 'Low Complexity': {'string': 'LC', 'tags': ['audio_profile.rule', 'AAC']}, 'High Quality': {'string': 'HQ', 'tags': ['audio_profile.rule', 'Dolby Digital']}, 'EX': {'string': 'EX', 'tags': ['audio_profile.rule', 'Dolby Digital']}}}, 'bit_rate': {'bit_rate': {'_': {'regex': ['\\d+-?[kmg]b(ps|its?)', '\\d+\\.\\d+-?[kmg]b(ps|its?)'], 'conflict_solver': "lambda match, other: match if other.name == 'audio_channels' and 'weak-audio_channels' not in other.tags else other", 'formatter': 'import:guessit.rules.common.quantity:BitRate.fromstring', 'tags': ['release-group-prefix']}}}, 'bonus': {'bonus': {'_': {'regex': 'x(\\d+)', 'private_parent': True, 'children': True, 'formatter': 'eval:int', 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True, 'conflict_solver': "lambda match, conflicting: match if conflicting.name in ('video_codec', 'episode') and 'weak-episode' not in conflicting.tags else '__default__'"}}}, 'cd': {'_cd_of_cd_count': {'regex': 'cd-?(?P\\d+)(?:-?of-?(?P\\d+))?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd': 'eval:int', 'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}, '_cd_count': {'regex': '(?P\\d+)-?cds?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}}, 'container': {'subtitles': ['srt', 'idx', 'sub', 'ssa', 'ass'], 'info': ['nfo'], 'videos': ['3g2', '3gp', '3gp2', 'asf', 'avi', 'divx', 'flv', 'iso', 'm4v', 'mk2', 'mk3d', 'mka', 'mkv', 'mov', 'mp4', 'mp4a', 'mpeg', 'mpg', 'ogg', 'ogm', 'ogv', 'qt', 'ra', 'ram', 'rm', 'ts', 'vob', 'wav', 'webm', 'wma', 'wmv'], 'torrent': ['torrent'], 'nzb': ['nzb']}, 'country': {'synonyms': {'ES': ['españa'], 'GB': ['UK'], 'BR': ['brazilian', 'bra'], 'CA': ['québec', 'quebec', 'qc'], 'MX': ['Latinoamérica', 'latin america']}}, 'edition': {'edition': {'Collector': {'string': ['collector'], 'regex': ["collector'?s?-edition", 'edition-collector']}, 'Special': [{'regex': ['special-edition', 'edition-special'], 'conflict_solver': "lambda match, other: other if other.name == 'episode_details' and other.value == 'Special' else '__default__'"}, {'string': 'se', 'tags': 'has-neighbor'}], "Director's Definitive Cut": 'ddc', 'Criterion': {'string': ['CC', 'Criterion'], 'regex': ['criterion-edition', 'edition-criterion']}, 'Deluxe': {'string': ['deluxe'], 'regex': ['deluxe-edition', 'edition-deluxe']}, 'Limited': {'string': ['limited'], 'regex': ['limited-edition'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Theatrical': {'string': ['theatrical'], 'regex': ['theatrical-cut', 'theatrical-edition']}, "Director's Cut": {'string': ['DC'], 'regex': ["director'?s?-cut", "director'?s?-cut-edition", "edition-director'?s?-cut"]}, 'Extended': {'string': ['extended'], 'regex': ['extended-?cut', 'extended-?version'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Alternative Cut': {'regex': ['alternat(e|ive)(?:-?Cut)?'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Remastered': [{'string': 'Remastered', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-remaster(?:ed)?', 'tags': ['release-group-prefix']}], 'Restored': [{'string': 'Restored', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-restore(?:d)?', 'tags': ['release-group-prefix']}], 'Uncensored': {'string': 'Uncensored', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Uncut': {'string': 'Uncut', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Unrated': {'string': 'Unrated', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Festival': {'string': 'Festival', 'tags': ['has-neighbor-before', 'has-neighbor-after']}, 'IMAX': {'string': ['imax'], 'regex': ['imax-edition']}, 'Fan': {'regex': ['fan-edit(?:ion)?', 'fan-collection']}, 'Ultimate': {'regex': ['ultimate-edition']}, '_Ultimate_Collector': {'regex': ["ultimate-collector'?s?-edition"], 'value': ['Ultimate', 'Collector']}, '_Ultimate_Fan': {'regex': ['ultimate-fan-edit(?:ion)?', 'ultimate-fan-collection'], 'value': ['Ultimate', 'Fan']}}}, 'episodes': {'season_max_range': 100, 'episode_max_range': 100, 'max_range_gap': 1, 'season_markers': ['s'], 'season_ep_markers': ['x'], 'disc_markers': ['d'], 'episode_markers': ['xe', 'ex', 'ep', 'e', 'x'], 'range_separators': ['-', '~', 'to', 'a'], 'discrete_separators': ['+', '&', 'and', 'et'], 'season_words': ['season', 'saison', 'seizoen', 'seasons', 'saisons', 'tem', 'temp', 'temporada', 'temporadas', 'stagione'], 'episode_words': ['episode', 'episodes', 'eps', 'ep', 'episodio', 'episodios', 'capitulo', 'capitulos'], 'of_words': ['of', 'sur'], 'all_words': ['All']}, 'film': {'film': {'_f': {'regex': 'f(\\d{1,2})', 'name': 'film', 'validate_all': True, 'validator': {'__parent__': 'import:seps_surround'}, 'private_parent': True, 'children': True, 'formatter': 'eval:int'}}}, 'language': {'synonyms': {'ell': ['gr', 'greek'], 'spa': ['esp', 'español', 'espanol'], 'fra': ['français', 'vf', 'vff', 'vfi', 'vfq'], 'swe': ['se'], 'por_BR': ['po', 'pb', 'pob', 'ptbr', 'br', 'brazilian'], 'deu_CH': ['swissgerman', 'swiss german'], 'nld_BE': ['flemish'], 'cat': ['català', 'castellano', 'espanol castellano', 'español castellano'], 'ces': ['cz'], 'ukr': ['ua'], 'zho': ['cn'], 'jpn': ['jp'], 'hrv': ['scr'], 'mul': ['multi', 'multiple', 'dl']}, 'subtitle_affixes': ['sub', 'subs', 'subtitle', 'subtitles', 'esub', 'esubs', 'subbed', 'custom subbed', 'custom subs', 'custom sub', 'customsubbed', 'customsubs', 'customsub', 'soft subtitles', 'soft subs'], 'subtitle_prefixes': ['st', 'vost', 'subforced', 'fansub', 'hardsub', 'legenda', 'legendas', 'legendado', 'subtitulado', 'soft'], 'subtitle_suffixes': ['subforced', 'fansub', 'hardsub'], 'language_affixes': ['dublado', 'dubbed', 'dub'], 'language_prefixes': ['true'], 'language_suffixes': ['audio'], 'weak_affixes': ['v', 'audio', 'true']}, 'other': {'other': {'Audio Fixed': {'regex': ['Audio-?Fix', 'Audio-?Fixed']}, 'Sync Fixed': {'regex': ['Sync-?Fix', 'Sync-?Fixed']}, 'Dual Audio': {'string': ['Dual'], 'regex': ['Dual-?Audio']}, 'Widescreen': {'string': ['ws'], 'regex': ['wide-?screen']}, 'Reencoded': {'regex': ['Re-?Enc(?:oded)?']}, '_repack_with_count': {'regex': ['Repack(?P\\d*)', 'Rerip(?P\\d*)'], 'value': {'other': 'Proper'}, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Proper': [{'string': 'Proper', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['Real-Proper', 'Real-Repack', 'Real-Rerip'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix', 'real']}, {'string': 'Real', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix', 'real']}], 'Fix': [{'string': ['Fix', 'Fixed'], 'tags': ['has-neighbor-before', 'has-neighbor-after', 'streaming_service.prefix', 'streaming_service.suffix']}, {'string': ['Dirfix', 'Nfofix', 'Prooffix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['(?:Proof-?)?Sample-?Fix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}], 'Fan Subtitled': {'string': 'Fansub', 'tags': 'has-neighbor'}, 'Fast Subtitled': {'string': 'Fastsub', 'tags': 'has-neighbor'}, 'Region 5': 'R5', 'Region C': 'RC', 'Preair': {'regex': 'Pre-?Air'}, 'PS Vita': [{'regex': '(?:PS-?)Vita'}, {'string': 'Vita', 'tags': 'has-neighbor'}], '_HdRip': {'value': {'other': 'HD', 'another': 'Rip'}, 'regex': ['(HD)(?PRip)'], 'private_parent': True, 'children': True, 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True}, 'Screener': ['Screener', {'regex': 'Scr(?:eener)?', 'validator': None, 'tags': ['other.validate.screener', 'source-prefix', 'source-suffix']}], 'Remux': 'Remux', 'Hybrid': 'Hybrid', 'PAL': 'PAL', 'SECAM': 'SECAM', 'NTSC': 'NTSC', 'XXX': 'XXX', '2in1': '2in1', '3D': {'string': '3D', 'tags': 'has-neighbor'}, 'High Quality': {'string': 'HQ', 'tags': 'uhdbluray-neighbor'}, 'High Resolution': 'HR', 'Line Dubbed': 'LD', 'Mic Dubbed': 'MD', 'Micro HD': ['mHD', 'HDLight'], 'Low Definition': 'LDTV', 'High Frame Rate': 'HFR', 'Variable Frame Rate': 'VFR', 'HD': {'string': 'HD', 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Full HD': {'string': ['FHD'], 'regex': ['Full-?HD'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Ultra HD': {'string': ['UHD'], 'regex': ['Ultra-?(?:HD)?'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Upscaled': {'regex': 'Upscaled?'}, 'Complete': {'string': ['Complet', 'Complete'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Classic': {'string': 'Classic', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Bonus': {'string': 'Bonus', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Trailer': {'string': 'Trailer', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Retail': {'string': 'Retail', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Colorized': {'string': 'Colorized', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Internal': {'string': 'Internal', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Line Audio': {'string': 'LiNE', 'tags': ['has-neighbor-before', 'has-neighbor-after', 'release-group-prefix']}, 'Read NFO': {'regex': 'Read-?NFO'}, 'Converted': {'string': 'CONVERT', 'tags': 'has-neighbor'}, 'Documentary': {'string': ['DOCU', 'DOKU'], 'tags': 'has-neighbor'}, 'Open Matte': {'regex': '(?:OM|Open-?Matte)', 'tags': 'has-neighbor'}, 'Straight to Video': {'string': 'STV', 'tags': 'has-neighbor'}, 'Original Aspect Ratio': {'string': 'OAR', 'tags': 'has-neighbor'}, 'East Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?East-?(?:Coast-)?Feed'}, 'West Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?West-?(?:Coast-)?Feed'}, 'Original Video': {'string': ['VO', 'OV'], 'tags': 'has-neighbor'}, 'Original Animated Video': {'string': ['Ova', 'Oav']}, 'Original Net Animation': 'Ona', 'Original Animation DVD': 'Oad', 'Mux': {'string': 'Mux', 'validator': 'import:seps_after', 'tags': ['other.validate.mux', 'video-codec-prefix', 'source-suffix']}, 'Hardcoded Subtitles': ['HC', 'vost'], 'Standard Dynamic Range': {'string': 'SDR', 'tags': 'uhdbluray-neighbor'}, 'HDR10': {'regex': 'HDR(?:10)?', 'tags': 'uhdbluray-neighbor'}, 'Dolby Vision': {'regex': 'Dolby-?Vision', 'tags': 'uhdbluray-neighbor'}, 'BT.2020': {'regex': 'BT-?2020', 'tags': 'uhdbluray-neighbor'}, 'Sample': {'string': 'Sample', 'tags': ['at-end', 'not-a-release-group']}, 'Extras': [{'string': 'Extras', 'tags': 'has-neighbor'}, {'regex': 'Digital-?Extras?'}], 'Proof': {'string': 'Proof', 'tags': ['at-end', 'not-a-release-group']}, 'Obfuscated': {'string': ['Obfuscated', 'Scrambled'], 'tags': ['at-end', 'not-a-release-group']}, 'Repost': {'string': ['xpost', 'postbot', 'asrequested'], 'tags': 'not-a-release-group'}, '_complete_words': {'callable': 'import:guessit.rules.properties.other:complete_words', 'season_words': ['seasons?', 'series?'], 'complete_article_words': ['The']}}}, 'part': {'prefixes': ['pt', 'part']}, 'release_group': {'forbidden_names': ['bonus', 'by', 'for', 'par', 'pour', 'rip'], 'ignored_seps': '[]{}()'}, 'screen_size': {'frame_rates': ['23\\.976', '24(?:\\.0{1,3})?', '25(?:\\.0{1,3})?', '29\\.970', '30(?:\\.0{1,3})?', '48(?:\\.0{1,3})?', '50(?:\\.0{1,3})?', '60(?:\\.0{1,3})?', '120(?:\\.0{1,3})?'], 'min_ar': 1.333, 'max_ar': 1.898, 'interlaced': ['360', '480', '540', '576', '900', '1080'], 'progressive': ['360', '480', '540', '576', '900', '1080', '368', '720', '1440', '2160', '4320']}, 'source': {'rip_prefix': '(?PRip)-?', 'rip_suffix': '-?(?PRip)'}, 'website': {'safe_tlds': ['com', 'net', 'org'], 'safe_subdomains': ['www'], 'safe_prefixes': ['co', 'com', 'net', 'org'], 'prefixes': ['from']}, 'streaming_service': {'9Now': '9NOW', 'A&E': ['AE', 'A&E'], 'ABC': 'AMBC', 'ABC Australia': 'AUBC', 'Al Jazeera English': 'AJAZ', 'AMC': 'AMC', 'Amazon Prime': ['AMZN', 'Amazon', 're:Amazon-?Prime'], 'Adult Swim': ['AS', 're:Adult-?Swim'], "America's Test Kitchen": 'ATK', 'Animal Planet': 'ANPL', 'AnimeLab': 'ANLB', 'AOL': 'AOL', 'AppleTV': ['ATVP', 'ATV+', 'APTV'], 'ARD': 'ARD', 'BBC iPlayer': ['iP', 're:BBC-?iPlayer'], 'Binge': 'BNGE', 'Blackpills': 'BKPL', 'BluTV': 'BLU', 'Boomerang': 'BOOM', 'Disney+': 'DSNP', 'BravoTV': 'BRAV', 'Canal+': 'CNLP', 'Cartoon Network': 'CN', 'CBC': 'CBC', 'CBS': 'CBS', 'CNBC': 'CNBC', 'Comedy Central': ['CC', 're:Comedy-?Central'], 'Channel 4': ['ALL4', '4OD'], 'CHRGD': 'CHGD', 'Cinemax': 'CMAX', 'Country Music Television': 'CMT', 'Comedians in Cars Getting Coffee': 'CCGC', 'Crave': 'CRAV', 'Crunchy Roll': ['CR', 're:Crunchy-?Roll'], 'Crackle': 'CRKL', 'CSpan': 'CSPN', 'CTV': 'CTV', 'CuriosityStream': 'CUR', 'CWSeed': 'CWS', 'Daisuki': 'DSKI', 'DC Universe': 'DCU', 'Deadhouse Films': 'DHF', 'DramaFever': ['DF', 'DramaFever'], 'Digiturk Diledigin Yerde': 'DDY', 'Discovery': ['DISC', 'Discovery'], 'Discovery Plus': 'DSCP', 'Disney': ['DSNY', 'Disney'], 'DIY Network': 'DIY', 'Doc Club': 'DOCC', 'DPlay': 'DPLY', 'E!': 'ETV', 'ePix': 'EPIX', 'El Trece': 'ETTV', 'ESPN': 'ESPN', 'Esquire': 'ESQ', 'Facebook Watch': 'FBWatch', 'Family': 'FAM', 'Family Jr': 'FJR', 'Fandor': 'FANDOR', 'Food Network': 'FOOD', 'Fox': 'FOX', 'Fox Premium': 'FOXP', 'Foxtel': 'FXTL', 'Freeform': 'FREE', 'FYI Network': 'FYI', 'GagaOOLala': 'Gaga', 'Global': 'GLBL', 'GloboSat Play': 'GLOB', 'Hallmark': 'HLMK', 'HBO Go': ['HBO', 're:HBO-?Go'], 'HBO Max': 'HMAX', 'HGTV': 'HGTV', 'History': ['HIST', 'History'], 'Hulu': 'HULU', 'Investigation Discovery': 'ID', 'IFC': 'IFC', 'hoichoi': 'HoiChoi', 'iflix': 'IFX', 'iQIYI': 'iQIYI', 'iTunes': ['iTunes', {'pattern': 'iT', 'ignore_case': False}], 'ITV': 'ITV', 'Knowledge Network': 'KNOW', 'Lifetime': 'LIFE', 'Motor Trend OnDemand': 'MTOD', 'MBC': ['MBC', 'MBCVOD'], 'MSNBC': 'MNBC', 'MTV': 'MTV', 'MUBI': 'MUBI', 'National Audiovisual Institute': 'INA', 'National Film Board': 'NFB', 'National Geographic': ['NATG', 're:National-?Geographic'], 'NBA TV': ['NBA', 're:NBA-?TV'], 'NBC': 'NBC', 'Netflix': ['NF', 'Netflix'], 'NFL': 'NFL', 'NFL Now': 'NFLN', 'NHL GameCenter': 'GC', 'Nickelodeon': ['NICK', 'Nickelodeon', 'NICKAPP'], 'Norsk Rikskringkasting': 'NRK', 'OnDemandKorea': ['ODK', 'OnDemandKorea'], 'Opto': 'OPTO', 'Oprah Winfrey Network': 'OWN', 'PBS': 'PBS', 'PBS Kids': 'PBSK', 'Peacock': ['PCOK', 'Peacock'], 'Playstation Network': 'PSN', 'Pluzz': 'PLUZ', 'PokerGO': 'POGO', 'Rakuten TV': 'RKTN', 'The Roku Channel': 'ROKU', 'RTE One': 'RTE', 'RUUTU': 'RUUTU', 'SBS': 'SBS', 'Science Channel': 'SCI', 'SeeSo': ['SESO', 'SeeSo'], 'Shomi': 'SHMI', 'Showtime': 'SHO', 'Sony': 'SONY', 'Spike': 'SPIK', 'Spike TV': ['SPKE', 're:Spike-?TV'], 'Sportsnet': 'SNET', 'Sprout': 'SPRT', 'Stan': 'STAN', 'Starz': 'STZ', 'Sveriges Television': 'SVT', 'SwearNet': 'SWER', 'Syfy': 'SYFY', 'TBS': 'TBS', 'TFou': 'TFOU', 'The CW': ['CW', 're:The-?CW'], 'TLC': 'TLC', 'TubiTV': 'TUBI', 'TV3 Ireland': 'TV3', 'TV4 Sweeden': 'TV4', 'TVING': 'TVING', 'TV Land': ['TVL', 're:TV-?Land'], 'TVNZ': 'TVNZ', 'UFC': 'UFC', 'UFC Fight Pass': 'FP', 'UKTV': 'UKTV', 'Univision': 'UNIV', 'USA Network': 'USAN', 'Velocity': 'VLCT', 'VH1': 'VH1', 'Viceland': 'VICE', 'Viki': 'VIKI', 'Vimeo': 'VMEO', 'VRV': 'VRV', 'W Network': 'WNET', 'WatchMe': 'WME', 'WWE Network': 'WWEN', 'Xbox Video': 'XBOX', 'Yahoo': 'YHOO', 'YouTube Red': 'RED', 'ZDF': 'ZDF'}}}
--------------------------------------------------------------------
Traceback (most recent call last):
  File "/app/medusa/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/app/medusa/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/app/medusa/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rules.py", line 335, in execute_rule
    rule.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 121, in then
    cons.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 134, in then
    matches.remove(match)
  File "", line 1113, in remove
  File "/app/medusa/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/app/medusa/ext/rebulk/match.py", line 126, in _remove_match
    _BaseMatches._base_remove(self._name_dict[match.name], match)
ValueError: list.remove(x): x not in list
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================
Traceback (most recent call last):
  File "/app/medusa/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/app/medusa/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/app/medusa/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rules.py", line 335, in execute_rule
    rule.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 121, in then
    cons.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 134, in then
    matches.remove(match)
  File "", line 1113, in remove
  File "/app/medusa/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/app/medusa/ext/rebulk/match.py", line 126, in _remove_match
    _BaseMatches._base_remove(self._name_dict[match.name], match)
ValueError: list.remove(x): x not in list

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/medusa/medusa/queues/show_queue.py", line 758, in run
    self.show.refresh_dir()
  File "/app/medusa/medusa/tv/series.py", line 2117, in refresh_dir
    self.load_episodes_from_dir()
  File "/app/medusa/medusa/tv/series.py", line 1154, in load_episodes_from_dir
    cur_episode.refresh_subtitles()
  File "/app/medusa/medusa/tv/episode.py", line 500, in refresh_subtitles
    current_subtitles = subtitles.get_current_subtitles(self)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/subtitles.py", line 602, in get_current_subtitles
    video = get_video(tv_episode, video_path)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/subtitles.py", line 731, in get_video
    video = scan_video(video_path)
            ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/subliminal/core.py", line 372, in scan_video
    video = Video.fromguess(path, guessit(path))
                                  ^^^^^^^^^^^^^
  File "/app/medusa/ext/guessit/api.py", line 74, in guessit
    return default_api.guessit(string, options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/guessit/api.py", line 225, in guessit
    raise GuessitException(string, options) from err
guessit.api.GuessitException: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.4.2
string=/media/series/TV Shows/The X-Files/The X-Files Season 02/The X-Files - S02E23 - Soft Light.Unknown-SickRage.avi
options={'expected_title': ['OSS 117', 'This is Us'], 'allowed_countries': ['au', 'gb', 'us'], 'allowed_languages': ['ca', 'cs', 'de', 'en', 'es', 'fr', 'he', 'hi', 'hu', 'it', 'ja', 'ko', 'mul', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sv', 'te', 'uk', 'und'], 'advanced_config': {'common_words': ['ca', 'cat', 'de', 'he', 'it', 'no', 'por', 'rum', 'se', 'st', 'sub'], 'groups': {'starting': '([{', 'ending': ')]}'}, 'audio_codec': {'audio_codec': {'MP3': {'string': ['MP3', 'LAME'], 'regex': ['LAME(?:\\d)+-?(?:\\d)+']}, 'MP2': 'MP2', 'Dolby Digital': {'string': ['Dolby', 'DolbyDigital'], 'regex': ['Dolby-Digital', 'DD', 'AC3D?']}, 'Dolby Atmos': {'string': ['Atmos'], 'regex': ['Dolby-?Atmos']}, 'AAC': 'AAC', 'Dolby Digital Plus': ['EAC3', 'DDP', 'DD+'], 'FLAC': 'Flac', 'DTS': 'DTS', 'DTS-HD': {'regex': ['DTS-?HD', 'DTS(?=-?MA)'], 'conflict_solver': "lambda match, other: other if other.name == 'audio_codec' else '__default__'"}, 'Dolby TrueHD': {'regex': ['True-?HD']}, 'Opus': 'Opus', 'Vorbis': 'Vorbis', 'PCM': 'PCM', 'LPCM': 'LPCM'}, 'audio_channels': {'1.0': ['1ch', 'mono', 're:(1[\\W_]0(?:ch)?)(?=[^\\d]|$)'], '2.0': ['2ch', 'stereo', {'regex': '(2[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'string': '20', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '5.1': ['5ch', '6ch', {'regex': '(5[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '(6[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '5[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '7.1': ['7ch', '8ch', {'regex': '(7[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '7[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}]}, 'audio_profile': {'Master Audio': {'string': 'MA', 'tags': ['audio_profile.rule', 'DTS-HD']}, 'High Resolution Audio': {'string': ['HR', 'HRA'], 'tags': ['audio_profile.rule', 'DTS-HD']}, 'Extended Surround': {'string': 'ES', 'tags': ['audio_profile.rule', 'DTS']}, 'High Efficiency': {'string': 'HE', 'tags': ['audio_profile.rule', 'AAC']}, 'Low Complexity': {'string': 'LC', 'tags': ['audio_profile.rule', 'AAC']}, 'High Quality': {'string': 'HQ', 'tags': ['audio_profile.rule', 'Dolby Digital']}, 'EX': {'string': 'EX', 'tags': ['audio_profile.rule', 'Dolby Digital']}}}, 'bit_rate': {'bit_rate': {'_': {'regex': ['\\d+-?[kmg]b(ps|its?)', '\\d+\\.\\d+-?[kmg]b(ps|its?)'], 'conflict_solver': "lambda match, other: match if other.name == 'audio_channels' and 'weak-audio_channels' not in other.tags else other", 'formatter': 'import:guessit.rules.common.quantity:BitRate.fromstring', 'tags': ['release-group-prefix']}}}, 'bonus': {'bonus': {'_': {'regex': 'x(\\d+)', 'private_parent': True, 'children': True, 'formatter': 'eval:int', 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True, 'conflict_solver': "lambda match, conflicting: match if conflicting.name in ('video_codec', 'episode') and 'weak-episode' not in conflicting.tags else '__default__'"}}}, 'cd': {'_cd_of_cd_count': {'regex': 'cd-?(?P\\d+)(?:-?of-?(?P\\d+))?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd': 'eval:int', 'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}, '_cd_count': {'regex': '(?P\\d+)-?cds?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}}, 'container': {'subtitles': ['srt', 'idx', 'sub', 'ssa', 'ass'], 'info': ['nfo'], 'videos': ['3g2', '3gp', '3gp2', 'asf', 'avi', 'divx', 'flv', 'iso', 'm4v', 'mk2', 'mk3d', 'mka', 'mkv', 'mov', 'mp4', 'mp4a', 'mpeg', 'mpg', 'ogg', 'ogm', 'ogv', 'qt', 'ra', 'ram', 'rm', 'ts', 'vob', 'wav', 'webm', 'wma', 'wmv'], 'torrent': ['torrent'], 'nzb': ['nzb']}, 'country': {'synonyms': {'ES': ['españa'], 'GB': ['UK'], 'BR': ['brazilian', 'bra'], 'CA': ['québec', 'quebec', 'qc'], 'MX': ['Latinoamérica', 'latin america']}}, 'edition': {'edition': {'Collector': {'string': ['collector'], 'regex': ["collector'?s?-edition", 'edition-collector']}, 'Special': [{'regex': ['special-edition', 'edition-special'], 'conflict_solver': "lambda match, other: other if other.name == 'episode_details' and other.value == 'Special' else '__default__'"}, {'string': 'se', 'tags': 'has-neighbor'}], "Director's Definitive Cut": 'ddc', 'Criterion': {'string': ['CC', 'Criterion'], 'regex': ['criterion-edition', 'edition-criterion']}, 'Deluxe': {'string': ['deluxe'], 'regex': ['deluxe-edition', 'edition-deluxe']}, 'Limited': {'string': ['limited'], 'regex': ['limited-edition'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Theatrical': {'string': ['theatrical'], 'regex': ['theatrical-cut', 'theatrical-edition']}, "Director's Cut": {'string': ['DC'], 'regex': ["director'?s?-cut", "director'?s?-cut-edition", "edition-director'?s?-cut"]}, 'Extended': {'string': ['extended'], 'regex': ['extended-?cut', 'extended-?version'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Alternative Cut': {'regex': ['alternat(e|ive)(?:-?Cut)?'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Remastered': [{'string': 'Remastered', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-remaster(?:ed)?', 'tags': ['release-group-prefix']}], 'Restored': [{'string': 'Restored', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-restore(?:d)?', 'tags': ['release-group-prefix']}], 'Uncensored': {'string': 'Uncensored', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Uncut': {'string': 'Uncut', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Unrated': {'string': 'Unrated', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Festival': {'string': 'Festival', 'tags': ['has-neighbor-before', 'has-neighbor-after']}, 'IMAX': {'string': ['imax'], 'regex': ['imax-edition']}, 'Fan': {'regex': ['fan-edit(?:ion)?', 'fan-collection']}, 'Ultimate': {'regex': ['ultimate-edition']}, '_Ultimate_Collector': {'regex': ["ultimate-collector'?s?-edition"], 'value': ['Ultimate', 'Collector']}, '_Ultimate_Fan': {'regex': ['ultimate-fan-edit(?:ion)?', 'ultimate-fan-collection'], 'value': ['Ultimate', 'Fan']}}}, 'episodes': {'season_max_range': 100, 'episode_max_range': 100, 'max_range_gap': 1, 'season_markers': ['s'], 'season_ep_markers': ['x'], 'disc_markers': ['d'], 'episode_markers': ['xe', 'ex', 'ep', 'e', 'x'], 'range_separators': ['-', '~', 'to', 'a'], 'discrete_separators': ['+', '&', 'and', 'et'], 'season_words': ['season', 'saison', 'seizoen', 'seasons', 'saisons', 'tem', 'temp', 'temporada', 'temporadas', 'stagione'], 'episode_words': ['episode', 'episodes', 'eps', 'ep', 'episodio', 'episodios', 'capitulo', 'capitulos'], 'of_words': ['of', 'sur'], 'all_words': ['All']}, 'film': {'film': {'_f': {'regex': 'f(\\d{1,2})', 'name': 'film', 'validate_all': True, 'validator': {'__parent__': 'import:seps_surround'}, 'private_parent': True, 'children': True, 'formatter': 'eval:int'}}}, 'language': {'synonyms': {'ell': ['gr', 'greek'], 'spa': ['esp', 'español', 'espanol'], 'fra': ['français', 'vf', 'vff', 'vfi', 'vfq'], 'swe': ['se'], 'por_BR': ['po', 'pb', 'pob', 'ptbr', 'br', 'brazilian'], 'deu_CH': ['swissgerman', 'swiss german'], 'nld_BE': ['flemish'], 'cat': ['català', 'castellano', 'espanol castellano', 'español castellano'], 'ces': ['cz'], 'ukr': ['ua'], 'zho': ['cn'], 'jpn': ['jp'], 'hrv': ['scr'], 'mul': ['multi', 'multiple', 'dl']}, 'subtitle_affixes': ['sub', 'subs', 'subtitle', 'subtitles', 'esub', 'esubs', 'subbed', 'custom subbed', 'custom subs', 'custom sub', 'customsubbed', 'customsubs', 'customsub', 'soft subtitles', 'soft subs'], 'subtitle_prefixes': ['st', 'vost', 'subforced', 'fansub', 'hardsub', 'legenda', 'legendas', 'legendado', 'subtitulado', 'soft'], 'subtitle_suffixes': ['subforced', 'fansub', 'hardsub'], 'language_affixes': ['dublado', 'dubbed', 'dub'], 'language_prefixes': ['true'], 'language_suffixes': ['audio'], 'weak_affixes': ['v', 'audio', 'true']}, 'other': {'other': {'Audio Fixed': {'regex': ['Audio-?Fix', 'Audio-?Fixed']}, 'Sync Fixed': {'regex': ['Sync-?Fix', 'Sync-?Fixed']}, 'Dual Audio': {'string': ['Dual'], 'regex': ['Dual-?Audio']}, 'Widescreen': {'string': ['ws'], 'regex': ['wide-?screen']}, 'Reencoded': {'regex': ['Re-?Enc(?:oded)?']}, '_repack_with_count': {'regex': ['Repack(?P\\d*)', 'Rerip(?P\\d*)'], 'value': {'other': 'Proper'}, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Proper': [{'string': 'Proper', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['Real-Proper', 'Real-Repack', 'Real-Rerip'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix', 'real']}, {'string': 'Real', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix', 'real']}], 'Fix': [{'string': ['Fix', 'Fixed'], 'tags': ['has-neighbor-before', 'has-neighbor-after', 'streaming_service.prefix', 'streaming_service.suffix']}, {'string': ['Dirfix', 'Nfofix', 'Prooffix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['(?:Proof-?)?Sample-?Fix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}], 'Fan Subtitled': {'string': 'Fansub', 'tags': 'has-neighbor'}, 'Fast Subtitled': {'string': 'Fastsub', 'tags': 'has-neighbor'}, 'Region 5': 'R5', 'Region C': 'RC', 'Preair': {'regex': 'Pre-?Air'}, 'PS Vita': [{'regex': '(?:PS-?)Vita'}, {'string': 'Vita', 'tags': 'has-neighbor'}], '_HdRip': {'value': {'other': 'HD', 'another': 'Rip'}, 'regex': ['(HD)(?PRip)'], 'private_parent': True, 'children': True, 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True}, 'Screener': ['Screener', {'regex': 'Scr(?:eener)?', 'validator': None, 'tags': ['other.validate.screener', 'source-prefix', 'source-suffix']}], 'Remux': 'Remux', 'Hybrid': 'Hybrid', 'PAL': 'PAL', 'SECAM': 'SECAM', 'NTSC': 'NTSC', 'XXX': 'XXX', '2in1': '2in1', '3D': {'string': '3D', 'tags': 'has-neighbor'}, 'High Quality': {'string': 'HQ', 'tags': 'uhdbluray-neighbor'}, 'High Resolution': 'HR', 'Line Dubbed': 'LD', 'Mic Dubbed': 'MD', 'Micro HD': ['mHD', 'HDLight'], 'Low Definition': 'LDTV', 'High Frame Rate': 'HFR', 'Variable Frame Rate': 'VFR', 'HD': {'string': 'HD', 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Full HD': {'string': ['FHD'], 'regex': ['Full-?HD'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Ultra HD': {'string': ['UHD'], 'regex': ['Ultra-?(?:HD)?'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Upscaled': {'regex': 'Upscaled?'}, 'Complete': {'string': ['Complet', 'Complete'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Classic': {'string': 'Classic', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Bonus': {'string': 'Bonus', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Trailer': {'string': 'Trailer', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Retail': {'string': 'Retail', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Colorized': {'string': 'Colorized', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Internal': {'string': 'Internal', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Line Audio': {'string': 'LiNE', 'tags': ['has-neighbor-before', 'has-neighbor-after', 'release-group-prefix']}, 'Read NFO': {'regex': 'Read-?NFO'}, 'Converted': {'string': 'CONVERT', 'tags': 'has-neighbor'}, 'Documentary': {'string': ['DOCU', 'DOKU'], 'tags': 'has-neighbor'}, 'Open Matte': {'regex': '(?:OM|Open-?Matte)', 'tags': 'has-neighbor'}, 'Straight to Video': {'string': 'STV', 'tags': 'has-neighbor'}, 'Original Aspect Ratio': {'string': 'OAR', 'tags': 'has-neighbor'}, 'East Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?East-?(?:Coast-)?Feed'}, 'West Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?West-?(?:Coast-)?Feed'}, 'Original Video': {'string': ['VO', 'OV'], 'tags': 'has-neighbor'}, 'Original Animated Video': {'string': ['Ova', 'Oav']}, 'Original Net Animation': 'Ona', 'Original Animation DVD': 'Oad', 'Mux': {'string': 'Mux', 'validator': 'import:seps_after', 'tags': ['other.validate.mux', 'video-codec-prefix', 'source-suffix']}, 'Hardcoded Subtitles': ['HC', 'vost'], 'Standard Dynamic Range': {'string': 'SDR', 'tags': 'uhdbluray-neighbor'}, 'HDR10': {'regex': 'HDR(?:10)?', 'tags': 'uhdbluray-neighbor'}, 'Dolby Vision': {'regex': 'Dolby-?Vision', 'tags': 'uhdbluray-neighbor'}, 'BT.2020': {'regex': 'BT-?2020', 'tags': 'uhdbluray-neighbor'}, 'Sample': {'string': 'Sample', 'tags': ['at-end', 'not-a-release-group']}, 'Extras': [{'string': 'Extras', 'tags': 'has-neighbor'}, {'regex': 'Digital-?Extras?'}], 'Proof': {'string': 'Proof', 'tags': ['at-end', 'not-a-release-group']}, 'Obfuscated': {'string': ['Obfuscated', 'Scrambled'], 'tags': ['at-end', 'not-a-release-group']}, 'Repost': {'string': ['xpost', 'postbot', 'asrequested'], 'tags': 'not-a-release-group'}, '_complete_words': {'callable': 'import:guessit.rules.properties.other:complete_words', 'season_words': ['seasons?', 'series?'], 'complete_article_words': ['The']}}}, 'part': {'prefixes': ['pt', 'part']}, 'release_group': {'forbidden_names': ['bonus', 'by', 'for', 'par', 'pour', 'rip'], 'ignored_seps': '[]{}()'}, 'screen_size': {'frame_rates': ['23\\.976', '24(?:\\.0{1,3})?', '25(?:\\.0{1,3})?', '29\\.970', '30(?:\\.0{1,3})?', '48(?:\\.0{1,3})?', '50(?:\\.0{1,3})?', '60(?:\\.0{1,3})?', '120(?:\\.0{1,3})?'], 'min_ar': 1.333, 'max_ar': 1.898, 'interlaced': ['360', '480', '540', '576', '900', '1080'], 'progressive': ['360', '480', '540', '576', '900', '1080', '368', '720', '1440', '2160', '4320']}, 'source': {'rip_prefix': '(?PRip)-?', 'rip_suffix': '-?(?PRip)'}, 'website': {'safe_tlds': ['com', 'net', 'org'], 'safe_subdomains': ['www'], 'safe_prefixes': ['co', 'com', 'net', 'org'], 'prefixes': ['from']}, 'streaming_service': {'9Now': '9NOW', 'A&E': ['AE', 'A&E'], 'ABC': 'AMBC', 'ABC Australia': 'AUBC', 'Al Jazeera English': 'AJAZ', 'AMC': 'AMC', 'Amazon Prime': ['AMZN', 'Amazon', 're:Amazon-?Prime'], 'Adult Swim': ['AS', 're:Adult-?Swim'], "America's Test Kitchen": 'ATK', 'Animal Planet': 'ANPL', 'AnimeLab': 'ANLB', 'AOL': 'AOL', 'AppleTV': ['ATVP', 'ATV+', 'APTV'], 'ARD': 'ARD', 'BBC iPlayer': ['iP', 're:BBC-?iPlayer'], 'Binge': 'BNGE', 'Blackpills': 'BKPL', 'BluTV': 'BLU', 'Boomerang': 'BOOM', 'Disney+': 'DSNP', 'BravoTV': 'BRAV', 'Canal+': 'CNLP', 'Cartoon Network': 'CN', 'CBC': 'CBC', 'CBS': 'CBS', 'CNBC': 'CNBC', 'Comedy Central': ['CC', 're:Comedy-?Central'], 'Channel 4': ['ALL4', '4OD'], 'CHRGD': 'CHGD', 'Cinemax': 'CMAX', 'Country Music Television': 'CMT', 'Comedians in Cars Getting Coffee': 'CCGC', 'Crave': 'CRAV', 'Crunchy Roll': ['CR', 're:Crunchy-?Roll'], 'Crackle': 'CRKL', 'CSpan': 'CSPN', 'CTV': 'CTV', 'CuriosityStream': 'CUR', 'CWSeed': 'CWS', 'Daisuki': 'DSKI', 'DC Universe': 'DCU', 'Deadhouse Films': 'DHF', 'DramaFever': ['DF', 'DramaFever'], 'Digiturk Diledigin Yerde': 'DDY', 'Discovery': ['DISC', 'Discovery'], 'Discovery Plus': 'DSCP', 'Disney': ['DSNY', 'Disney'], 'DIY Network': 'DIY', 'Doc Club': 'DOCC', 'DPlay': 'DPLY', 'E!': 'ETV', 'ePix': 'EPIX', 'El Trece': 'ETTV', 'ESPN': 'ESPN', 'Esquire': 'ESQ', 'Facebook Watch': 'FBWatch', 'Family': 'FAM', 'Family Jr': 'FJR', 'Fandor': 'FANDOR', 'Food Network': 'FOOD', 'Fox': 'FOX', 'Fox Premium': 'FOXP', 'Foxtel': 'FXTL', 'Freeform': 'FREE', 'FYI Network': 'FYI', 'GagaOOLala': 'Gaga', 'Global': 'GLBL', 'GloboSat Play': 'GLOB', 'Hallmark': 'HLMK', 'HBO Go': ['HBO', 're:HBO-?Go'], 'HBO Max': 'HMAX', 'HGTV': 'HGTV', 'History': ['HIST', 'History'], 'Hulu': 'HULU', 'Investigation Discovery': 'ID', 'IFC': 'IFC', 'hoichoi': 'HoiChoi', 'iflix': 'IFX', 'iQIYI': 'iQIYI', 'iTunes': ['iTunes', {'pattern': 'iT', 'ignore_case': False}], 'ITV': 'ITV', 'Knowledge Network': 'KNOW', 'Lifetime': 'LIFE', 'Motor Trend OnDemand': 'MTOD', 'MBC': ['MBC', 'MBCVOD'], 'MSNBC': 'MNBC', 'MTV': 'MTV', 'MUBI': 'MUBI', 'National Audiovisual Institute': 'INA', 'National Film Board': 'NFB', 'National Geographic': ['NATG', 're:National-?Geographic'], 'NBA TV': ['NBA', 're:NBA-?TV'], 'NBC': 'NBC', 'Netflix': ['NF', 'Netflix'], 'NFL': 'NFL', 'NFL Now': 'NFLN', 'NHL GameCenter': 'GC', 'Nickelodeon': ['NICK', 'Nickelodeon', 'NICKAPP'], 'Norsk Rikskringkasting': 'NRK', 'OnDemandKorea': ['ODK', 'OnDemandKorea'], 'Opto': 'OPTO', 'Oprah Winfrey Network': 'OWN', 'PBS': 'PBS', 'PBS Kids': 'PBSK', 'Peacock': ['PCOK', 'Peacock'], 'Playstation Network': 'PSN', 'Pluzz': 'PLUZ', 'PokerGO': 'POGO', 'Rakuten TV': 'RKTN', 'The Roku Channel': 'ROKU', 'RTE One': 'RTE', 'RUUTU': 'RUUTU', 'SBS': 'SBS', 'Science Channel': 'SCI', 'SeeSo': ['SESO', 'SeeSo'], 'Shomi': 'SHMI', 'Showtime': 'SHO', 'Sony': 'SONY', 'Spike': 'SPIK', 'Spike TV': ['SPKE', 're:Spike-?TV'], 'Sportsnet': 'SNET', 'Sprout': 'SPRT', 'Stan': 'STAN', 'Starz': 'STZ', 'Sveriges Television': 'SVT', 'SwearNet': 'SWER', 'Syfy': 'SYFY', 'TBS': 'TBS', 'TFou': 'TFOU', 'The CW': ['CW', 're:The-?CW'], 'TLC': 'TLC', 'TubiTV': 'TUBI', 'TV3 Ireland': 'TV3', 'TV4 Sweeden': 'TV4', 'TVING': 'TVING', 'TV Land': ['TVL', 're:TV-?Land'], 'TVNZ': 'TVNZ', 'UFC': 'UFC', 'UFC Fight Pass': 'FP', 'UKTV': 'UKTV', 'Univision': 'UNIV', 'USA Network': 'USAN', 'Velocity': 'VLCT', 'VH1': 'VH1', 'Viceland': 'VICE', 'Viki': 'VIKI', 'Vimeo': 'VMEO', 'VRV': 'VRV', 'W Network': 'WNET', 'WatchMe': 'WME', 'WWE Network': 'WWEN', 'Xbox Video': 'XBOX', 'Yahoo': 'YHOO', 'YouTube Red': 'RED', 'ZDF': 'ZDF'}}}
--------------------------------------------------------------------
Traceback (most recent call last):
  File "/app/medusa/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/app/medusa/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/app/medusa/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rules.py", line 335, in execute_rule
    rule.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 121, in then
    cons.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 134, in then
    matches.remove(match)
  File "", line 1113, in remove
  File "/app/medusa/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/app/medusa/ext/rebulk/match.py", line 126, in _remove_match
    _BaseMatches._base_remove(self._name_dict[match.name], match)
ValueError: list.remove(x): x not in list
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

ComplexIOd commented 1 year ago

INFO

Python Version: 3.11.4 (main, Jun 9 2023, 02:29:05) [GCC 12.2.1 20220924] Operating System: Linux-5.15.0-78-generic-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@ Link to Log: No Log available

ERROR

2023-08-24 17:43:25 ERROR    FINDSUBTITLES :: [] Exception generated: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.4.2
string=/media/series/TV Shows/Obi-Wan Kenobi/Obi-Wan Kenobi Season 01/Obi-Wan Kenobi - S01E01 - Part I.720p.WEB-DL.h264-NTb.mkv
options={'expected_title': ['OSS 117', 'This is Us'], 'allowed_countries': ['au', 'gb', 'us'], 'allowed_languages': ['ca', 'cs', 'de', 'en', 'es', 'fr', 'he', 'hi', 'hu', 'it', 'ja', 'ko', 'mul', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sv', 'te', 'uk', 'und'], 'advanced_config': {'common_words': ['ca', 'cat', 'de', 'he', 'it', 'no', 'por', 'rum', 'se', 'st', 'sub'], 'groups': {'starting': '([{', 'ending': ')]}'}, 'audio_codec': {'audio_codec': {'MP3': {'string': ['MP3', 'LAME'], 'regex': ['LAME(?:\\d)+-?(?:\\d)+']}, 'MP2': 'MP2', 'Dolby Digital': {'string': ['Dolby', 'DolbyDigital'], 'regex': ['Dolby-Digital', 'DD', 'AC3D?']}, 'Dolby Atmos': {'string': ['Atmos'], 'regex': ['Dolby-?Atmos']}, 'AAC': 'AAC', 'Dolby Digital Plus': ['EAC3', 'DDP', 'DD+'], 'FLAC': 'Flac', 'DTS': 'DTS', 'DTS-HD': {'regex': ['DTS-?HD', 'DTS(?=-?MA)'], 'conflict_solver': "lambda match, other: other if other.name == 'audio_codec' else '__default__'"}, 'Dolby TrueHD': {'regex': ['True-?HD']}, 'Opus': 'Opus', 'Vorbis': 'Vorbis', 'PCM': 'PCM', 'LPCM': 'LPCM'}, 'audio_channels': {'1.0': ['1ch', 'mono', 're:(1[\\W_]0(?:ch)?)(?=[^\\d]|$)'], '2.0': ['2ch', 'stereo', {'regex': '(2[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'string': '20', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '5.1': ['5ch', '6ch', {'regex': '(5[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '(6[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '5[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '7.1': ['7ch', '8ch', {'regex': '(7[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '7[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}]}, 'audio_profile': {'Master Audio': {'string': 'MA', 'tags': ['audio_profile.rule', 'DTS-HD']}, 'High Resolution Audio': {'string': ['HR', 'HRA'], 'tags': ['audio_profile.rule', 'DTS-HD']}, 'Extended Surround': {'string': 'ES', 'tags': ['audio_profile.rule', 'DTS']}, 'High Efficiency': {'string': 'HE', 'tags': ['audio_profile.rule', 'AAC']}, 'Low Complexity': {'string': 'LC', 'tags': ['audio_profile.rule', 'AAC']}, 'High Quality': {'string': 'HQ', 'tags': ['audio_profile.rule', 'Dolby Digital']}, 'EX': {'string': 'EX', 'tags': ['audio_profile.rule', 'Dolby Digital']}}}, 'bit_rate': {'bit_rate': {'_': {'regex': ['\\d+-?[kmg]b(ps|its?)', '\\d+\\.\\d+-?[kmg]b(ps|its?)'], 'conflict_solver': "lambda match, other: match if other.name == 'audio_channels' and 'weak-audio_channels' not in other.tags else other", 'formatter': 'import:guessit.rules.common.quantity:BitRate.fromstring', 'tags': ['release-group-prefix']}}}, 'bonus': {'bonus': {'_': {'regex': 'x(\\d+)', 'private_parent': True, 'children': True, 'formatter': 'eval:int', 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True, 'conflict_solver': "lambda match, conflicting: match if conflicting.name in ('video_codec', 'episode') and 'weak-episode' not in conflicting.tags else '__default__'"}}}, 'cd': {'_cd_of_cd_count': {'regex': 'cd-?(?P\\d+)(?:-?of-?(?P\\d+))?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd': 'eval:int', 'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}, '_cd_count': {'regex': '(?P\\d+)-?cds?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}}, 'container': {'subtitles': ['srt', 'idx', 'sub', 'ssa', 'ass'], 'info': ['nfo'], 'videos': ['3g2', '3gp', '3gp2', 'asf', 'avi', 'divx', 'flv', 'iso', 'm4v', 'mk2', 'mk3d', 'mka', 'mkv', 'mov', 'mp4', 'mp4a', 'mpeg', 'mpg', 'ogg', 'ogm', 'ogv', 'qt', 'ra', 'ram', 'rm', 'ts', 'vob', 'wav', 'webm', 'wma', 'wmv'], 'torrent': ['torrent'], 'nzb': ['nzb']}, 'country': {'synonyms': {'ES': ['españa'], 'GB': ['UK'], 'BR': ['brazilian', 'bra'], 'CA': ['québec', 'quebec', 'qc'], 'MX': ['Latinoamérica', 'latin america']}}, 'edition': {'edition': {'Collector': {'string': ['collector'], 'regex': ["collector'?s?-edition", 'edition-collector']}, 'Special': [{'regex': ['special-edition', 'edition-special'], 'conflict_solver': "lambda match, other: other if other.name == 'episode_details' and other.value == 'Special' else '__default__'"}, {'string': 'se', 'tags': 'has-neighbor'}], "Director's Definitive Cut": 'ddc', 'Criterion': {'string': ['CC', 'Criterion'], 'regex': ['criterion-edition', 'edition-criterion']}, 'Deluxe': {'string': ['deluxe'], 'regex': ['deluxe-edition', 'edition-deluxe']}, 'Limited': {'string': ['limited'], 'regex': ['limited-edition'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Theatrical': {'string': ['theatrical'], 'regex': ['theatrical-cut', 'theatrical-edition']}, "Director's Cut": {'string': ['DC'], 'regex': ["director'?s?-cut", "director'?s?-cut-edition", "edition-director'?s?-cut"]}, 'Extended': {'string': ['extended'], 'regex': ['extended-?cut', 'extended-?version'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Alternative Cut': {'regex': ['alternat(e|ive)(?:-?Cut)?'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Remastered': [{'string': 'Remastered', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-remaster(?:ed)?', 'tags': ['release-group-prefix']}], 'Restored': [{'string': 'Restored', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-restore(?:d)?', 'tags': ['release-group-prefix']}], 'Uncensored': {'string': 'Uncensored', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Uncut': {'string': 'Uncut', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Unrated': {'string': 'Unrated', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Festival': {'string': 'Festival', 'tags': ['has-neighbor-before', 'has-neighbor-after']}, 'IMAX': {'string': ['imax'], 'regex': ['imax-edition']}, 'Fan': {'regex': ['fan-edit(?:ion)?', 'fan-collection']}, 'Ultimate': {'regex': ['ultimate-edition']}, '_Ultimate_Collector': {'regex': ["ultimate-collector'?s?-edition"], 'value': ['Ultimate', 'Collector']}, '_Ultimate_Fan': {'regex': ['ultimate-fan-edit(?:ion)?', 'ultimate-fan-collection'], 'value': ['Ultimate', 'Fan']}}}, 'episodes': {'season_max_range': 100, 'episode_max_range': 100, 'max_range_gap': 1, 'season_markers': ['s'], 'season_ep_markers': ['x'], 'disc_markers': ['d'], 'episode_markers': ['xe', 'ex', 'ep', 'e', 'x'], 'range_separators': ['-', '~', 'to', 'a'], 'discrete_separators': ['+', '&', 'and', 'et'], 'season_words': ['season', 'saison', 'seizoen', 'seasons', 'saisons', 'tem', 'temp', 'temporada', 'temporadas', 'stagione'], 'episode_words': ['episode', 'episodes', 'eps', 'ep', 'episodio', 'episodios', 'capitulo', 'capitulos'], 'of_words': ['of', 'sur'], 'all_words': ['All']}, 'film': {'film': {'_f': {'regex': 'f(\\d{1,2})', 'name': 'film', 'validate_all': True, 'validator': {'__parent__': 'import:seps_surround'}, 'private_parent': True, 'children': True, 'formatter': 'eval:int'}}}, 'language': {'synonyms': {'ell': ['gr', 'greek'], 'spa': ['esp', 'español', 'espanol'], 'fra': ['français', 'vf', 'vff', 'vfi', 'vfq'], 'swe': ['se'], 'por_BR': ['po', 'pb', 'pob', 'ptbr', 'br', 'brazilian'], 'deu_CH': ['swissgerman', 'swiss german'], 'nld_BE': ['flemish'], 'cat': ['català', 'castellano', 'espanol castellano', 'español castellano'], 'ces': ['cz'], 'ukr': ['ua'], 'zho': ['cn'], 'jpn': ['jp'], 'hrv': ['scr'], 'mul': ['multi', 'multiple', 'dl']}, 'subtitle_affixes': ['sub', 'subs', 'subtitle', 'subtitles', 'esub', 'esubs', 'subbed', 'custom subbed', 'custom subs', 'custom sub', 'customsubbed', 'customsubs', 'customsub', 'soft subtitles', 'soft subs'], 'subtitle_prefixes': ['st', 'vost', 'subforced', 'fansub', 'hardsub', 'legenda', 'legendas', 'legendado', 'subtitulado', 'soft'], 'subtitle_suffixes': ['subforced', 'fansub', 'hardsub'], 'language_affixes': ['dublado', 'dubbed', 'dub'], 'language_prefixes': ['true'], 'language_suffixes': ['audio'], 'weak_affixes': ['v', 'audio', 'true']}, 'other': {'other': {'Audio Fixed': {'regex': ['Audio-?Fix', 'Audio-?Fixed']}, 'Sync Fixed': {'regex': ['Sync-?Fix', 'Sync-?Fixed']}, 'Dual Audio': {'string': ['Dual'], 'regex': ['Dual-?Audio']}, 'Widescreen': {'string': ['ws'], 'regex': ['wide-?screen']}, 'Reencoded': {'regex': ['Re-?Enc(?:oded)?']}, '_repack_with_count': {'regex': ['Repack(?P\\d*)', 'Rerip(?P\\d*)'], 'value': {'other': 'Proper'}, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Proper': [{'string': 'Proper', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['Real-Proper', 'Real-Repack', 'Real-Rerip'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix', 'real']}, {'string': 'Real', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix', 'real']}], 'Fix': [{'string': ['Fix', 'Fixed'], 'tags': ['has-neighbor-before', 'has-neighbor-after', 'streaming_service.prefix', 'streaming_service.suffix']}, {'string': ['Dirfix', 'Nfofix', 'Prooffix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['(?:Proof-?)?Sample-?Fix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}], 'Fan Subtitled': {'string': 'Fansub', 'tags': 'has-neighbor'}, 'Fast Subtitled': {'string': 'Fastsub', 'tags': 'has-neighbor'}, 'Region 5': 'R5', 'Region C': 'RC', 'Preair': {'regex': 'Pre-?Air'}, 'PS Vita': [{'regex': '(?:PS-?)Vita'}, {'string': 'Vita', 'tags': 'has-neighbor'}], '_HdRip': {'value': {'other': 'HD', 'another': 'Rip'}, 'regex': ['(HD)(?PRip)'], 'private_parent': True, 'children': True, 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True}, 'Screener': ['Screener', {'regex': 'Scr(?:eener)?', 'validator': None, 'tags': ['other.validate.screener', 'source-prefix', 'source-suffix']}], 'Remux': 'Remux', 'Hybrid': 'Hybrid', 'PAL': 'PAL', 'SECAM': 'SECAM', 'NTSC': 'NTSC', 'XXX': 'XXX', '2in1': '2in1', '3D': {'string': '3D', 'tags': 'has-neighbor'}, 'High Quality': {'string': 'HQ', 'tags': 'uhdbluray-neighbor'}, 'High Resolution': 'HR', 'Line Dubbed': 'LD', 'Mic Dubbed': 'MD', 'Micro HD': ['mHD', 'HDLight'], 'Low Definition': 'LDTV', 'High Frame Rate': 'HFR', 'Variable Frame Rate': 'VFR', 'HD': {'string': 'HD', 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Full HD': {'string': ['FHD'], 'regex': ['Full-?HD'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Ultra HD': {'string': ['UHD'], 'regex': ['Ultra-?(?:HD)?'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Upscaled': {'regex': 'Upscaled?'}, 'Complete': {'string': ['Complet', 'Complete'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Classic': {'string': 'Classic', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Bonus': {'string': 'Bonus', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Trailer': {'string': 'Trailer', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Retail': {'string': 'Retail', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Colorized': {'string': 'Colorized', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Internal': {'string': 'Internal', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Line Audio': {'string': 'LiNE', 'tags': ['has-neighbor-before', 'has-neighbor-after', 'release-group-prefix']}, 'Read NFO': {'regex': 'Read-?NFO'}, 'Converted': {'string': 'CONVERT', 'tags': 'has-neighbor'}, 'Documentary': {'string': ['DOCU', 'DOKU'], 'tags': 'has-neighbor'}, 'Open Matte': {'regex': '(?:OM|Open-?Matte)', 'tags': 'has-neighbor'}, 'Straight to Video': {'string': 'STV', 'tags': 'has-neighbor'}, 'Original Aspect Ratio': {'string': 'OAR', 'tags': 'has-neighbor'}, 'East Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?East-?(?:Coast-)?Feed'}, 'West Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?West-?(?:Coast-)?Feed'}, 'Original Video': {'string': ['VO', 'OV'], 'tags': 'has-neighbor'}, 'Original Animated Video': {'string': ['Ova', 'Oav']}, 'Original Net Animation': 'Ona', 'Original Animation DVD': 'Oad', 'Mux': {'string': 'Mux', 'validator': 'import:seps_after', 'tags': ['other.validate.mux', 'video-codec-prefix', 'source-suffix']}, 'Hardcoded Subtitles': ['HC', 'vost'], 'Standard Dynamic Range': {'string': 'SDR', 'tags': 'uhdbluray-neighbor'}, 'HDR10': {'regex': 'HDR(?:10)?', 'tags': 'uhdbluray-neighbor'}, 'Dolby Vision': {'regex': 'Dolby-?Vision', 'tags': 'uhdbluray-neighbor'}, 'BT.2020': {'regex': 'BT-?2020', 'tags': 'uhdbluray-neighbor'}, 'Sample': {'string': 'Sample', 'tags': ['at-end', 'not-a-release-group']}, 'Extras': [{'string': 'Extras', 'tags': 'has-neighbor'}, {'regex': 'Digital-?Extras?'}], 'Proof': {'string': 'Proof', 'tags': ['at-end', 'not-a-release-group']}, 'Obfuscated': {'string': ['Obfuscated', 'Scrambled'], 'tags': ['at-end', 'not-a-release-group']}, 'Repost': {'string': ['xpost', 'postbot', 'asrequested'], 'tags': 'not-a-release-group'}, '_complete_words': {'callable': 'import:guessit.rules.properties.other:complete_words', 'season_words': ['seasons?', 'series?'], 'complete_article_words': ['The']}}}, 'part': {'prefixes': ['pt', 'part']}, 'release_group': {'forbidden_names': ['bonus', 'by', 'for', 'par', 'pour', 'rip'], 'ignored_seps': '[]{}()'}, 'screen_size': {'frame_rates': ['23\\.976', '24(?:\\.0{1,3})?', '25(?:\\.0{1,3})?', '29\\.970', '30(?:\\.0{1,3})?', '48(?:\\.0{1,3})?', '50(?:\\.0{1,3})?', '60(?:\\.0{1,3})?', '120(?:\\.0{1,3})?'], 'min_ar': 1.333, 'max_ar': 1.898, 'interlaced': ['360', '480', '540', '576', '900', '1080'], 'progressive': ['360', '480', '540', '576', '900', '1080', '368', '720', '1440', '2160', '4320']}, 'source': {'rip_prefix': '(?PRip)-?', 'rip_suffix': '-?(?PRip)'}, 'website': {'safe_tlds': ['com', 'net', 'org'], 'safe_subdomains': ['www'], 'safe_prefixes': ['co', 'com', 'net', 'org'], 'prefixes': ['from']}, 'streaming_service': {'9Now': '9NOW', 'A&E': ['AE', 'A&E'], 'ABC': 'AMBC', 'ABC Australia': 'AUBC', 'Al Jazeera English': 'AJAZ', 'AMC': 'AMC', 'Amazon Prime': ['AMZN', 'Amazon', 're:Amazon-?Prime'], 'Adult Swim': ['AS', 're:Adult-?Swim'], "America's Test Kitchen": 'ATK', 'Animal Planet': 'ANPL', 'AnimeLab': 'ANLB', 'AOL': 'AOL', 'AppleTV': ['ATVP', 'ATV+', 'APTV'], 'ARD': 'ARD', 'BBC iPlayer': ['iP', 're:BBC-?iPlayer'], 'Binge': 'BNGE', 'Blackpills': 'BKPL', 'BluTV': 'BLU', 'Boomerang': 'BOOM', 'Disney+': 'DSNP', 'BravoTV': 'BRAV', 'Canal+': 'CNLP', 'Cartoon Network': 'CN', 'CBC': 'CBC', 'CBS': 'CBS', 'CNBC': 'CNBC', 'Comedy Central': ['CC', 're:Comedy-?Central'], 'Channel 4': ['ALL4', '4OD'], 'CHRGD': 'CHGD', 'Cinemax': 'CMAX', 'Country Music Television': 'CMT', 'Comedians in Cars Getting Coffee': 'CCGC', 'Crave': 'CRAV', 'Crunchy Roll': ['CR', 're:Crunchy-?Roll'], 'Crackle': 'CRKL', 'CSpan': 'CSPN', 'CTV': 'CTV', 'CuriosityStream': 'CUR', 'CWSeed': 'CWS', 'Daisuki': 'DSKI', 'DC Universe': 'DCU', 'Deadhouse Films': 'DHF', 'DramaFever': ['DF', 'DramaFever'], 'Digiturk Diledigin Yerde': 'DDY', 'Discovery': ['DISC', 'Discovery'], 'Discovery Plus': 'DSCP', 'Disney': ['DSNY', 'Disney'], 'DIY Network': 'DIY', 'Doc Club': 'DOCC', 'DPlay': 'DPLY', 'E!': 'ETV', 'ePix': 'EPIX', 'El Trece': 'ETTV', 'ESPN': 'ESPN', 'Esquire': 'ESQ', 'Facebook Watch': 'FBWatch', 'Family': 'FAM', 'Family Jr': 'FJR', 'Fandor': 'FANDOR', 'Food Network': 'FOOD', 'Fox': 'FOX', 'Fox Premium': 'FOXP', 'Foxtel': 'FXTL', 'Freeform': 'FREE', 'FYI Network': 'FYI', 'GagaOOLala': 'Gaga', 'Global': 'GLBL', 'GloboSat Play': 'GLOB', 'Hallmark': 'HLMK', 'HBO Go': ['HBO', 're:HBO-?Go'], 'HBO Max': 'HMAX', 'HGTV': 'HGTV', 'History': ['HIST', 'History'], 'Hulu': 'HULU', 'Investigation Discovery': 'ID', 'IFC': 'IFC', 'hoichoi': 'HoiChoi', 'iflix': 'IFX', 'iQIYI': 'iQIYI', 'iTunes': ['iTunes', {'pattern': 'iT', 'ignore_case': False}], 'ITV': 'ITV', 'Knowledge Network': 'KNOW', 'Lifetime': 'LIFE', 'Motor Trend OnDemand': 'MTOD', 'MBC': ['MBC', 'MBCVOD'], 'MSNBC': 'MNBC', 'MTV': 'MTV', 'MUBI': 'MUBI', 'National Audiovisual Institute': 'INA', 'National Film Board': 'NFB', 'National Geographic': ['NATG', 're:National-?Geographic'], 'NBA TV': ['NBA', 're:NBA-?TV'], 'NBC': 'NBC', 'Netflix': ['NF', 'Netflix'], 'NFL': 'NFL', 'NFL Now': 'NFLN', 'NHL GameCenter': 'GC', 'Nickelodeon': ['NICK', 'Nickelodeon', 'NICKAPP'], 'Norsk Rikskringkasting': 'NRK', 'OnDemandKorea': ['ODK', 'OnDemandKorea'], 'Opto': 'OPTO', 'Oprah Winfrey Network': 'OWN', 'PBS': 'PBS', 'PBS Kids': 'PBSK', 'Peacock': ['PCOK', 'Peacock'], 'Playstation Network': 'PSN', 'Pluzz': 'PLUZ', 'PokerGO': 'POGO', 'Rakuten TV': 'RKTN', 'The Roku Channel': 'ROKU', 'RTE One': 'RTE', 'RUUTU': 'RUUTU', 'SBS': 'SBS', 'Science Channel': 'SCI', 'SeeSo': ['SESO', 'SeeSo'], 'Shomi': 'SHMI', 'Showtime': 'SHO', 'Sony': 'SONY', 'Spike': 'SPIK', 'Spike TV': ['SPKE', 're:Spike-?TV'], 'Sportsnet': 'SNET', 'Sprout': 'SPRT', 'Stan': 'STAN', 'Starz': 'STZ', 'Sveriges Television': 'SVT', 'SwearNet': 'SWER', 'Syfy': 'SYFY', 'TBS': 'TBS', 'TFou': 'TFOU', 'The CW': ['CW', 're:The-?CW'], 'TLC': 'TLC', 'TubiTV': 'TUBI', 'TV3 Ireland': 'TV3', 'TV4 Sweeden': 'TV4', 'TVING': 'TVING', 'TV Land': ['TVL', 're:TV-?Land'], 'TVNZ': 'TVNZ', 'UFC': 'UFC', 'UFC Fight Pass': 'FP', 'UKTV': 'UKTV', 'Univision': 'UNIV', 'USA Network': 'USAN', 'Velocity': 'VLCT', 'VH1': 'VH1', 'Viceland': 'VICE', 'Viki': 'VIKI', 'Vimeo': 'VMEO', 'VRV': 'VRV', 'W Network': 'WNET', 'WatchMe': 'WME', 'WWE Network': 'WWEN', 'Xbox Video': 'XBOX', 'Yahoo': 'YHOO', 'YouTube Red': 'RED', 'ZDF': 'ZDF'}}}
--------------------------------------------------------------------
Traceback (most recent call last):
  File "/app/medusa/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/app/medusa/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/app/medusa/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rules.py", line 335, in execute_rule
    rule.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 121, in then
    cons.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 134, in then
    matches.remove(match)
  File "", line 1113, in remove
  File "/app/medusa/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/app/medusa/ext/rebulk/match.py", line 126, in _remove_match
    _BaseMatches._base_remove(self._name_dict[match.name], match)
ValueError: list.remove(x): x not in list
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================
Traceback (most recent call last):
  File "/app/medusa/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/app/medusa/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/app/medusa/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rules.py", line 335, in execute_rule
    rule.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 121, in then
    cons.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 134, in then
    matches.remove(match)
  File "", line 1113, in remove
  File "/app/medusa/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/app/medusa/ext/rebulk/match.py", line 126, in _remove_match
    _BaseMatches._base_remove(self._name_dict[match.name], match)
ValueError: list.remove(x): x not in list

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/medusa/medusa/schedulers/scheduler.py", line 78, in run
    self.action.run(self.force)
  File "/app/medusa/medusa/subtitles.py", line 1121, in run
    episode_object.download_subtitles()
  File "/app/medusa/medusa/tv/episode.py", line 544, in download_subtitles
    new_subtitles = subtitles.download_subtitles(self, lang=lang)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/subtitles.py", line 427, in download_subtitles
    video = get_video(tv_episode, video_path, subtitles_dir=subtitles_dir, subtitles=subtitles,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/subtitles.py", line 731, in get_video
    video = scan_video(video_path)
            ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/subliminal/core.py", line 372, in scan_video
    video = Video.fromguess(path, guessit(path))
                                  ^^^^^^^^^^^^^
  File "/app/medusa/ext/guessit/api.py", line 74, in guessit
    return default_api.guessit(string, options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/guessit/api.py", line 225, in guessit
    raise GuessitException(string, options) from err
guessit.api.GuessitException: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.4.2
string=/media/series/TV Shows/Obi-Wan Kenobi/Obi-Wan Kenobi Season 01/Obi-Wan Kenobi - S01E01 - Part I.720p.WEB-DL.h264-NTb.mkv
options={'expected_title': ['OSS 117', 'This is Us'], 'allowed_countries': ['au', 'gb', 'us'], 'allowed_languages': ['ca', 'cs', 'de', 'en', 'es', 'fr', 'he', 'hi', 'hu', 'it', 'ja', 'ko', 'mul', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sv', 'te', 'uk', 'und'], 'advanced_config': {'common_words': ['ca', 'cat', 'de', 'he', 'it', 'no', 'por', 'rum', 'se', 'st', 'sub'], 'groups': {'starting': '([{', 'ending': ')]}'}, 'audio_codec': {'audio_codec': {'MP3': {'string': ['MP3', 'LAME'], 'regex': ['LAME(?:\\d)+-?(?:\\d)+']}, 'MP2': 'MP2', 'Dolby Digital': {'string': ['Dolby', 'DolbyDigital'], 'regex': ['Dolby-Digital', 'DD', 'AC3D?']}, 'Dolby Atmos': {'string': ['Atmos'], 'regex': ['Dolby-?Atmos']}, 'AAC': 'AAC', 'Dolby Digital Plus': ['EAC3', 'DDP', 'DD+'], 'FLAC': 'Flac', 'DTS': 'DTS', 'DTS-HD': {'regex': ['DTS-?HD', 'DTS(?=-?MA)'], 'conflict_solver': "lambda match, other: other if other.name == 'audio_codec' else '__default__'"}, 'Dolby TrueHD': {'regex': ['True-?HD']}, 'Opus': 'Opus', 'Vorbis': 'Vorbis', 'PCM': 'PCM', 'LPCM': 'LPCM'}, 'audio_channels': {'1.0': ['1ch', 'mono', 're:(1[\\W_]0(?:ch)?)(?=[^\\d]|$)'], '2.0': ['2ch', 'stereo', {'regex': '(2[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'string': '20', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '5.1': ['5ch', '6ch', {'regex': '(5[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '(6[\\W_]0(?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '5[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}], '7.1': ['7ch', '8ch', {'regex': '(7[\\W_][01](?:ch)?)(?=[^\\d]|$)', 'children': True}, {'regex': '7[01]', 'validator': 'import:seps_after', 'tags': 'weak-audio_channels'}]}, 'audio_profile': {'Master Audio': {'string': 'MA', 'tags': ['audio_profile.rule', 'DTS-HD']}, 'High Resolution Audio': {'string': ['HR', 'HRA'], 'tags': ['audio_profile.rule', 'DTS-HD']}, 'Extended Surround': {'string': 'ES', 'tags': ['audio_profile.rule', 'DTS']}, 'High Efficiency': {'string': 'HE', 'tags': ['audio_profile.rule', 'AAC']}, 'Low Complexity': {'string': 'LC', 'tags': ['audio_profile.rule', 'AAC']}, 'High Quality': {'string': 'HQ', 'tags': ['audio_profile.rule', 'Dolby Digital']}, 'EX': {'string': 'EX', 'tags': ['audio_profile.rule', 'Dolby Digital']}}}, 'bit_rate': {'bit_rate': {'_': {'regex': ['\\d+-?[kmg]b(ps|its?)', '\\d+\\.\\d+-?[kmg]b(ps|its?)'], 'conflict_solver': "lambda match, other: match if other.name == 'audio_channels' and 'weak-audio_channels' not in other.tags else other", 'formatter': 'import:guessit.rules.common.quantity:BitRate.fromstring', 'tags': ['release-group-prefix']}}}, 'bonus': {'bonus': {'_': {'regex': 'x(\\d+)', 'private_parent': True, 'children': True, 'formatter': 'eval:int', 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True, 'conflict_solver': "lambda match, conflicting: match if conflicting.name in ('video_codec', 'episode') and 'weak-episode' not in conflicting.tags else '__default__'"}}}, 'cd': {'_cd_of_cd_count': {'regex': 'cd-?(?P\\d+)(?:-?of-?(?P\\d+))?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd': 'eval:int', 'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}, '_cd_count': {'regex': '(?P\\d+)-?cds?', 'validator': {'cd': 'lambda match: 0 < match.value < 100', 'cd_count': 'lambda match: 0 < match.value < 100'}, 'formatter': {'cd_count': 'eval:int'}, 'children': True, 'private_parent': True, 'properties': {'cd': [None], 'cd_count': [None]}}}, 'container': {'subtitles': ['srt', 'idx', 'sub', 'ssa', 'ass'], 'info': ['nfo'], 'videos': ['3g2', '3gp', '3gp2', 'asf', 'avi', 'divx', 'flv', 'iso', 'm4v', 'mk2', 'mk3d', 'mka', 'mkv', 'mov', 'mp4', 'mp4a', 'mpeg', 'mpg', 'ogg', 'ogm', 'ogv', 'qt', 'ra', 'ram', 'rm', 'ts', 'vob', 'wav', 'webm', 'wma', 'wmv'], 'torrent': ['torrent'], 'nzb': ['nzb']}, 'country': {'synonyms': {'ES': ['españa'], 'GB': ['UK'], 'BR': ['brazilian', 'bra'], 'CA': ['québec', 'quebec', 'qc'], 'MX': ['Latinoamérica', 'latin america']}}, 'edition': {'edition': {'Collector': {'string': ['collector'], 'regex': ["collector'?s?-edition", 'edition-collector']}, 'Special': [{'regex': ['special-edition', 'edition-special'], 'conflict_solver': "lambda match, other: other if other.name == 'episode_details' and other.value == 'Special' else '__default__'"}, {'string': 'se', 'tags': 'has-neighbor'}], "Director's Definitive Cut": 'ddc', 'Criterion': {'string': ['CC', 'Criterion'], 'regex': ['criterion-edition', 'edition-criterion']}, 'Deluxe': {'string': ['deluxe'], 'regex': ['deluxe-edition', 'edition-deluxe']}, 'Limited': {'string': ['limited'], 'regex': ['limited-edition'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Theatrical': {'string': ['theatrical'], 'regex': ['theatrical-cut', 'theatrical-edition']}, "Director's Cut": {'string': ['DC'], 'regex': ["director'?s?-cut", "director'?s?-cut-edition", "edition-director'?s?-cut"]}, 'Extended': {'string': ['extended'], 'regex': ['extended-?cut', 'extended-?version'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Alternative Cut': {'regex': ['alternat(e|ive)(?:-?Cut)?'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Remastered': [{'string': 'Remastered', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-remaster(?:ed)?', 'tags': ['release-group-prefix']}], 'Restored': [{'string': 'Restored', 'tags': ['has-neighbor', 'release-group-prefix']}, {'regex': '4k-restore(?:d)?', 'tags': ['release-group-prefix']}], 'Uncensored': {'string': 'Uncensored', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Uncut': {'string': 'Uncut', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Unrated': {'string': 'Unrated', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Festival': {'string': 'Festival', 'tags': ['has-neighbor-before', 'has-neighbor-after']}, 'IMAX': {'string': ['imax'], 'regex': ['imax-edition']}, 'Fan': {'regex': ['fan-edit(?:ion)?', 'fan-collection']}, 'Ultimate': {'regex': ['ultimate-edition']}, '_Ultimate_Collector': {'regex': ["ultimate-collector'?s?-edition"], 'value': ['Ultimate', 'Collector']}, '_Ultimate_Fan': {'regex': ['ultimate-fan-edit(?:ion)?', 'ultimate-fan-collection'], 'value': ['Ultimate', 'Fan']}}}, 'episodes': {'season_max_range': 100, 'episode_max_range': 100, 'max_range_gap': 1, 'season_markers': ['s'], 'season_ep_markers': ['x'], 'disc_markers': ['d'], 'episode_markers': ['xe', 'ex', 'ep', 'e', 'x'], 'range_separators': ['-', '~', 'to', 'a'], 'discrete_separators': ['+', '&', 'and', 'et'], 'season_words': ['season', 'saison', 'seizoen', 'seasons', 'saisons', 'tem', 'temp', 'temporada', 'temporadas', 'stagione'], 'episode_words': ['episode', 'episodes', 'eps', 'ep', 'episodio', 'episodios', 'capitulo', 'capitulos'], 'of_words': ['of', 'sur'], 'all_words': ['All']}, 'film': {'film': {'_f': {'regex': 'f(\\d{1,2})', 'name': 'film', 'validate_all': True, 'validator': {'__parent__': 'import:seps_surround'}, 'private_parent': True, 'children': True, 'formatter': 'eval:int'}}}, 'language': {'synonyms': {'ell': ['gr', 'greek'], 'spa': ['esp', 'español', 'espanol'], 'fra': ['français', 'vf', 'vff', 'vfi', 'vfq'], 'swe': ['se'], 'por_BR': ['po', 'pb', 'pob', 'ptbr', 'br', 'brazilian'], 'deu_CH': ['swissgerman', 'swiss german'], 'nld_BE': ['flemish'], 'cat': ['català', 'castellano', 'espanol castellano', 'español castellano'], 'ces': ['cz'], 'ukr': ['ua'], 'zho': ['cn'], 'jpn': ['jp'], 'hrv': ['scr'], 'mul': ['multi', 'multiple', 'dl']}, 'subtitle_affixes': ['sub', 'subs', 'subtitle', 'subtitles', 'esub', 'esubs', 'subbed', 'custom subbed', 'custom subs', 'custom sub', 'customsubbed', 'customsubs', 'customsub', 'soft subtitles', 'soft subs'], 'subtitle_prefixes': ['st', 'vost', 'subforced', 'fansub', 'hardsub', 'legenda', 'legendas', 'legendado', 'subtitulado', 'soft'], 'subtitle_suffixes': ['subforced', 'fansub', 'hardsub'], 'language_affixes': ['dublado', 'dubbed', 'dub'], 'language_prefixes': ['true'], 'language_suffixes': ['audio'], 'weak_affixes': ['v', 'audio', 'true']}, 'other': {'other': {'Audio Fixed': {'regex': ['Audio-?Fix', 'Audio-?Fixed']}, 'Sync Fixed': {'regex': ['Sync-?Fix', 'Sync-?Fixed']}, 'Dual Audio': {'string': ['Dual'], 'regex': ['Dual-?Audio']}, 'Widescreen': {'string': ['ws'], 'regex': ['wide-?screen']}, 'Reencoded': {'regex': ['Re-?Enc(?:oded)?']}, '_repack_with_count': {'regex': ['Repack(?P\\d*)', 'Rerip(?P\\d*)'], 'value': {'other': 'Proper'}, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Proper': [{'string': 'Proper', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['Real-Proper', 'Real-Repack', 'Real-Rerip'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix', 'real']}, {'string': 'Real', 'tags': ['has-neighbor', 'streaming_service.prefix', 'streaming_service.suffix', 'real']}], 'Fix': [{'string': ['Fix', 'Fixed'], 'tags': ['has-neighbor-before', 'has-neighbor-after', 'streaming_service.prefix', 'streaming_service.suffix']}, {'string': ['Dirfix', 'Nfofix', 'Prooffix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, {'regex': ['(?:Proof-?)?Sample-?Fix'], 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}], 'Fan Subtitled': {'string': 'Fansub', 'tags': 'has-neighbor'}, 'Fast Subtitled': {'string': 'Fastsub', 'tags': 'has-neighbor'}, 'Region 5': 'R5', 'Region C': 'RC', 'Preair': {'regex': 'Pre-?Air'}, 'PS Vita': [{'regex': '(?:PS-?)Vita'}, {'string': 'Vita', 'tags': 'has-neighbor'}], '_HdRip': {'value': {'other': 'HD', 'another': 'Rip'}, 'regex': ['(HD)(?PRip)'], 'private_parent': True, 'children': True, 'validator': {'__parent__': 'import:seps_surround'}, 'validate_all': True}, 'Screener': ['Screener', {'regex': 'Scr(?:eener)?', 'validator': None, 'tags': ['other.validate.screener', 'source-prefix', 'source-suffix']}], 'Remux': 'Remux', 'Hybrid': 'Hybrid', 'PAL': 'PAL', 'SECAM': 'SECAM', 'NTSC': 'NTSC', 'XXX': 'XXX', '2in1': '2in1', '3D': {'string': '3D', 'tags': 'has-neighbor'}, 'High Quality': {'string': 'HQ', 'tags': 'uhdbluray-neighbor'}, 'High Resolution': 'HR', 'Line Dubbed': 'LD', 'Mic Dubbed': 'MD', 'Micro HD': ['mHD', 'HDLight'], 'Low Definition': 'LDTV', 'High Frame Rate': 'HFR', 'Variable Frame Rate': 'VFR', 'HD': {'string': 'HD', 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Full HD': {'string': ['FHD'], 'regex': ['Full-?HD'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Ultra HD': {'string': ['UHD'], 'regex': ['Ultra-?(?:HD)?'], 'validator': None, 'tags': ['streaming_service.prefix', 'streaming_service.suffix']}, 'Upscaled': {'regex': 'Upscaled?'}, 'Complete': {'string': ['Complet', 'Complete'], 'tags': ['has-neighbor', 'release-group-prefix']}, 'Classic': {'string': 'Classic', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Bonus': {'string': 'Bonus', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Trailer': {'string': 'Trailer', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Retail': {'string': 'Retail', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Colorized': {'string': 'Colorized', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Internal': {'string': 'Internal', 'tags': ['has-neighbor', 'release-group-prefix']}, 'Line Audio': {'string': 'LiNE', 'tags': ['has-neighbor-before', 'has-neighbor-after', 'release-group-prefix']}, 'Read NFO': {'regex': 'Read-?NFO'}, 'Converted': {'string': 'CONVERT', 'tags': 'has-neighbor'}, 'Documentary': {'string': ['DOCU', 'DOKU'], 'tags': 'has-neighbor'}, 'Open Matte': {'regex': '(?:OM|Open-?Matte)', 'tags': 'has-neighbor'}, 'Straight to Video': {'string': 'STV', 'tags': 'has-neighbor'}, 'Original Aspect Ratio': {'string': 'OAR', 'tags': 'has-neighbor'}, 'East Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?East-?(?:Coast-)?Feed'}, 'West Coast Feed': {'regex': '(?:Live-)?(?:Episode-)?West-?(?:Coast-)?Feed'}, 'Original Video': {'string': ['VO', 'OV'], 'tags': 'has-neighbor'}, 'Original Animated Video': {'string': ['Ova', 'Oav']}, 'Original Net Animation': 'Ona', 'Original Animation DVD': 'Oad', 'Mux': {'string': 'Mux', 'validator': 'import:seps_after', 'tags': ['other.validate.mux', 'video-codec-prefix', 'source-suffix']}, 'Hardcoded Subtitles': ['HC', 'vost'], 'Standard Dynamic Range': {'string': 'SDR', 'tags': 'uhdbluray-neighbor'}, 'HDR10': {'regex': 'HDR(?:10)?', 'tags': 'uhdbluray-neighbor'}, 'Dolby Vision': {'regex': 'Dolby-?Vision', 'tags': 'uhdbluray-neighbor'}, 'BT.2020': {'regex': 'BT-?2020', 'tags': 'uhdbluray-neighbor'}, 'Sample': {'string': 'Sample', 'tags': ['at-end', 'not-a-release-group']}, 'Extras': [{'string': 'Extras', 'tags': 'has-neighbor'}, {'regex': 'Digital-?Extras?'}], 'Proof': {'string': 'Proof', 'tags': ['at-end', 'not-a-release-group']}, 'Obfuscated': {'string': ['Obfuscated', 'Scrambled'], 'tags': ['at-end', 'not-a-release-group']}, 'Repost': {'string': ['xpost', 'postbot', 'asrequested'], 'tags': 'not-a-release-group'}, '_complete_words': {'callable': 'import:guessit.rules.properties.other:complete_words', 'season_words': ['seasons?', 'series?'], 'complete_article_words': ['The']}}}, 'part': {'prefixes': ['pt', 'part']}, 'release_group': {'forbidden_names': ['bonus', 'by', 'for', 'par', 'pour', 'rip'], 'ignored_seps': '[]{}()'}, 'screen_size': {'frame_rates': ['23\\.976', '24(?:\\.0{1,3})?', '25(?:\\.0{1,3})?', '29\\.970', '30(?:\\.0{1,3})?', '48(?:\\.0{1,3})?', '50(?:\\.0{1,3})?', '60(?:\\.0{1,3})?', '120(?:\\.0{1,3})?'], 'min_ar': 1.333, 'max_ar': 1.898, 'interlaced': ['360', '480', '540', '576', '900', '1080'], 'progressive': ['360', '480', '540', '576', '900', '1080', '368', '720', '1440', '2160', '4320']}, 'source': {'rip_prefix': '(?PRip)-?', 'rip_suffix': '-?(?PRip)'}, 'website': {'safe_tlds': ['com', 'net', 'org'], 'safe_subdomains': ['www'], 'safe_prefixes': ['co', 'com', 'net', 'org'], 'prefixes': ['from']}, 'streaming_service': {'9Now': '9NOW', 'A&E': ['AE', 'A&E'], 'ABC': 'AMBC', 'ABC Australia': 'AUBC', 'Al Jazeera English': 'AJAZ', 'AMC': 'AMC', 'Amazon Prime': ['AMZN', 'Amazon', 're:Amazon-?Prime'], 'Adult Swim': ['AS', 're:Adult-?Swim'], "America's Test Kitchen": 'ATK', 'Animal Planet': 'ANPL', 'AnimeLab': 'ANLB', 'AOL': 'AOL', 'AppleTV': ['ATVP', 'ATV+', 'APTV'], 'ARD': 'ARD', 'BBC iPlayer': ['iP', 're:BBC-?iPlayer'], 'Binge': 'BNGE', 'Blackpills': 'BKPL', 'BluTV': 'BLU', 'Boomerang': 'BOOM', 'Disney+': 'DSNP', 'BravoTV': 'BRAV', 'Canal+': 'CNLP', 'Cartoon Network': 'CN', 'CBC': 'CBC', 'CBS': 'CBS', 'CNBC': 'CNBC', 'Comedy Central': ['CC', 're:Comedy-?Central'], 'Channel 4': ['ALL4', '4OD'], 'CHRGD': 'CHGD', 'Cinemax': 'CMAX', 'Country Music Television': 'CMT', 'Comedians in Cars Getting Coffee': 'CCGC', 'Crave': 'CRAV', 'Crunchy Roll': ['CR', 're:Crunchy-?Roll'], 'Crackle': 'CRKL', 'CSpan': 'CSPN', 'CTV': 'CTV', 'CuriosityStream': 'CUR', 'CWSeed': 'CWS', 'Daisuki': 'DSKI', 'DC Universe': 'DCU', 'Deadhouse Films': 'DHF', 'DramaFever': ['DF', 'DramaFever'], 'Digiturk Diledigin Yerde': 'DDY', 'Discovery': ['DISC', 'Discovery'], 'Discovery Plus': 'DSCP', 'Disney': ['DSNY', 'Disney'], 'DIY Network': 'DIY', 'Doc Club': 'DOCC', 'DPlay': 'DPLY', 'E!': 'ETV', 'ePix': 'EPIX', 'El Trece': 'ETTV', 'ESPN': 'ESPN', 'Esquire': 'ESQ', 'Facebook Watch': 'FBWatch', 'Family': 'FAM', 'Family Jr': 'FJR', 'Fandor': 'FANDOR', 'Food Network': 'FOOD', 'Fox': 'FOX', 'Fox Premium': 'FOXP', 'Foxtel': 'FXTL', 'Freeform': 'FREE', 'FYI Network': 'FYI', 'GagaOOLala': 'Gaga', 'Global': 'GLBL', 'GloboSat Play': 'GLOB', 'Hallmark': 'HLMK', 'HBO Go': ['HBO', 're:HBO-?Go'], 'HBO Max': 'HMAX', 'HGTV': 'HGTV', 'History': ['HIST', 'History'], 'Hulu': 'HULU', 'Investigation Discovery': 'ID', 'IFC': 'IFC', 'hoichoi': 'HoiChoi', 'iflix': 'IFX', 'iQIYI': 'iQIYI', 'iTunes': ['iTunes', {'pattern': 'iT', 'ignore_case': False}], 'ITV': 'ITV', 'Knowledge Network': 'KNOW', 'Lifetime': 'LIFE', 'Motor Trend OnDemand': 'MTOD', 'MBC': ['MBC', 'MBCVOD'], 'MSNBC': 'MNBC', 'MTV': 'MTV', 'MUBI': 'MUBI', 'National Audiovisual Institute': 'INA', 'National Film Board': 'NFB', 'National Geographic': ['NATG', 're:National-?Geographic'], 'NBA TV': ['NBA', 're:NBA-?TV'], 'NBC': 'NBC', 'Netflix': ['NF', 'Netflix'], 'NFL': 'NFL', 'NFL Now': 'NFLN', 'NHL GameCenter': 'GC', 'Nickelodeon': ['NICK', 'Nickelodeon', 'NICKAPP'], 'Norsk Rikskringkasting': 'NRK', 'OnDemandKorea': ['ODK', 'OnDemandKorea'], 'Opto': 'OPTO', 'Oprah Winfrey Network': 'OWN', 'PBS': 'PBS', 'PBS Kids': 'PBSK', 'Peacock': ['PCOK', 'Peacock'], 'Playstation Network': 'PSN', 'Pluzz': 'PLUZ', 'PokerGO': 'POGO', 'Rakuten TV': 'RKTN', 'The Roku Channel': 'ROKU', 'RTE One': 'RTE', 'RUUTU': 'RUUTU', 'SBS': 'SBS', 'Science Channel': 'SCI', 'SeeSo': ['SESO', 'SeeSo'], 'Shomi': 'SHMI', 'Showtime': 'SHO', 'Sony': 'SONY', 'Spike': 'SPIK', 'Spike TV': ['SPKE', 're:Spike-?TV'], 'Sportsnet': 'SNET', 'Sprout': 'SPRT', 'Stan': 'STAN', 'Starz': 'STZ', 'Sveriges Television': 'SVT', 'SwearNet': 'SWER', 'Syfy': 'SYFY', 'TBS': 'TBS', 'TFou': 'TFOU', 'The CW': ['CW', 're:The-?CW'], 'TLC': 'TLC', 'TubiTV': 'TUBI', 'TV3 Ireland': 'TV3', 'TV4 Sweeden': 'TV4', 'TVING': 'TVING', 'TV Land': ['TVL', 're:TV-?Land'], 'TVNZ': 'TVNZ', 'UFC': 'UFC', 'UFC Fight Pass': 'FP', 'UKTV': 'UKTV', 'Univision': 'UNIV', 'USA Network': 'USAN', 'Velocity': 'VLCT', 'VH1': 'VH1', 'Viceland': 'VICE', 'Viki': 'VIKI', 'Vimeo': 'VMEO', 'VRV': 'VRV', 'W Network': 'WNET', 'WatchMe': 'WME', 'WWE Network': 'WWEN', 'Xbox Video': 'XBOX', 'Yahoo': 'YHOO', 'YouTube Red': 'RED', 'ZDF': 'ZDF'}}}
--------------------------------------------------------------------
Traceback (most recent call last):
  File "/app/medusa/ext/guessit/api.py", line 209, in guessit
    matches = self.rebulk.matches(string, options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rebulk.py", line 115, in matches
    self._execute_rules(matches, context)
  File "/app/medusa/ext/rebulk/rebulk.py", line 146, in _execute_rules
    rules.execute_all_rules(matches, context)
  File "/app/medusa/ext/rebulk/rules.py", line 310, in execute_all_rules
    when_response = execute_rule(rule, matches, context)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/ext/rebulk/rules.py", line 335, in execute_rule
    rule.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 121, in then
    cons.then(matches, when_response, context)
  File "/app/medusa/ext/rebulk/rules.py", line 134, in then
    matches.remove(match)
  File "", line 1113, in remove
  File "/app/medusa/ext/rebulk/match.py", line 554, in __delitem__
    self._remove_match(match)
  File "/app/medusa/ext/rebulk/match.py", line 126, in _remove_match
    _BaseMatches._base_remove(self._name_dict[match.name], match)
ValueError: list.remove(x): x not in list
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators