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("]", ")")