From 2f1995ef49606520487a5f42547e892a67518783 Mon Sep 17 00:00:00 2001 From: Johan van Eck Date: Sat, 26 Jul 2025 12:31:56 +0300 Subject: [PATCH] Fully sync name and file name --- custom_formats/{10-mono.yml => 1.0 Mono.yml} | 0 custom_formats/{20-stereo.yml => 2.0 Stereo.yml} | 0 custom_formats/{30-sound.yml => 3.0 Sound.yml} | 0 custom_formats/{3d.yml => 3D.yml} | 0 custom_formats/{40-sound.yml => 4.0 Sound.yml} | 0 custom_formats/{4k-remaster.yml => 4K Remaster.yml} | 0 custom_formats/{51-surround.yml => 5.1 Surround.yml} | 0 custom_formats/{61-surround.yml => 6.1 Surround.yml} | 0 custom_formats/{71-surround.yml => 7.1 Surround.yml} | 0 custom_formats/{aac.yml => AAC.yml} | 0 custom_formats/{amzn.yml => AMZN.yml} | 0 custom_formats/{atmos-undefined.yml => ATMOS (undefined).yml} | 0 custom_formats/{atvp.yml => ATVP.yml} | 0 custom_formats/{aubc.yml => AUBC.yml} | 0 custom_formats/{av1.yml => AV1.yml} | 0 ...ex-muxers.yml => Anime BD Tier 01 (Top SeaDex Muxers).yml} | 0 ...seadex-muxers.yml => Anime BD Tier 02 (SeaDex Muxers).yml} | 0 ...seadex-muxers.yml => Anime BD Tier 03 (SeaDex Muxers).yml} | 0 ...seadex-muxers.yml => Anime BD Tier 04 (SeaDex Muxers).yml} | 0 ...-bd-tier-05-remuxes.yml => Anime BD Tier 05 (Remuxes).yml} | 0 ...-bd-tier-06-fansubs.yml => Anime BD Tier 06 (FanSubs).yml} | 0 ...-tier-07-p2pscene.yml => Anime BD Tier 07 (P2P-Scene).yml} | 0 ...8-mini-encodes.yml => Anime BD Tier 08 (Mini Encodes).yml} | 0 custom_formats/{anime-dual-audio.yml => Anime Dual Audio.yml} | 0 custom_formats/{anime-lq-groups.yml => Anime LQ Groups.yml} | 0 custom_formats/{anime-raws.yml => Anime Raws.yml} | 0 ...-web-tier-01-muxers.yml => Anime Web Tier 01 (Muxers).yml} | 0 ...02-top-fansubs.yml => Anime Web Tier 02 (Top FanSubs).yml} | 0 ...fficial-subs.yml => Anime Web Tier 03 (Official Subs).yml} | 0 ...fficial-subs.yml => Anime Web Tier 04 (Official Subs).yml} | 0 ...eb-tier-05-fansubs.yml => Anime Web Tier 05 (FanSubs).yml} | 0 ...eb-tier-06-fansubs.yml => Anime Web Tier 06 (FanSubs).yml} | 0 custom_formats/{bcore.yml => BCORE.yml} | 0 custom_formats/{bhdstudio.yml => BHDStudio.yml} | 0 custom_formats/{br-disk.yml => BR-DISK.yml} | 0 custom_formats/{bad-dual-groups.yml => Bad Dual Groups.yml} | 0 ...ck-and-white-editions.yml => Black and White Editions.yml} | 0 custom_formats/{cbc.yml => CBC.yml} | 0 custom_formats/{crav.yml => CRAV.yml} | 0 custom_formats/{crit.yml => CRiT.yml} | 0 .../{criterion-collection.yml => Criterion Collection.yml} | 0 custom_formats/{ddplus-atmos.yml => DD+ ATMOS.yml} | 0 custom_formats/{ddplus.yml => DD+.yml} | 0 custom_formats/{dd.yml => DD.yml} | 0 custom_formats/{dsnp.yml => DSNP.yml} | 0 custom_formats/{dts-x.yml => DTS X.yml} | 0 custom_formats/{dts-es.yml => DTS-ES.yml} | 0 custom_formats/{dts-hd-hra.yml => DTS-HD HRA.yml} | 0 custom_formats/{dts-hd-ma.yml => DTS-HD MA.yml} | 0 custom_formats/{dts.yml => DTS.yml} | 0 custom_formats/{dv-disk.yml => DV (Disk).yml} | 0 custom_formats/{dv-webdl.yml => DV (WEBDL).yml} | 0 .../{dv-hdr10plus-boost.yml => DV HDR10+ Boost.yml} | 0 custom_formats/{dv-hdr10plus.yml => DV HDR10+.yml} | 0 custom_formats/{dv-hdr10.yml => DV HDR10.yml} | 0 custom_formats/{dv-hlg.yml => DV HLG.yml} | 0 custom_formats/{dv-sdr.yml => DV SDR.yml} | 0 custom_formats/{dv.yml => DV.yml} | 0 custom_formats/{dubs-only.yml => Dubs Only.yml} | 0 custom_formats/{dutch-groups.yml => Dutch Groups.yml} | 0 custom_formats/{extras.yml => Extras.yml} | 0 custom_formats/{flac.yml => FLAC.yml} | 0 custom_formats/{flux.yml => FLUX.yml} | 0 custom_formats/{fod.yml => FOD.yml} | 0 .../{french-anime-fansub.yml => FR Anime FanSub.yml} | 0 .../{french-anime-tier-01.yml => FR Anime Tier 01.yml} | 0 .../{french-anime-tier-02.yml => FR Anime Tier 02.yml} | 0 .../{french-anime-tier-03.yml => FR Anime Tier 03.yml} | 0 ...{french-hd-bluray-tier-01.yml => FR HD Bluray Tier 01.yml} | 0 ...{french-hd-bluray-tier-02.yml => FR HD Bluray Tier 02.yml} | 0 custom_formats/{french-lq.yml => FR LQ.yml} | 0 .../{french-remux-tier-01.yml => FR Remux Tier 01.yml} | 0 .../{french-remux-tier-02.yml => FR Remux Tier 02.yml} | 0 custom_formats/{french-scene.yml => FR Scene Groups.yml} | 0 ...rench-uhd-bluray-tier-01.yml => FR UHD Bluray Tier 01.yml} | 0 ...rench-uhd-bluray-tier-02.yml => FR UHD Bluray Tier 02.yml} | 0 custom_formats/{french-web-tier-01.yml => FR WEB Tier 01.yml} | 0 custom_formats/{french-web-tier-02.yml => FR WEB Tier 02.yml} | 0 custom_formats/{fansub.yml => FanSUB.yml} | 0 custom_formats/{fastsub.yml => FastSUB.yml} | 0 custom_formats/{framestor.yml => FraMeSToR.yml} | 0 custom_formats/{freeleech.yml => FreeLeech.yml} | 0 .../{generated-dynamic-hdr.yml => Generated Dynamic HDR.yml} | 0 .../{german-1080p-booster.yml => German 1080p Booster.yml} | 0 .../{german-2160p-booster.yml => German 2160p Booster.yml} | 0 .../{german-bluray-tier-01.yml => German Bluray Tier 01.yml} | 0 .../{german-bluray-tier-02.yml => German Bluray Tier 02.yml} | 0 .../{german-bluray-tier-03.yml => German Bluray Tier 03.yml} | 0 ...uage-german-dl-undefined.yml => German DL (undefined).yml} | 0 custom_formats/{language-german-dl.yml => German DL.yml} | 0 ...man-lq-release-title.yml => German LQ (release title).yml} | 0 custom_formats/{german-lq.yml => German LQ.yml} | 0 .../{german-microsized.yml => German Microsized.yml} | 0 .../{german-remux-tier-01.yml => German Remux Tier 01.yml} | 0 .../{german-remux-tier-02.yml => German Remux Tier 02.yml} | 0 custom_formats/{german-scene.yml => German Scene.yml} | 0 .../{german-web-tier-01.yml => German Web Tier 01.yml} | 0 .../{german-web-tier-02.yml => German Web Tier 02.yml} | 0 .../{german-web-tier-03.yml => German Web Tier 03.yml} | 0 custom_formats/{language-german.yml => German.yml} | 0 custom_formats/{hbo.yml => HBO.yml} | 0 .../{hd-bluray-tier-01.yml => HD Bluray Tier 01.yml} | 0 .../{hd-bluray-tier-02.yml => HD Bluray Tier 02.yml} | 0 .../{hd-bluray-tier-03.yml => HD Bluray Tier 03.yml} | 0 custom_formats/{hdr-undefined.yml => HDR (undefined).yml} | 0 custom_formats/{hdr.yml => HDR.yml} | 0 custom_formats/{hdr10plus-boost.yml => HDR10+ Boost.yml} | 0 custom_formats/{hdr10plus.yml => HDR10+.yml} | 0 custom_formats/{hdr10.yml => HDR10.yml} | 0 custom_formats/{hfr.yml => HFR.yml} | 0 custom_formats/{hlg.yml => HLG.yml} | 0 custom_formats/{hmax.yml => HMAX.yml} | 0 custom_formats/{htsr.yml => HTSR.yml} | 0 custom_formats/{hulu.yml => Hulu.yml} | 0 custom_formats/{hybrid.yml => Hybrid.yml} | 0 custom_formats/{imax-enhanced.yml => IMAX Enhanced.yml} | 0 custom_formats/{imax.yml => IMAX.yml} | 0 custom_formats/{internal.yml => INTERNAL.yml} | 0 custom_formats/{ip.yml => IP.yml} | 0 custom_formats/{itvx.yml => ITVX.yml} | 0 .../{lq-release-title.yml => LQ (Release Title).yml} | 0 custom_formats/{lq.yml => LQ.yml} | 0 .../{language-not-english.yml => Language: Not English.yml} | 0 .../{language-not-french.yml => Language: Not French.yml} | 0 .../{language-not-original.yml => Language: Not Original.yml} | 0 ...iginal-plus-french.yml => Language: Original + French.yml} | 0 custom_formats/{line-mic-dubbed.yml => Line-Mic Dubbed.yml} | 0 custom_formats/{ma.yml => MA.yml} | 0 custom_formats/{max.yml => MAX.yml} | 0 custom_formats/{mp3.yml => MP3.yml} | 0 custom_formats/{mpeg2.yml => MPEG2.yml} | 0 custom_formats/{multi.yml => MULTi.yml} | 0 custom_formats/{my5.yml => MY5.yml} | 0 .../{masters-of-cinema.yml => Masters of Cinema.yml} | 0 custom_formats/{nf.yml => NF.yml} | 0 custom_formats/{now.yml => NOW.yml} | 0 custom_formats/{no-rlsgroup.yml => No-RlsGroup.yml} | 0 ...ge-not-german-or-english.yml => Not German or English.yml} | 0 custom_formats/{ovid.yml => OViD.yml} | 0 custom_formats/{obfuscated.yml => Obfuscated.yml} | 0 custom_formats/{open-matte.yml => Open Matte.yml} | 0 custom_formats/{opus.yml => Opus.yml} | 0 custom_formats/{pcm.yml => PCM.yml} | 0 custom_formats/{pcok.yml => PCOK.yml} | 0 custom_formats/{pmtp.yml => PMTP.yml} | 0 custom_formats/{pq.yml => PQ.yml} | 0 custom_formats/{pathe.yml => Pathe.yml} | 0 custom_formats/{remaster.yml => Remaster.yml} | 0 custom_formats/{remux-tier-01.yml => Remux Tier 01.yml} | 0 custom_formats/{remux-tier-02.yml => Remux Tier 02.yml} | 0 custom_formats/{remux-tier-03.yml => Remux Tier 03.yml} | 0 custom_formats/{repack-proper.yml => Repack-Proper.yml} | 0 custom_formats/{repack2.yml => Repack2.yml} | 0 custom_formats/{repack3.yml => Repack3.yml} | 0 custom_formats/{retags.yml => Retags.yml} | 0 custom_formats/{sdr-no-webdl.yml => SDR (no WEBDL).yml} | 0 custom_formats/{sdr.yml => SDR.yml} | 0 custom_formats/{stan.yml => STAN.yml} | 0 custom_formats/{strp.yml => STRP.yml} | 0 custom_formats/{scene.yml => Scene.yml} | 0 custom_formats/{sic.yml => SiC.yml} | 0 .../{sing-along-versions.yml => Sing-Along Versions.yml} | 0 custom_formats/{special-edition.yml => Special Edition.yml} | 0 custom_formats/{tving.yml => TVING.yml} | 0 custom_formats/{tver.yml => TVer.yml} | 0 custom_formats/{theatrical-cut.yml => Theatrical Cut.yml} | 0 custom_formats/{truehd-atmos.yml => TrueHD ATMOS.yml} | 0 custom_formats/{truehd.yml => TrueHD.yml} | 0 custom_formats/{u-next.yml => U-NEXT.yml} | 0 .../{uhd-bluray-tier-01.yml => UHD Bluray Tier 01.yml} | 0 .../{uhd-bluray-tier-02.yml => UHD Bluray Tier 02.yml} | 0 .../{uhd-bluray-tier-03.yml => UHD Bluray Tier 03.yml} | 0 custom_formats/{uncensored.yml => Uncensored.yml} | 0 custom_formats/{upscaled.yml => Upscaled.yml} | 0 custom_formats/{vc-1.yml => VC-1.yml} | 0 custom_formats/{vdl.yml => VDL.yml} | 0 custom_formats/{french-vf2.yml => VF2.yml} | 0 custom_formats/{french-vfb.yml => VFB.yml} | 0 custom_formats/{french-vff.yml => VFF.yml} | 0 custom_formats/{french-vfi.yml => VFI.yml} | 0 custom_formats/{french-vfq.yml => VFQ.yml} | 0 custom_formats/{viu.yml => VIU.yml} | 0 custom_formats/{french-vof.yml => VOF.yml} | 0 custom_formats/{french-voq.yml => VOQ.yml} | 0 custom_formats/{french-vostfr.yml => VOSTFR.yml} | 0 custom_formats/{vp9.yml => VP9.yml} | 0 custom_formats/{french-vq.yml => VQ.yml} | 0 custom_formats/{vrv.yml => VRV.yml} | 0 custom_formats/{vinegar-syndrome.yml => Vinegar Syndrome.yml} | 0 custom_formats/{web-tier-01.yml => WEB Tier 01.yml} | 0 custom_formats/{web-tier-02.yml => WEB Tier 02.yml} | 0 custom_formats/{web-tier-03.yml => WEB Tier 03.yml} | 0 custom_formats/{it.yml => iT.yml} | 0 custom_formats/{x265-hd.yml => x265 (HD).yml} | 0 custom_formats/{x265-no-hdrdv.yml => x265 (no HDR-DV).yml} | 0 scripts/utils/custom_formats.py | 4 +++- scripts/utils/profiles.py | 4 +--- scripts/utils/regex_patterns.py | 4 +++- scripts/utils/strings.py | 2 ++ 199 files changed, 9 insertions(+), 5 deletions(-) rename custom_formats/{10-mono.yml => 1.0 Mono.yml} (100%) rename custom_formats/{20-stereo.yml => 2.0 Stereo.yml} (100%) rename custom_formats/{30-sound.yml => 3.0 Sound.yml} (100%) rename custom_formats/{3d.yml => 3D.yml} (100%) rename custom_formats/{40-sound.yml => 4.0 Sound.yml} (100%) rename custom_formats/{4k-remaster.yml => 4K Remaster.yml} (100%) rename custom_formats/{51-surround.yml => 5.1 Surround.yml} (100%) rename custom_formats/{61-surround.yml => 6.1 Surround.yml} (100%) rename custom_formats/{71-surround.yml => 7.1 Surround.yml} (100%) rename custom_formats/{aac.yml => AAC.yml} (100%) rename custom_formats/{amzn.yml => AMZN.yml} (100%) rename custom_formats/{atmos-undefined.yml => ATMOS (undefined).yml} (100%) rename custom_formats/{atvp.yml => ATVP.yml} (100%) rename custom_formats/{aubc.yml => AUBC.yml} (100%) rename custom_formats/{av1.yml => AV1.yml} (100%) rename custom_formats/{anime-bd-tier-01-top-seadex-muxers.yml => Anime BD Tier 01 (Top SeaDex Muxers).yml} (100%) rename custom_formats/{anime-bd-tier-02-seadex-muxers.yml => Anime BD Tier 02 (SeaDex Muxers).yml} (100%) rename custom_formats/{anime-bd-tier-03-seadex-muxers.yml => Anime BD Tier 03 (SeaDex Muxers).yml} (100%) rename custom_formats/{anime-bd-tier-04-seadex-muxers.yml => Anime BD Tier 04 (SeaDex Muxers).yml} (100%) rename custom_formats/{anime-bd-tier-05-remuxes.yml => Anime BD Tier 05 (Remuxes).yml} (100%) rename custom_formats/{anime-bd-tier-06-fansubs.yml => Anime BD Tier 06 (FanSubs).yml} (100%) rename custom_formats/{anime-bd-tier-07-p2pscene.yml => Anime BD Tier 07 (P2P-Scene).yml} (100%) rename custom_formats/{anime-bd-tier-08-mini-encodes.yml => Anime BD Tier 08 (Mini Encodes).yml} (100%) rename custom_formats/{anime-dual-audio.yml => Anime Dual Audio.yml} (100%) rename custom_formats/{anime-lq-groups.yml => Anime LQ Groups.yml} (100%) rename custom_formats/{anime-raws.yml => Anime Raws.yml} (100%) rename custom_formats/{anime-web-tier-01-muxers.yml => Anime Web Tier 01 (Muxers).yml} (100%) rename custom_formats/{anime-web-tier-02-top-fansubs.yml => Anime Web Tier 02 (Top FanSubs).yml} (100%) rename custom_formats/{anime-web-tier-03-official-subs.yml => Anime Web Tier 03 (Official Subs).yml} (100%) rename custom_formats/{anime-web-tier-04-official-subs.yml => Anime Web Tier 04 (Official Subs).yml} (100%) rename custom_formats/{anime-web-tier-05-fansubs.yml => Anime Web Tier 05 (FanSubs).yml} (100%) rename custom_formats/{anime-web-tier-06-fansubs.yml => Anime Web Tier 06 (FanSubs).yml} (100%) rename custom_formats/{bcore.yml => BCORE.yml} (100%) rename custom_formats/{bhdstudio.yml => BHDStudio.yml} (100%) rename custom_formats/{br-disk.yml => BR-DISK.yml} (100%) rename custom_formats/{bad-dual-groups.yml => Bad Dual Groups.yml} (100%) rename custom_formats/{black-and-white-editions.yml => Black and White Editions.yml} (100%) rename custom_formats/{cbc.yml => CBC.yml} (100%) rename custom_formats/{crav.yml => CRAV.yml} (100%) rename custom_formats/{crit.yml => CRiT.yml} (100%) rename custom_formats/{criterion-collection.yml => Criterion Collection.yml} (100%) rename custom_formats/{ddplus-atmos.yml => DD+ ATMOS.yml} (100%) rename custom_formats/{ddplus.yml => DD+.yml} (100%) rename custom_formats/{dd.yml => DD.yml} (100%) rename custom_formats/{dsnp.yml => DSNP.yml} (100%) rename custom_formats/{dts-x.yml => DTS X.yml} (100%) rename custom_formats/{dts-es.yml => DTS-ES.yml} (100%) rename custom_formats/{dts-hd-hra.yml => DTS-HD HRA.yml} (100%) rename custom_formats/{dts-hd-ma.yml => DTS-HD MA.yml} (100%) rename custom_formats/{dts.yml => DTS.yml} (100%) rename custom_formats/{dv-disk.yml => DV (Disk).yml} (100%) rename custom_formats/{dv-webdl.yml => DV (WEBDL).yml} (100%) rename custom_formats/{dv-hdr10plus-boost.yml => DV HDR10+ Boost.yml} (100%) rename custom_formats/{dv-hdr10plus.yml => DV HDR10+.yml} (100%) rename custom_formats/{dv-hdr10.yml => DV HDR10.yml} (100%) rename custom_formats/{dv-hlg.yml => DV HLG.yml} (100%) rename custom_formats/{dv-sdr.yml => DV SDR.yml} (100%) rename custom_formats/{dv.yml => DV.yml} (100%) rename custom_formats/{dubs-only.yml => Dubs Only.yml} (100%) rename custom_formats/{dutch-groups.yml => Dutch Groups.yml} (100%) rename custom_formats/{extras.yml => Extras.yml} (100%) rename custom_formats/{flac.yml => FLAC.yml} (100%) rename custom_formats/{flux.yml => FLUX.yml} (100%) rename custom_formats/{fod.yml => FOD.yml} (100%) rename custom_formats/{french-anime-fansub.yml => FR Anime FanSub.yml} (100%) rename custom_formats/{french-anime-tier-01.yml => FR Anime Tier 01.yml} (100%) rename custom_formats/{french-anime-tier-02.yml => FR Anime Tier 02.yml} (100%) rename custom_formats/{french-anime-tier-03.yml => FR Anime Tier 03.yml} (100%) rename custom_formats/{french-hd-bluray-tier-01.yml => FR HD Bluray Tier 01.yml} (100%) rename custom_formats/{french-hd-bluray-tier-02.yml => FR HD Bluray Tier 02.yml} (100%) rename custom_formats/{french-lq.yml => FR LQ.yml} (100%) rename custom_formats/{french-remux-tier-01.yml => FR Remux Tier 01.yml} (100%) rename custom_formats/{french-remux-tier-02.yml => FR Remux Tier 02.yml} (100%) rename custom_formats/{french-scene.yml => FR Scene Groups.yml} (100%) rename custom_formats/{french-uhd-bluray-tier-01.yml => FR UHD Bluray Tier 01.yml} (100%) rename custom_formats/{french-uhd-bluray-tier-02.yml => FR UHD Bluray Tier 02.yml} (100%) rename custom_formats/{french-web-tier-01.yml => FR WEB Tier 01.yml} (100%) rename custom_formats/{french-web-tier-02.yml => FR WEB Tier 02.yml} (100%) rename custom_formats/{fansub.yml => FanSUB.yml} (100%) rename custom_formats/{fastsub.yml => FastSUB.yml} (100%) rename custom_formats/{framestor.yml => FraMeSToR.yml} (100%) rename custom_formats/{freeleech.yml => FreeLeech.yml} (100%) rename custom_formats/{generated-dynamic-hdr.yml => Generated Dynamic HDR.yml} (100%) rename custom_formats/{german-1080p-booster.yml => German 1080p Booster.yml} (100%) rename custom_formats/{german-2160p-booster.yml => German 2160p Booster.yml} (100%) rename custom_formats/{german-bluray-tier-01.yml => German Bluray Tier 01.yml} (100%) rename custom_formats/{german-bluray-tier-02.yml => German Bluray Tier 02.yml} (100%) rename custom_formats/{german-bluray-tier-03.yml => German Bluray Tier 03.yml} (100%) rename custom_formats/{language-german-dl-undefined.yml => German DL (undefined).yml} (100%) rename custom_formats/{language-german-dl.yml => German DL.yml} (100%) rename custom_formats/{german-lq-release-title.yml => German LQ (release title).yml} (100%) rename custom_formats/{german-lq.yml => German LQ.yml} (100%) rename custom_formats/{german-microsized.yml => German Microsized.yml} (100%) rename custom_formats/{german-remux-tier-01.yml => German Remux Tier 01.yml} (100%) rename custom_formats/{german-remux-tier-02.yml => German Remux Tier 02.yml} (100%) rename custom_formats/{german-scene.yml => German Scene.yml} (100%) rename custom_formats/{german-web-tier-01.yml => German Web Tier 01.yml} (100%) rename custom_formats/{german-web-tier-02.yml => German Web Tier 02.yml} (100%) rename custom_formats/{german-web-tier-03.yml => German Web Tier 03.yml} (100%) rename custom_formats/{language-german.yml => German.yml} (100%) rename custom_formats/{hbo.yml => HBO.yml} (100%) rename custom_formats/{hd-bluray-tier-01.yml => HD Bluray Tier 01.yml} (100%) rename custom_formats/{hd-bluray-tier-02.yml => HD Bluray Tier 02.yml} (100%) rename custom_formats/{hd-bluray-tier-03.yml => HD Bluray Tier 03.yml} (100%) rename custom_formats/{hdr-undefined.yml => HDR (undefined).yml} (100%) rename custom_formats/{hdr.yml => HDR.yml} (100%) rename custom_formats/{hdr10plus-boost.yml => HDR10+ Boost.yml} (100%) rename custom_formats/{hdr10plus.yml => HDR10+.yml} (100%) rename custom_formats/{hdr10.yml => HDR10.yml} (100%) rename custom_formats/{hfr.yml => HFR.yml} (100%) rename custom_formats/{hlg.yml => HLG.yml} (100%) rename custom_formats/{hmax.yml => HMAX.yml} (100%) rename custom_formats/{htsr.yml => HTSR.yml} (100%) rename custom_formats/{hulu.yml => Hulu.yml} (100%) rename custom_formats/{hybrid.yml => Hybrid.yml} (100%) rename custom_formats/{imax-enhanced.yml => IMAX Enhanced.yml} (100%) rename custom_formats/{imax.yml => IMAX.yml} (100%) rename custom_formats/{internal.yml => INTERNAL.yml} (100%) rename custom_formats/{ip.yml => IP.yml} (100%) rename custom_formats/{itvx.yml => ITVX.yml} (100%) rename custom_formats/{lq-release-title.yml => LQ (Release Title).yml} (100%) rename custom_formats/{lq.yml => LQ.yml} (100%) rename custom_formats/{language-not-english.yml => Language: Not English.yml} (100%) rename custom_formats/{language-not-french.yml => Language: Not French.yml} (100%) rename custom_formats/{language-not-original.yml => Language: Not Original.yml} (100%) rename custom_formats/{language-original-plus-french.yml => Language: Original + French.yml} (100%) rename custom_formats/{line-mic-dubbed.yml => Line-Mic Dubbed.yml} (100%) rename custom_formats/{ma.yml => MA.yml} (100%) rename custom_formats/{max.yml => MAX.yml} (100%) rename custom_formats/{mp3.yml => MP3.yml} (100%) rename custom_formats/{mpeg2.yml => MPEG2.yml} (100%) rename custom_formats/{multi.yml => MULTi.yml} (100%) rename custom_formats/{my5.yml => MY5.yml} (100%) rename custom_formats/{masters-of-cinema.yml => Masters of Cinema.yml} (100%) rename custom_formats/{nf.yml => NF.yml} (100%) rename custom_formats/{now.yml => NOW.yml} (100%) rename custom_formats/{no-rlsgroup.yml => No-RlsGroup.yml} (100%) rename custom_formats/{language-not-german-or-english.yml => Not German or English.yml} (100%) rename custom_formats/{ovid.yml => OViD.yml} (100%) rename custom_formats/{obfuscated.yml => Obfuscated.yml} (100%) rename custom_formats/{open-matte.yml => Open Matte.yml} (100%) rename custom_formats/{opus.yml => Opus.yml} (100%) rename custom_formats/{pcm.yml => PCM.yml} (100%) rename custom_formats/{pcok.yml => PCOK.yml} (100%) rename custom_formats/{pmtp.yml => PMTP.yml} (100%) rename custom_formats/{pq.yml => PQ.yml} (100%) rename custom_formats/{pathe.yml => Pathe.yml} (100%) rename custom_formats/{remaster.yml => Remaster.yml} (100%) rename custom_formats/{remux-tier-01.yml => Remux Tier 01.yml} (100%) rename custom_formats/{remux-tier-02.yml => Remux Tier 02.yml} (100%) rename custom_formats/{remux-tier-03.yml => Remux Tier 03.yml} (100%) rename custom_formats/{repack-proper.yml => Repack-Proper.yml} (100%) rename custom_formats/{repack2.yml => Repack2.yml} (100%) rename custom_formats/{repack3.yml => Repack3.yml} (100%) rename custom_formats/{retags.yml => Retags.yml} (100%) rename custom_formats/{sdr-no-webdl.yml => SDR (no WEBDL).yml} (100%) rename custom_formats/{sdr.yml => SDR.yml} (100%) rename custom_formats/{stan.yml => STAN.yml} (100%) rename custom_formats/{strp.yml => STRP.yml} (100%) rename custom_formats/{scene.yml => Scene.yml} (100%) rename custom_formats/{sic.yml => SiC.yml} (100%) rename custom_formats/{sing-along-versions.yml => Sing-Along Versions.yml} (100%) rename custom_formats/{special-edition.yml => Special Edition.yml} (100%) rename custom_formats/{tving.yml => TVING.yml} (100%) rename custom_formats/{tver.yml => TVer.yml} (100%) rename custom_formats/{theatrical-cut.yml => Theatrical Cut.yml} (100%) rename custom_formats/{truehd-atmos.yml => TrueHD ATMOS.yml} (100%) rename custom_formats/{truehd.yml => TrueHD.yml} (100%) rename custom_formats/{u-next.yml => U-NEXT.yml} (100%) rename custom_formats/{uhd-bluray-tier-01.yml => UHD Bluray Tier 01.yml} (100%) rename custom_formats/{uhd-bluray-tier-02.yml => UHD Bluray Tier 02.yml} (100%) rename custom_formats/{uhd-bluray-tier-03.yml => UHD Bluray Tier 03.yml} (100%) rename custom_formats/{uncensored.yml => Uncensored.yml} (100%) rename custom_formats/{upscaled.yml => Upscaled.yml} (100%) rename custom_formats/{vc-1.yml => VC-1.yml} (100%) rename custom_formats/{vdl.yml => VDL.yml} (100%) rename custom_formats/{french-vf2.yml => VF2.yml} (100%) rename custom_formats/{french-vfb.yml => VFB.yml} (100%) rename custom_formats/{french-vff.yml => VFF.yml} (100%) rename custom_formats/{french-vfi.yml => VFI.yml} (100%) rename custom_formats/{french-vfq.yml => VFQ.yml} (100%) rename custom_formats/{viu.yml => VIU.yml} (100%) rename custom_formats/{french-vof.yml => VOF.yml} (100%) rename custom_formats/{french-voq.yml => VOQ.yml} (100%) rename custom_formats/{french-vostfr.yml => VOSTFR.yml} (100%) rename custom_formats/{vp9.yml => VP9.yml} (100%) rename custom_formats/{french-vq.yml => VQ.yml} (100%) rename custom_formats/{vrv.yml => VRV.yml} (100%) rename custom_formats/{vinegar-syndrome.yml => Vinegar Syndrome.yml} (100%) rename custom_formats/{web-tier-01.yml => WEB Tier 01.yml} (100%) rename custom_formats/{web-tier-02.yml => WEB Tier 02.yml} (100%) rename custom_formats/{web-tier-03.yml => WEB Tier 03.yml} (100%) rename custom_formats/{it.yml => iT.yml} (100%) rename custom_formats/{x265-hd.yml => x265 (HD).yml} (100%) rename custom_formats/{x265-no-hdrdv.yml => x265 (no HDR-DV).yml} (100%) create mode 100644 scripts/utils/strings.py diff --git a/custom_formats/10-mono.yml b/custom_formats/1.0 Mono.yml similarity index 100% rename from custom_formats/10-mono.yml rename to custom_formats/1.0 Mono.yml diff --git a/custom_formats/20-stereo.yml b/custom_formats/2.0 Stereo.yml similarity index 100% rename from custom_formats/20-stereo.yml rename to custom_formats/2.0 Stereo.yml diff --git a/custom_formats/30-sound.yml b/custom_formats/3.0 Sound.yml similarity index 100% rename from custom_formats/30-sound.yml rename to custom_formats/3.0 Sound.yml diff --git a/custom_formats/3d.yml b/custom_formats/3D.yml similarity index 100% rename from custom_formats/3d.yml rename to custom_formats/3D.yml diff --git a/custom_formats/40-sound.yml b/custom_formats/4.0 Sound.yml similarity index 100% rename from custom_formats/40-sound.yml rename to custom_formats/4.0 Sound.yml diff --git a/custom_formats/4k-remaster.yml b/custom_formats/4K Remaster.yml similarity index 100% rename from custom_formats/4k-remaster.yml rename to custom_formats/4K Remaster.yml diff --git a/custom_formats/51-surround.yml b/custom_formats/5.1 Surround.yml similarity index 100% rename from custom_formats/51-surround.yml rename to custom_formats/5.1 Surround.yml diff --git a/custom_formats/61-surround.yml b/custom_formats/6.1 Surround.yml similarity index 100% rename from custom_formats/61-surround.yml rename to custom_formats/6.1 Surround.yml diff --git a/custom_formats/71-surround.yml b/custom_formats/7.1 Surround.yml similarity index 100% rename from custom_formats/71-surround.yml rename to custom_formats/7.1 Surround.yml diff --git a/custom_formats/aac.yml b/custom_formats/AAC.yml similarity index 100% rename from custom_formats/aac.yml rename to custom_formats/AAC.yml diff --git a/custom_formats/amzn.yml b/custom_formats/AMZN.yml similarity index 100% rename from custom_formats/amzn.yml rename to custom_formats/AMZN.yml diff --git a/custom_formats/atmos-undefined.yml b/custom_formats/ATMOS (undefined).yml similarity index 100% rename from custom_formats/atmos-undefined.yml rename to custom_formats/ATMOS (undefined).yml diff --git a/custom_formats/atvp.yml b/custom_formats/ATVP.yml similarity index 100% rename from custom_formats/atvp.yml rename to custom_formats/ATVP.yml diff --git a/custom_formats/aubc.yml b/custom_formats/AUBC.yml similarity index 100% rename from custom_formats/aubc.yml rename to custom_formats/AUBC.yml diff --git a/custom_formats/av1.yml b/custom_formats/AV1.yml similarity index 100% rename from custom_formats/av1.yml rename to custom_formats/AV1.yml diff --git a/custom_formats/anime-bd-tier-01-top-seadex-muxers.yml b/custom_formats/Anime BD Tier 01 (Top SeaDex Muxers).yml similarity index 100% rename from custom_formats/anime-bd-tier-01-top-seadex-muxers.yml rename to custom_formats/Anime BD Tier 01 (Top SeaDex Muxers).yml diff --git a/custom_formats/anime-bd-tier-02-seadex-muxers.yml b/custom_formats/Anime BD Tier 02 (SeaDex Muxers).yml similarity index 100% rename from custom_formats/anime-bd-tier-02-seadex-muxers.yml rename to custom_formats/Anime BD Tier 02 (SeaDex Muxers).yml diff --git a/custom_formats/anime-bd-tier-03-seadex-muxers.yml b/custom_formats/Anime BD Tier 03 (SeaDex Muxers).yml similarity index 100% rename from custom_formats/anime-bd-tier-03-seadex-muxers.yml rename to custom_formats/Anime BD Tier 03 (SeaDex Muxers).yml diff --git a/custom_formats/anime-bd-tier-04-seadex-muxers.yml b/custom_formats/Anime BD Tier 04 (SeaDex Muxers).yml similarity index 100% rename from custom_formats/anime-bd-tier-04-seadex-muxers.yml rename to custom_formats/Anime BD Tier 04 (SeaDex Muxers).yml diff --git a/custom_formats/anime-bd-tier-05-remuxes.yml b/custom_formats/Anime BD Tier 05 (Remuxes).yml similarity index 100% rename from custom_formats/anime-bd-tier-05-remuxes.yml rename to custom_formats/Anime BD Tier 05 (Remuxes).yml diff --git a/custom_formats/anime-bd-tier-06-fansubs.yml b/custom_formats/Anime BD Tier 06 (FanSubs).yml similarity index 100% rename from custom_formats/anime-bd-tier-06-fansubs.yml rename to custom_formats/Anime BD Tier 06 (FanSubs).yml diff --git a/custom_formats/anime-bd-tier-07-p2pscene.yml b/custom_formats/Anime BD Tier 07 (P2P-Scene).yml similarity index 100% rename from custom_formats/anime-bd-tier-07-p2pscene.yml rename to custom_formats/Anime BD Tier 07 (P2P-Scene).yml diff --git a/custom_formats/anime-bd-tier-08-mini-encodes.yml b/custom_formats/Anime BD Tier 08 (Mini Encodes).yml similarity index 100% rename from custom_formats/anime-bd-tier-08-mini-encodes.yml rename to custom_formats/Anime BD Tier 08 (Mini Encodes).yml diff --git a/custom_formats/anime-dual-audio.yml b/custom_formats/Anime Dual Audio.yml similarity index 100% rename from custom_formats/anime-dual-audio.yml rename to custom_formats/Anime Dual Audio.yml diff --git a/custom_formats/anime-lq-groups.yml b/custom_formats/Anime LQ Groups.yml similarity index 100% rename from custom_formats/anime-lq-groups.yml rename to custom_formats/Anime LQ Groups.yml diff --git a/custom_formats/anime-raws.yml b/custom_formats/Anime Raws.yml similarity index 100% rename from custom_formats/anime-raws.yml rename to custom_formats/Anime Raws.yml diff --git a/custom_formats/anime-web-tier-01-muxers.yml b/custom_formats/Anime Web Tier 01 (Muxers).yml similarity index 100% rename from custom_formats/anime-web-tier-01-muxers.yml rename to custom_formats/Anime Web Tier 01 (Muxers).yml diff --git a/custom_formats/anime-web-tier-02-top-fansubs.yml b/custom_formats/Anime Web Tier 02 (Top FanSubs).yml similarity index 100% rename from custom_formats/anime-web-tier-02-top-fansubs.yml rename to custom_formats/Anime Web Tier 02 (Top FanSubs).yml diff --git a/custom_formats/anime-web-tier-03-official-subs.yml b/custom_formats/Anime Web Tier 03 (Official Subs).yml similarity index 100% rename from custom_formats/anime-web-tier-03-official-subs.yml rename to custom_formats/Anime Web Tier 03 (Official Subs).yml diff --git a/custom_formats/anime-web-tier-04-official-subs.yml b/custom_formats/Anime Web Tier 04 (Official Subs).yml similarity index 100% rename from custom_formats/anime-web-tier-04-official-subs.yml rename to custom_formats/Anime Web Tier 04 (Official Subs).yml diff --git a/custom_formats/anime-web-tier-05-fansubs.yml b/custom_formats/Anime Web Tier 05 (FanSubs).yml similarity index 100% rename from custom_formats/anime-web-tier-05-fansubs.yml rename to custom_formats/Anime Web Tier 05 (FanSubs).yml diff --git a/custom_formats/anime-web-tier-06-fansubs.yml b/custom_formats/Anime Web Tier 06 (FanSubs).yml similarity index 100% rename from custom_formats/anime-web-tier-06-fansubs.yml rename to custom_formats/Anime Web Tier 06 (FanSubs).yml diff --git a/custom_formats/bcore.yml b/custom_formats/BCORE.yml similarity index 100% rename from custom_formats/bcore.yml rename to custom_formats/BCORE.yml diff --git a/custom_formats/bhdstudio.yml b/custom_formats/BHDStudio.yml similarity index 100% rename from custom_formats/bhdstudio.yml rename to custom_formats/BHDStudio.yml diff --git a/custom_formats/br-disk.yml b/custom_formats/BR-DISK.yml similarity index 100% rename from custom_formats/br-disk.yml rename to custom_formats/BR-DISK.yml diff --git a/custom_formats/bad-dual-groups.yml b/custom_formats/Bad Dual Groups.yml similarity index 100% rename from custom_formats/bad-dual-groups.yml rename to custom_formats/Bad Dual Groups.yml diff --git a/custom_formats/black-and-white-editions.yml b/custom_formats/Black and White Editions.yml similarity index 100% rename from custom_formats/black-and-white-editions.yml rename to custom_formats/Black and White Editions.yml diff --git a/custom_formats/cbc.yml b/custom_formats/CBC.yml similarity index 100% rename from custom_formats/cbc.yml rename to custom_formats/CBC.yml diff --git a/custom_formats/crav.yml b/custom_formats/CRAV.yml similarity index 100% rename from custom_formats/crav.yml rename to custom_formats/CRAV.yml diff --git a/custom_formats/crit.yml b/custom_formats/CRiT.yml similarity index 100% rename from custom_formats/crit.yml rename to custom_formats/CRiT.yml diff --git a/custom_formats/criterion-collection.yml b/custom_formats/Criterion Collection.yml similarity index 100% rename from custom_formats/criterion-collection.yml rename to custom_formats/Criterion Collection.yml diff --git a/custom_formats/ddplus-atmos.yml b/custom_formats/DD+ ATMOS.yml similarity index 100% rename from custom_formats/ddplus-atmos.yml rename to custom_formats/DD+ ATMOS.yml diff --git a/custom_formats/ddplus.yml b/custom_formats/DD+.yml similarity index 100% rename from custom_formats/ddplus.yml rename to custom_formats/DD+.yml diff --git a/custom_formats/dd.yml b/custom_formats/DD.yml similarity index 100% rename from custom_formats/dd.yml rename to custom_formats/DD.yml diff --git a/custom_formats/dsnp.yml b/custom_formats/DSNP.yml similarity index 100% rename from custom_formats/dsnp.yml rename to custom_formats/DSNP.yml diff --git a/custom_formats/dts-x.yml b/custom_formats/DTS X.yml similarity index 100% rename from custom_formats/dts-x.yml rename to custom_formats/DTS X.yml diff --git a/custom_formats/dts-es.yml b/custom_formats/DTS-ES.yml similarity index 100% rename from custom_formats/dts-es.yml rename to custom_formats/DTS-ES.yml diff --git a/custom_formats/dts-hd-hra.yml b/custom_formats/DTS-HD HRA.yml similarity index 100% rename from custom_formats/dts-hd-hra.yml rename to custom_formats/DTS-HD HRA.yml diff --git a/custom_formats/dts-hd-ma.yml b/custom_formats/DTS-HD MA.yml similarity index 100% rename from custom_formats/dts-hd-ma.yml rename to custom_formats/DTS-HD MA.yml diff --git a/custom_formats/dts.yml b/custom_formats/DTS.yml similarity index 100% rename from custom_formats/dts.yml rename to custom_formats/DTS.yml diff --git a/custom_formats/dv-disk.yml b/custom_formats/DV (Disk).yml similarity index 100% rename from custom_formats/dv-disk.yml rename to custom_formats/DV (Disk).yml diff --git a/custom_formats/dv-webdl.yml b/custom_formats/DV (WEBDL).yml similarity index 100% rename from custom_formats/dv-webdl.yml rename to custom_formats/DV (WEBDL).yml diff --git a/custom_formats/dv-hdr10plus-boost.yml b/custom_formats/DV HDR10+ Boost.yml similarity index 100% rename from custom_formats/dv-hdr10plus-boost.yml rename to custom_formats/DV HDR10+ Boost.yml diff --git a/custom_formats/dv-hdr10plus.yml b/custom_formats/DV HDR10+.yml similarity index 100% rename from custom_formats/dv-hdr10plus.yml rename to custom_formats/DV HDR10+.yml diff --git a/custom_formats/dv-hdr10.yml b/custom_formats/DV HDR10.yml similarity index 100% rename from custom_formats/dv-hdr10.yml rename to custom_formats/DV HDR10.yml diff --git a/custom_formats/dv-hlg.yml b/custom_formats/DV HLG.yml similarity index 100% rename from custom_formats/dv-hlg.yml rename to custom_formats/DV HLG.yml diff --git a/custom_formats/dv-sdr.yml b/custom_formats/DV SDR.yml similarity index 100% rename from custom_formats/dv-sdr.yml rename to custom_formats/DV SDR.yml diff --git a/custom_formats/dv.yml b/custom_formats/DV.yml similarity index 100% rename from custom_formats/dv.yml rename to custom_formats/DV.yml diff --git a/custom_formats/dubs-only.yml b/custom_formats/Dubs Only.yml similarity index 100% rename from custom_formats/dubs-only.yml rename to custom_formats/Dubs Only.yml diff --git a/custom_formats/dutch-groups.yml b/custom_formats/Dutch Groups.yml similarity index 100% rename from custom_formats/dutch-groups.yml rename to custom_formats/Dutch Groups.yml diff --git a/custom_formats/extras.yml b/custom_formats/Extras.yml similarity index 100% rename from custom_formats/extras.yml rename to custom_formats/Extras.yml diff --git a/custom_formats/flac.yml b/custom_formats/FLAC.yml similarity index 100% rename from custom_formats/flac.yml rename to custom_formats/FLAC.yml diff --git a/custom_formats/flux.yml b/custom_formats/FLUX.yml similarity index 100% rename from custom_formats/flux.yml rename to custom_formats/FLUX.yml diff --git a/custom_formats/fod.yml b/custom_formats/FOD.yml similarity index 100% rename from custom_formats/fod.yml rename to custom_formats/FOD.yml diff --git a/custom_formats/french-anime-fansub.yml b/custom_formats/FR Anime FanSub.yml similarity index 100% rename from custom_formats/french-anime-fansub.yml rename to custom_formats/FR Anime FanSub.yml diff --git a/custom_formats/french-anime-tier-01.yml b/custom_formats/FR Anime Tier 01.yml similarity index 100% rename from custom_formats/french-anime-tier-01.yml rename to custom_formats/FR Anime Tier 01.yml diff --git a/custom_formats/french-anime-tier-02.yml b/custom_formats/FR Anime Tier 02.yml similarity index 100% rename from custom_formats/french-anime-tier-02.yml rename to custom_formats/FR Anime Tier 02.yml diff --git a/custom_formats/french-anime-tier-03.yml b/custom_formats/FR Anime Tier 03.yml similarity index 100% rename from custom_formats/french-anime-tier-03.yml rename to custom_formats/FR Anime Tier 03.yml diff --git a/custom_formats/french-hd-bluray-tier-01.yml b/custom_formats/FR HD Bluray Tier 01.yml similarity index 100% rename from custom_formats/french-hd-bluray-tier-01.yml rename to custom_formats/FR HD Bluray Tier 01.yml diff --git a/custom_formats/french-hd-bluray-tier-02.yml b/custom_formats/FR HD Bluray Tier 02.yml similarity index 100% rename from custom_formats/french-hd-bluray-tier-02.yml rename to custom_formats/FR HD Bluray Tier 02.yml diff --git a/custom_formats/french-lq.yml b/custom_formats/FR LQ.yml similarity index 100% rename from custom_formats/french-lq.yml rename to custom_formats/FR LQ.yml diff --git a/custom_formats/french-remux-tier-01.yml b/custom_formats/FR Remux Tier 01.yml similarity index 100% rename from custom_formats/french-remux-tier-01.yml rename to custom_formats/FR Remux Tier 01.yml diff --git a/custom_formats/french-remux-tier-02.yml b/custom_formats/FR Remux Tier 02.yml similarity index 100% rename from custom_formats/french-remux-tier-02.yml rename to custom_formats/FR Remux Tier 02.yml diff --git a/custom_formats/french-scene.yml b/custom_formats/FR Scene Groups.yml similarity index 100% rename from custom_formats/french-scene.yml rename to custom_formats/FR Scene Groups.yml diff --git a/custom_formats/french-uhd-bluray-tier-01.yml b/custom_formats/FR UHD Bluray Tier 01.yml similarity index 100% rename from custom_formats/french-uhd-bluray-tier-01.yml rename to custom_formats/FR UHD Bluray Tier 01.yml diff --git a/custom_formats/french-uhd-bluray-tier-02.yml b/custom_formats/FR UHD Bluray Tier 02.yml similarity index 100% rename from custom_formats/french-uhd-bluray-tier-02.yml rename to custom_formats/FR UHD Bluray Tier 02.yml diff --git a/custom_formats/french-web-tier-01.yml b/custom_formats/FR WEB Tier 01.yml similarity index 100% rename from custom_formats/french-web-tier-01.yml rename to custom_formats/FR WEB Tier 01.yml diff --git a/custom_formats/french-web-tier-02.yml b/custom_formats/FR WEB Tier 02.yml similarity index 100% rename from custom_formats/french-web-tier-02.yml rename to custom_formats/FR WEB Tier 02.yml diff --git a/custom_formats/fansub.yml b/custom_formats/FanSUB.yml similarity index 100% rename from custom_formats/fansub.yml rename to custom_formats/FanSUB.yml diff --git a/custom_formats/fastsub.yml b/custom_formats/FastSUB.yml similarity index 100% rename from custom_formats/fastsub.yml rename to custom_formats/FastSUB.yml diff --git a/custom_formats/framestor.yml b/custom_formats/FraMeSToR.yml similarity index 100% rename from custom_formats/framestor.yml rename to custom_formats/FraMeSToR.yml diff --git a/custom_formats/freeleech.yml b/custom_formats/FreeLeech.yml similarity index 100% rename from custom_formats/freeleech.yml rename to custom_formats/FreeLeech.yml diff --git a/custom_formats/generated-dynamic-hdr.yml b/custom_formats/Generated Dynamic HDR.yml similarity index 100% rename from custom_formats/generated-dynamic-hdr.yml rename to custom_formats/Generated Dynamic HDR.yml diff --git a/custom_formats/german-1080p-booster.yml b/custom_formats/German 1080p Booster.yml similarity index 100% rename from custom_formats/german-1080p-booster.yml rename to custom_formats/German 1080p Booster.yml diff --git a/custom_formats/german-2160p-booster.yml b/custom_formats/German 2160p Booster.yml similarity index 100% rename from custom_formats/german-2160p-booster.yml rename to custom_formats/German 2160p Booster.yml diff --git a/custom_formats/german-bluray-tier-01.yml b/custom_formats/German Bluray Tier 01.yml similarity index 100% rename from custom_formats/german-bluray-tier-01.yml rename to custom_formats/German Bluray Tier 01.yml diff --git a/custom_formats/german-bluray-tier-02.yml b/custom_formats/German Bluray Tier 02.yml similarity index 100% rename from custom_formats/german-bluray-tier-02.yml rename to custom_formats/German Bluray Tier 02.yml diff --git a/custom_formats/german-bluray-tier-03.yml b/custom_formats/German Bluray Tier 03.yml similarity index 100% rename from custom_formats/german-bluray-tier-03.yml rename to custom_formats/German Bluray Tier 03.yml diff --git a/custom_formats/language-german-dl-undefined.yml b/custom_formats/German DL (undefined).yml similarity index 100% rename from custom_formats/language-german-dl-undefined.yml rename to custom_formats/German DL (undefined).yml diff --git a/custom_formats/language-german-dl.yml b/custom_formats/German DL.yml similarity index 100% rename from custom_formats/language-german-dl.yml rename to custom_formats/German DL.yml diff --git a/custom_formats/german-lq-release-title.yml b/custom_formats/German LQ (release title).yml similarity index 100% rename from custom_formats/german-lq-release-title.yml rename to custom_formats/German LQ (release title).yml diff --git a/custom_formats/german-lq.yml b/custom_formats/German LQ.yml similarity index 100% rename from custom_formats/german-lq.yml rename to custom_formats/German LQ.yml diff --git a/custom_formats/german-microsized.yml b/custom_formats/German Microsized.yml similarity index 100% rename from custom_formats/german-microsized.yml rename to custom_formats/German Microsized.yml diff --git a/custom_formats/german-remux-tier-01.yml b/custom_formats/German Remux Tier 01.yml similarity index 100% rename from custom_formats/german-remux-tier-01.yml rename to custom_formats/German Remux Tier 01.yml diff --git a/custom_formats/german-remux-tier-02.yml b/custom_formats/German Remux Tier 02.yml similarity index 100% rename from custom_formats/german-remux-tier-02.yml rename to custom_formats/German Remux Tier 02.yml diff --git a/custom_formats/german-scene.yml b/custom_formats/German Scene.yml similarity index 100% rename from custom_formats/german-scene.yml rename to custom_formats/German Scene.yml diff --git a/custom_formats/german-web-tier-01.yml b/custom_formats/German Web Tier 01.yml similarity index 100% rename from custom_formats/german-web-tier-01.yml rename to custom_formats/German Web Tier 01.yml diff --git a/custom_formats/german-web-tier-02.yml b/custom_formats/German Web Tier 02.yml similarity index 100% rename from custom_formats/german-web-tier-02.yml rename to custom_formats/German Web Tier 02.yml diff --git a/custom_formats/german-web-tier-03.yml b/custom_formats/German Web Tier 03.yml similarity index 100% rename from custom_formats/german-web-tier-03.yml rename to custom_formats/German Web Tier 03.yml diff --git a/custom_formats/language-german.yml b/custom_formats/German.yml similarity index 100% rename from custom_formats/language-german.yml rename to custom_formats/German.yml diff --git a/custom_formats/hbo.yml b/custom_formats/HBO.yml similarity index 100% rename from custom_formats/hbo.yml rename to custom_formats/HBO.yml diff --git a/custom_formats/hd-bluray-tier-01.yml b/custom_formats/HD Bluray Tier 01.yml similarity index 100% rename from custom_formats/hd-bluray-tier-01.yml rename to custom_formats/HD Bluray Tier 01.yml diff --git a/custom_formats/hd-bluray-tier-02.yml b/custom_formats/HD Bluray Tier 02.yml similarity index 100% rename from custom_formats/hd-bluray-tier-02.yml rename to custom_formats/HD Bluray Tier 02.yml diff --git a/custom_formats/hd-bluray-tier-03.yml b/custom_formats/HD Bluray Tier 03.yml similarity index 100% rename from custom_formats/hd-bluray-tier-03.yml rename to custom_formats/HD Bluray Tier 03.yml diff --git a/custom_formats/hdr-undefined.yml b/custom_formats/HDR (undefined).yml similarity index 100% rename from custom_formats/hdr-undefined.yml rename to custom_formats/HDR (undefined).yml diff --git a/custom_formats/hdr.yml b/custom_formats/HDR.yml similarity index 100% rename from custom_formats/hdr.yml rename to custom_formats/HDR.yml diff --git a/custom_formats/hdr10plus-boost.yml b/custom_formats/HDR10+ Boost.yml similarity index 100% rename from custom_formats/hdr10plus-boost.yml rename to custom_formats/HDR10+ Boost.yml diff --git a/custom_formats/hdr10plus.yml b/custom_formats/HDR10+.yml similarity index 100% rename from custom_formats/hdr10plus.yml rename to custom_formats/HDR10+.yml diff --git a/custom_formats/hdr10.yml b/custom_formats/HDR10.yml similarity index 100% rename from custom_formats/hdr10.yml rename to custom_formats/HDR10.yml diff --git a/custom_formats/hfr.yml b/custom_formats/HFR.yml similarity index 100% rename from custom_formats/hfr.yml rename to custom_formats/HFR.yml diff --git a/custom_formats/hlg.yml b/custom_formats/HLG.yml similarity index 100% rename from custom_formats/hlg.yml rename to custom_formats/HLG.yml diff --git a/custom_formats/hmax.yml b/custom_formats/HMAX.yml similarity index 100% rename from custom_formats/hmax.yml rename to custom_formats/HMAX.yml diff --git a/custom_formats/htsr.yml b/custom_formats/HTSR.yml similarity index 100% rename from custom_formats/htsr.yml rename to custom_formats/HTSR.yml diff --git a/custom_formats/hulu.yml b/custom_formats/Hulu.yml similarity index 100% rename from custom_formats/hulu.yml rename to custom_formats/Hulu.yml diff --git a/custom_formats/hybrid.yml b/custom_formats/Hybrid.yml similarity index 100% rename from custom_formats/hybrid.yml rename to custom_formats/Hybrid.yml diff --git a/custom_formats/imax-enhanced.yml b/custom_formats/IMAX Enhanced.yml similarity index 100% rename from custom_formats/imax-enhanced.yml rename to custom_formats/IMAX Enhanced.yml diff --git a/custom_formats/imax.yml b/custom_formats/IMAX.yml similarity index 100% rename from custom_formats/imax.yml rename to custom_formats/IMAX.yml diff --git a/custom_formats/internal.yml b/custom_formats/INTERNAL.yml similarity index 100% rename from custom_formats/internal.yml rename to custom_formats/INTERNAL.yml diff --git a/custom_formats/ip.yml b/custom_formats/IP.yml similarity index 100% rename from custom_formats/ip.yml rename to custom_formats/IP.yml diff --git a/custom_formats/itvx.yml b/custom_formats/ITVX.yml similarity index 100% rename from custom_formats/itvx.yml rename to custom_formats/ITVX.yml diff --git a/custom_formats/lq-release-title.yml b/custom_formats/LQ (Release Title).yml similarity index 100% rename from custom_formats/lq-release-title.yml rename to custom_formats/LQ (Release Title).yml diff --git a/custom_formats/lq.yml b/custom_formats/LQ.yml similarity index 100% rename from custom_formats/lq.yml rename to custom_formats/LQ.yml diff --git a/custom_formats/language-not-english.yml b/custom_formats/Language: Not English.yml similarity index 100% rename from custom_formats/language-not-english.yml rename to custom_formats/Language: Not English.yml diff --git a/custom_formats/language-not-french.yml b/custom_formats/Language: Not French.yml similarity index 100% rename from custom_formats/language-not-french.yml rename to custom_formats/Language: Not French.yml diff --git a/custom_formats/language-not-original.yml b/custom_formats/Language: Not Original.yml similarity index 100% rename from custom_formats/language-not-original.yml rename to custom_formats/Language: Not Original.yml diff --git a/custom_formats/language-original-plus-french.yml b/custom_formats/Language: Original + French.yml similarity index 100% rename from custom_formats/language-original-plus-french.yml rename to custom_formats/Language: Original + French.yml diff --git a/custom_formats/line-mic-dubbed.yml b/custom_formats/Line-Mic Dubbed.yml similarity index 100% rename from custom_formats/line-mic-dubbed.yml rename to custom_formats/Line-Mic Dubbed.yml diff --git a/custom_formats/ma.yml b/custom_formats/MA.yml similarity index 100% rename from custom_formats/ma.yml rename to custom_formats/MA.yml diff --git a/custom_formats/max.yml b/custom_formats/MAX.yml similarity index 100% rename from custom_formats/max.yml rename to custom_formats/MAX.yml diff --git a/custom_formats/mp3.yml b/custom_formats/MP3.yml similarity index 100% rename from custom_formats/mp3.yml rename to custom_formats/MP3.yml diff --git a/custom_formats/mpeg2.yml b/custom_formats/MPEG2.yml similarity index 100% rename from custom_formats/mpeg2.yml rename to custom_formats/MPEG2.yml diff --git a/custom_formats/multi.yml b/custom_formats/MULTi.yml similarity index 100% rename from custom_formats/multi.yml rename to custom_formats/MULTi.yml diff --git a/custom_formats/my5.yml b/custom_formats/MY5.yml similarity index 100% rename from custom_formats/my5.yml rename to custom_formats/MY5.yml diff --git a/custom_formats/masters-of-cinema.yml b/custom_formats/Masters of Cinema.yml similarity index 100% rename from custom_formats/masters-of-cinema.yml rename to custom_formats/Masters of Cinema.yml diff --git a/custom_formats/nf.yml b/custom_formats/NF.yml similarity index 100% rename from custom_formats/nf.yml rename to custom_formats/NF.yml diff --git a/custom_formats/now.yml b/custom_formats/NOW.yml similarity index 100% rename from custom_formats/now.yml rename to custom_formats/NOW.yml diff --git a/custom_formats/no-rlsgroup.yml b/custom_formats/No-RlsGroup.yml similarity index 100% rename from custom_formats/no-rlsgroup.yml rename to custom_formats/No-RlsGroup.yml diff --git a/custom_formats/language-not-german-or-english.yml b/custom_formats/Not German or English.yml similarity index 100% rename from custom_formats/language-not-german-or-english.yml rename to custom_formats/Not German or English.yml diff --git a/custom_formats/ovid.yml b/custom_formats/OViD.yml similarity index 100% rename from custom_formats/ovid.yml rename to custom_formats/OViD.yml diff --git a/custom_formats/obfuscated.yml b/custom_formats/Obfuscated.yml similarity index 100% rename from custom_formats/obfuscated.yml rename to custom_formats/Obfuscated.yml diff --git a/custom_formats/open-matte.yml b/custom_formats/Open Matte.yml similarity index 100% rename from custom_formats/open-matte.yml rename to custom_formats/Open Matte.yml diff --git a/custom_formats/opus.yml b/custom_formats/Opus.yml similarity index 100% rename from custom_formats/opus.yml rename to custom_formats/Opus.yml diff --git a/custom_formats/pcm.yml b/custom_formats/PCM.yml similarity index 100% rename from custom_formats/pcm.yml rename to custom_formats/PCM.yml diff --git a/custom_formats/pcok.yml b/custom_formats/PCOK.yml similarity index 100% rename from custom_formats/pcok.yml rename to custom_formats/PCOK.yml diff --git a/custom_formats/pmtp.yml b/custom_formats/PMTP.yml similarity index 100% rename from custom_formats/pmtp.yml rename to custom_formats/PMTP.yml diff --git a/custom_formats/pq.yml b/custom_formats/PQ.yml similarity index 100% rename from custom_formats/pq.yml rename to custom_formats/PQ.yml diff --git a/custom_formats/pathe.yml b/custom_formats/Pathe.yml similarity index 100% rename from custom_formats/pathe.yml rename to custom_formats/Pathe.yml diff --git a/custom_formats/remaster.yml b/custom_formats/Remaster.yml similarity index 100% rename from custom_formats/remaster.yml rename to custom_formats/Remaster.yml diff --git a/custom_formats/remux-tier-01.yml b/custom_formats/Remux Tier 01.yml similarity index 100% rename from custom_formats/remux-tier-01.yml rename to custom_formats/Remux Tier 01.yml diff --git a/custom_formats/remux-tier-02.yml b/custom_formats/Remux Tier 02.yml similarity index 100% rename from custom_formats/remux-tier-02.yml rename to custom_formats/Remux Tier 02.yml diff --git a/custom_formats/remux-tier-03.yml b/custom_formats/Remux Tier 03.yml similarity index 100% rename from custom_formats/remux-tier-03.yml rename to custom_formats/Remux Tier 03.yml diff --git a/custom_formats/repack-proper.yml b/custom_formats/Repack-Proper.yml similarity index 100% rename from custom_formats/repack-proper.yml rename to custom_formats/Repack-Proper.yml diff --git a/custom_formats/repack2.yml b/custom_formats/Repack2.yml similarity index 100% rename from custom_formats/repack2.yml rename to custom_formats/Repack2.yml diff --git a/custom_formats/repack3.yml b/custom_formats/Repack3.yml similarity index 100% rename from custom_formats/repack3.yml rename to custom_formats/Repack3.yml diff --git a/custom_formats/retags.yml b/custom_formats/Retags.yml similarity index 100% rename from custom_formats/retags.yml rename to custom_formats/Retags.yml diff --git a/custom_formats/sdr-no-webdl.yml b/custom_formats/SDR (no WEBDL).yml similarity index 100% rename from custom_formats/sdr-no-webdl.yml rename to custom_formats/SDR (no WEBDL).yml diff --git a/custom_formats/sdr.yml b/custom_formats/SDR.yml similarity index 100% rename from custom_formats/sdr.yml rename to custom_formats/SDR.yml diff --git a/custom_formats/stan.yml b/custom_formats/STAN.yml similarity index 100% rename from custom_formats/stan.yml rename to custom_formats/STAN.yml diff --git a/custom_formats/strp.yml b/custom_formats/STRP.yml similarity index 100% rename from custom_formats/strp.yml rename to custom_formats/STRP.yml diff --git a/custom_formats/scene.yml b/custom_formats/Scene.yml similarity index 100% rename from custom_formats/scene.yml rename to custom_formats/Scene.yml diff --git a/custom_formats/sic.yml b/custom_formats/SiC.yml similarity index 100% rename from custom_formats/sic.yml rename to custom_formats/SiC.yml diff --git a/custom_formats/sing-along-versions.yml b/custom_formats/Sing-Along Versions.yml similarity index 100% rename from custom_formats/sing-along-versions.yml rename to custom_formats/Sing-Along Versions.yml diff --git a/custom_formats/special-edition.yml b/custom_formats/Special Edition.yml similarity index 100% rename from custom_formats/special-edition.yml rename to custom_formats/Special Edition.yml diff --git a/custom_formats/tving.yml b/custom_formats/TVING.yml similarity index 100% rename from custom_formats/tving.yml rename to custom_formats/TVING.yml diff --git a/custom_formats/tver.yml b/custom_formats/TVer.yml similarity index 100% rename from custom_formats/tver.yml rename to custom_formats/TVer.yml diff --git a/custom_formats/theatrical-cut.yml b/custom_formats/Theatrical Cut.yml similarity index 100% rename from custom_formats/theatrical-cut.yml rename to custom_formats/Theatrical Cut.yml diff --git a/custom_formats/truehd-atmos.yml b/custom_formats/TrueHD ATMOS.yml similarity index 100% rename from custom_formats/truehd-atmos.yml rename to custom_formats/TrueHD ATMOS.yml diff --git a/custom_formats/truehd.yml b/custom_formats/TrueHD.yml similarity index 100% rename from custom_formats/truehd.yml rename to custom_formats/TrueHD.yml diff --git a/custom_formats/u-next.yml b/custom_formats/U-NEXT.yml similarity index 100% rename from custom_formats/u-next.yml rename to custom_formats/U-NEXT.yml diff --git a/custom_formats/uhd-bluray-tier-01.yml b/custom_formats/UHD Bluray Tier 01.yml similarity index 100% rename from custom_formats/uhd-bluray-tier-01.yml rename to custom_formats/UHD Bluray Tier 01.yml diff --git a/custom_formats/uhd-bluray-tier-02.yml b/custom_formats/UHD Bluray Tier 02.yml similarity index 100% rename from custom_formats/uhd-bluray-tier-02.yml rename to custom_formats/UHD Bluray Tier 02.yml diff --git a/custom_formats/uhd-bluray-tier-03.yml b/custom_formats/UHD Bluray Tier 03.yml similarity index 100% rename from custom_formats/uhd-bluray-tier-03.yml rename to custom_formats/UHD Bluray Tier 03.yml diff --git a/custom_formats/uncensored.yml b/custom_formats/Uncensored.yml similarity index 100% rename from custom_formats/uncensored.yml rename to custom_formats/Uncensored.yml diff --git a/custom_formats/upscaled.yml b/custom_formats/Upscaled.yml similarity index 100% rename from custom_formats/upscaled.yml rename to custom_formats/Upscaled.yml diff --git a/custom_formats/vc-1.yml b/custom_formats/VC-1.yml similarity index 100% rename from custom_formats/vc-1.yml rename to custom_formats/VC-1.yml diff --git a/custom_formats/vdl.yml b/custom_formats/VDL.yml similarity index 100% rename from custom_formats/vdl.yml rename to custom_formats/VDL.yml diff --git a/custom_formats/french-vf2.yml b/custom_formats/VF2.yml similarity index 100% rename from custom_formats/french-vf2.yml rename to custom_formats/VF2.yml diff --git a/custom_formats/french-vfb.yml b/custom_formats/VFB.yml similarity index 100% rename from custom_formats/french-vfb.yml rename to custom_formats/VFB.yml diff --git a/custom_formats/french-vff.yml b/custom_formats/VFF.yml similarity index 100% rename from custom_formats/french-vff.yml rename to custom_formats/VFF.yml diff --git a/custom_formats/french-vfi.yml b/custom_formats/VFI.yml similarity index 100% rename from custom_formats/french-vfi.yml rename to custom_formats/VFI.yml diff --git a/custom_formats/french-vfq.yml b/custom_formats/VFQ.yml similarity index 100% rename from custom_formats/french-vfq.yml rename to custom_formats/VFQ.yml diff --git a/custom_formats/viu.yml b/custom_formats/VIU.yml similarity index 100% rename from custom_formats/viu.yml rename to custom_formats/VIU.yml diff --git a/custom_formats/french-vof.yml b/custom_formats/VOF.yml similarity index 100% rename from custom_formats/french-vof.yml rename to custom_formats/VOF.yml diff --git a/custom_formats/french-voq.yml b/custom_formats/VOQ.yml similarity index 100% rename from custom_formats/french-voq.yml rename to custom_formats/VOQ.yml diff --git a/custom_formats/french-vostfr.yml b/custom_formats/VOSTFR.yml similarity index 100% rename from custom_formats/french-vostfr.yml rename to custom_formats/VOSTFR.yml diff --git a/custom_formats/vp9.yml b/custom_formats/VP9.yml similarity index 100% rename from custom_formats/vp9.yml rename to custom_formats/VP9.yml diff --git a/custom_formats/french-vq.yml b/custom_formats/VQ.yml similarity index 100% rename from custom_formats/french-vq.yml rename to custom_formats/VQ.yml diff --git a/custom_formats/vrv.yml b/custom_formats/VRV.yml similarity index 100% rename from custom_formats/vrv.yml rename to custom_formats/VRV.yml diff --git a/custom_formats/vinegar-syndrome.yml b/custom_formats/Vinegar Syndrome.yml similarity index 100% rename from custom_formats/vinegar-syndrome.yml rename to custom_formats/Vinegar Syndrome.yml diff --git a/custom_formats/web-tier-01.yml b/custom_formats/WEB Tier 01.yml similarity index 100% rename from custom_formats/web-tier-01.yml rename to custom_formats/WEB Tier 01.yml diff --git a/custom_formats/web-tier-02.yml b/custom_formats/WEB Tier 02.yml similarity index 100% rename from custom_formats/web-tier-02.yml rename to custom_formats/WEB Tier 02.yml diff --git a/custom_formats/web-tier-03.yml b/custom_formats/WEB Tier 03.yml similarity index 100% rename from custom_formats/web-tier-03.yml rename to custom_formats/WEB Tier 03.yml diff --git a/custom_formats/it.yml b/custom_formats/iT.yml similarity index 100% rename from custom_formats/it.yml rename to custom_formats/iT.yml diff --git a/custom_formats/x265-hd.yml b/custom_formats/x265 (HD).yml similarity index 100% rename from custom_formats/x265-hd.yml rename to custom_formats/x265 (HD).yml diff --git a/custom_formats/x265-no-hdrdv.yml b/custom_formats/x265 (no HDR-DV).yml similarity index 100% rename from custom_formats/x265-no-hdrdv.yml rename to custom_formats/x265 (no HDR-DV).yml diff --git a/scripts/utils/custom_formats.py b/scripts/utils/custom_formats.py index c313eb1..f792681 100644 --- a/scripts/utils/custom_formats.py +++ b/scripts/utils/custom_formats.py @@ -4,6 +4,8 @@ import yaml from markdownify import markdownify +from utils.strings import get_file_name + IMPLEMENTATION_TO_TAG_MAPPING = { "ReleaseTitleSpecification": ["Release Title"], "ResolutionSpecification": ["Resolution"], @@ -77,7 +79,7 @@ def collect_custom_format(service, file_name, input_json, output_dir): } # Output path - output_path = os.path.join(output_dir, f"{file_name}.yml") + output_path = os.path.join(output_dir, f"{get_file_name(name)}.yml") with open(output_path, "w", encoding="utf-8") as f: yaml.dump(yml_data, f, sort_keys=False, allow_unicode=True) print(f"Generated: {output_path}") diff --git a/scripts/utils/profiles.py b/scripts/utils/profiles.py index 7e6b037..be18bdc 100644 --- a/scripts/utils/profiles.py +++ b/scripts/utils/profiles.py @@ -4,9 +4,7 @@ import yaml from markdownify import markdownify - -def get_file_name(profile_name): - return profile_name.replace("[", "(").replace("]", ")") +from utils.strings import get_file_name def find_score_for_custom_format( diff --git a/scripts/utils/regex_patterns.py b/scripts/utils/regex_patterns.py index a2c0c31..dd860c7 100644 --- a/scripts/utils/regex_patterns.py +++ b/scripts/utils/regex_patterns.py @@ -2,6 +2,8 @@ import os import json import yaml +from utils.strings import get_file_name + # TODO: prevent duplicates by only writing unique regex patterns to files # In some cases negations will result in a new regex pattern as of now @@ -34,7 +36,7 @@ def collect_regex_pattern(service, file_name, input_json, output_dir): # Output path output_path = os.path.join( output_dir, - f"{name.replace('/', '-').replace('[', '(').replace(']', ')')}.yml", + f"{get_file_name(name)}.yml", ) with open(output_path, "w", encoding="utf-8") as f: yaml.dump(yml_data, f, sort_keys=False, allow_unicode=True) diff --git a/scripts/utils/strings.py b/scripts/utils/strings.py new file mode 100644 index 0000000..15db949 --- /dev/null +++ b/scripts/utils/strings.py @@ -0,0 +1,2 @@ +def get_file_name(profile_name): + return profile_name.replace("/", "-").replace("[", "(").replace("]", ")")