Remove description if there is none for upgrade_until
This commit is contained in:
parent
079e77a882
commit
67b2984f91
17 changed files with 2 additions and 16 deletions
|
|
@ -58,7 +58,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Remux 1080p
|
name: Remux 1080p
|
||||||
id: -4
|
id: -4
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: Anime BD Tier 01 (Top SeaDex Muxers)
|
- name: Anime BD Tier 01 (Top SeaDex Muxers)
|
||||||
score: 1400
|
score: 1400
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Bluray|WEB 1080p
|
name: Bluray|WEB 1080p
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: 'Language: Not Original'
|
- name: 'Language: Not Original'
|
||||||
score: -10000
|
score: -10000
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Bluray|WEB 2160p
|
name: Bluray|WEB 2160p
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: 'Language: Not Original'
|
- name: 'Language: Not Original'
|
||||||
score: -10000
|
score: -10000
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Merged QPs
|
name: Merged QPs
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: German 1080p Booster
|
- name: German 1080p Booster
|
||||||
score: 650
|
score: 650
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Merged QPs
|
name: Merged QPs
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: German 1080p Booster
|
- name: German 1080p Booster
|
||||||
score: 650
|
score: 650
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Merged QPs
|
name: Merged QPs
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: German 1080p Booster
|
- name: German 1080p Booster
|
||||||
score: 650
|
score: 650
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Merged QPs
|
name: Merged QPs
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: German 1080p Booster
|
- name: German 1080p Booster
|
||||||
score: 650
|
score: 650
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Merged QPs
|
name: Merged QPs
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: German 1080p Booster
|
- name: German 1080p Booster
|
||||||
score: 650
|
score: 650
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Bluray|WEB-1080p
|
name: Bluray|WEB-1080p
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: TrueHD ATMOS
|
- name: TrueHD ATMOS
|
||||||
score: -10000
|
score: -10000
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Bluray|WEB-1080p
|
name: Bluray|WEB-1080p
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: TrueHD ATMOS
|
- name: TrueHD ATMOS
|
||||||
score: -10000
|
score: -10000
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: Bluray|WEB-2160p
|
name: Bluray|WEB-2160p
|
||||||
id: -2
|
id: -2
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: TrueHD ATMOS
|
- name: TrueHD ATMOS
|
||||||
score: -10000
|
score: -10000
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: WEB|Remux|Bluray|2160p
|
name: WEB|Remux|Bluray|2160p
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: DV HDR10Plus
|
- name: DV HDR10Plus
|
||||||
score: 1500
|
score: 1500
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: WEB|Remux|2160p
|
name: WEB|Remux|2160p
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: TrueHD Atmos
|
- name: TrueHD Atmos
|
||||||
score: 5000
|
score: 5000
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: WEB|Remux|2160p
|
name: WEB|Remux|2160p
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: DV HDR10Plus
|
- name: DV HDR10Plus
|
||||||
score: 1500
|
score: 1500
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: WEB|2160p
|
name: WEB|2160p
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: DV HDR10Plus
|
- name: DV HDR10Plus
|
||||||
score: 1500
|
score: 1500
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ qualities:
|
||||||
upgrade_until:
|
upgrade_until:
|
||||||
name: WEBDL|Bluray|2160p
|
name: WEBDL|Bluray|2160p
|
||||||
id: -1
|
id: -1
|
||||||
description: ''
|
|
||||||
custom_formats:
|
custom_formats:
|
||||||
- name: DV HDR10Plus
|
- name: DV HDR10Plus
|
||||||
score: 1500
|
score: 1500
|
||||||
|
|
|
||||||
|
|
@ -103,6 +103,8 @@ def get_upgrade_until(quality_name, profile_qualities):
|
||||||
)
|
)
|
||||||
if found_quality:
|
if found_quality:
|
||||||
found_quality = found_quality.copy()
|
found_quality = found_quality.copy()
|
||||||
|
if not found_quality.get("description"):
|
||||||
|
found_quality.pop("description", None)
|
||||||
found_quality.pop("qualities", None)
|
found_quality.pop("qualities", None)
|
||||||
return found_quality
|
return found_quality
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue