diff --git a/profiles/(Anime) Remux-1080p.yml b/profiles/(Anime) Remux-1080p.yml index 1e3ea0a..eb180c5 100644 --- a/profiles/(Anime) Remux-1080p.yml +++ b/profiles/(Anime) Remux-1080p.yml @@ -58,7 +58,6 @@ qualities: upgrade_until: name: Remux 1080p id: -4 - description: '' custom_formats: - name: Anime BD Tier 01 (Top SeaDex Muxers) score: 1400 diff --git a/profiles/(French MULTi.VO) HD Bluray + WEB.yml b/profiles/(French MULTi.VO) HD Bluray + WEB.yml index 99c664d..49f88f4 100644 --- a/profiles/(French MULTi.VO) HD Bluray + WEB.yml +++ b/profiles/(French MULTi.VO) HD Bluray + WEB.yml @@ -23,7 +23,6 @@ qualities: upgrade_until: name: Bluray|WEB 1080p id: -1 - description: '' custom_formats: - name: 'Language: Not Original' score: -10000 diff --git a/profiles/(French MULTi.VO) UHD Bluray + WEB.yml b/profiles/(French MULTi.VO) UHD Bluray + WEB.yml index 7fe49c3..9579e5a 100644 --- a/profiles/(French MULTi.VO) UHD Bluray + WEB.yml +++ b/profiles/(French MULTi.VO) UHD Bluray + WEB.yml @@ -24,7 +24,6 @@ qualities: upgrade_until: name: Bluray|WEB 2160p id: -1 - description: '' custom_formats: - name: 'Language: Not Original' score: -10000 diff --git a/profiles/(German) HD Bluray + WEB.yml b/profiles/(German) HD Bluray + WEB.yml index 38425ea..9b94803 100644 --- a/profiles/(German) HD Bluray + WEB.yml +++ b/profiles/(German) HD Bluray + WEB.yml @@ -28,7 +28,6 @@ qualities: upgrade_until: name: Merged QPs id: -1 - description: '' custom_formats: - name: German 1080p Booster score: 650 diff --git a/profiles/(German) HD Remux + WEB.yml b/profiles/(German) HD Remux + WEB.yml index 0717dc6..40c3e8c 100644 --- a/profiles/(German) HD Remux + WEB.yml +++ b/profiles/(German) HD Remux + WEB.yml @@ -21,7 +21,6 @@ qualities: upgrade_until: name: Merged QPs id: -1 - description: '' custom_formats: - name: German 1080p Booster score: 650 diff --git a/profiles/(German) Remux + WEB 2160p.yml b/profiles/(German) Remux + WEB 2160p.yml index 759e4e0..32ef3c3 100644 --- a/profiles/(German) Remux + WEB 2160p.yml +++ b/profiles/(German) Remux + WEB 2160p.yml @@ -21,7 +21,6 @@ qualities: upgrade_until: name: Merged QPs id: -1 - description: '' custom_formats: - name: German 1080p Booster score: 650 diff --git a/profiles/(German) UHD Bluray + WEB (Alternative).yml b/profiles/(German) UHD Bluray + WEB (Alternative).yml index 6f46991..c2e6621 100644 --- a/profiles/(German) UHD Bluray + WEB (Alternative).yml +++ b/profiles/(German) UHD Bluray + WEB (Alternative).yml @@ -34,7 +34,6 @@ qualities: upgrade_until: name: Merged QPs id: -1 - description: '' custom_formats: - name: German 1080p Booster score: 650 diff --git a/profiles/(German) UHD Bluray + WEB.yml b/profiles/(German) UHD Bluray + WEB.yml index a244b24..43d2a84 100644 --- a/profiles/(German) UHD Bluray + WEB.yml +++ b/profiles/(German) UHD Bluray + WEB.yml @@ -21,7 +21,6 @@ qualities: upgrade_until: name: Merged QPs id: -1 - description: '' custom_formats: - name: German 1080p Booster score: 650 diff --git a/profiles/(SQP) SQP-1 (1080p).yml b/profiles/(SQP) SQP-1 (1080p).yml index 9bfbe0b..67126f4 100644 --- a/profiles/(SQP) SQP-1 (1080p).yml +++ b/profiles/(SQP) SQP-1 (1080p).yml @@ -33,7 +33,6 @@ qualities: upgrade_until: name: Bluray|WEB-1080p id: -1 - description: '' custom_formats: - name: TrueHD ATMOS score: -10000 diff --git a/profiles/(SQP) SQP-1 WEB (1080p).yml b/profiles/(SQP) SQP-1 WEB (1080p).yml index 553441b..53e035a 100644 --- a/profiles/(SQP) SQP-1 WEB (1080p).yml +++ b/profiles/(SQP) SQP-1 WEB (1080p).yml @@ -27,7 +27,6 @@ qualities: upgrade_until: name: Bluray|WEB-1080p id: -1 - description: '' custom_formats: - name: TrueHD ATMOS score: -10000 diff --git a/profiles/(SQP) SQP-1 WEB (2160p).yml b/profiles/(SQP) SQP-1 WEB (2160p).yml index 7532893..bb1e476 100644 --- a/profiles/(SQP) SQP-1 WEB (2160p).yml +++ b/profiles/(SQP) SQP-1 WEB (2160p).yml @@ -37,7 +37,6 @@ qualities: upgrade_until: name: Bluray|WEB-2160p id: -2 - description: '' custom_formats: - name: TrueHD ATMOS score: -10000 diff --git a/profiles/(SQP) SQP-2.yml b/profiles/(SQP) SQP-2.yml index b5558a7..20f9c2d 100644 --- a/profiles/(SQP) SQP-2.yml +++ b/profiles/(SQP) SQP-2.yml @@ -35,7 +35,6 @@ qualities: upgrade_until: name: WEB|Remux|Bluray|2160p id: -1 - description: '' custom_formats: - name: DV HDR10Plus score: 1500 diff --git a/profiles/(SQP) SQP-3 (Audio).yml b/profiles/(SQP) SQP-3 (Audio).yml index e0b7368..1fd3173 100644 --- a/profiles/(SQP) SQP-3 (Audio).yml +++ b/profiles/(SQP) SQP-3 (Audio).yml @@ -33,7 +33,6 @@ qualities: upgrade_until: name: WEB|Remux|2160p id: -1 - description: '' custom_formats: - name: TrueHD Atmos score: 5000 diff --git a/profiles/(SQP) SQP-3.yml b/profiles/(SQP) SQP-3.yml index 3a88415..1099207 100644 --- a/profiles/(SQP) SQP-3.yml +++ b/profiles/(SQP) SQP-3.yml @@ -33,7 +33,6 @@ qualities: upgrade_until: name: WEB|Remux|2160p id: -1 - description: '' custom_formats: - name: DV HDR10Plus score: 1500 diff --git a/profiles/(SQP) SQP-4.yml b/profiles/(SQP) SQP-4.yml index d8d9ef3..6dc1fc5 100644 --- a/profiles/(SQP) SQP-4.yml +++ b/profiles/(SQP) SQP-4.yml @@ -31,7 +31,6 @@ qualities: upgrade_until: name: WEB|2160p id: -1 - description: '' custom_formats: - name: DV HDR10Plus score: 1500 diff --git a/profiles/(SQP) SQP-5.yml b/profiles/(SQP) SQP-5.yml index c8fd298..e544052 100644 --- a/profiles/(SQP) SQP-5.yml +++ b/profiles/(SQP) SQP-5.yml @@ -33,7 +33,6 @@ qualities: upgrade_until: name: WEBDL|Bluray|2160p id: -1 - description: '' custom_formats: - name: DV HDR10Plus score: 1500 diff --git a/scripts/utils/profiles.py b/scripts/utils/profiles.py index e6599e0..4eb6421 100644 --- a/scripts/utils/profiles.py +++ b/scripts/utils/profiles.py @@ -103,6 +103,8 @@ def get_upgrade_until(quality_name, profile_qualities): ) if found_quality: found_quality = found_quality.copy() + if not found_quality.get("description"): + found_quality.pop("description", None) found_quality.pop("qualities", None) return found_quality