mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 20:43:07 +00:00
[58] update resolution overlay
This commit is contained in:
parent
4bf40d0284
commit
ec5248963c
5 changed files with 68 additions and 63 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.17.3-develop57
|
||||
1.17.3-develop58
|
||||
|
|
|
@ -63,10 +63,30 @@ templates:
|
|||
conditions:
|
||||
- dovetail: true
|
||||
value: 99
|
||||
dovetail_overlay:
|
||||
suppress_overlays:
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value:
|
||||
- 4K-DV
|
||||
- 4K-HDR
|
||||
- 4K
|
||||
- 1080P-DV
|
||||
- 1080P-HDR
|
||||
- 1080P
|
||||
- 720P-DV
|
||||
- 720P-HDR
|
||||
- 720P
|
||||
- 576P-DV
|
||||
- 576P-HDR
|
||||
- 576P
|
||||
- 480P-DV
|
||||
- 480P-HDR
|
||||
- 480P
|
||||
- DV
|
||||
- HDR
|
||||
- dovetail: false
|
||||
value: <<overlay_name>>-Dovetail
|
||||
value:
|
||||
- <<overlay_name>>-Dovetail
|
||||
back_width:
|
||||
conditions:
|
||||
- dovetail: false
|
||||
|
@ -89,25 +109,7 @@ templates:
|
|||
collection_level: <<overlay_level>>
|
||||
allowed_library_types: <<use_<<slug>>>>
|
||||
ignore_blank_results: true
|
||||
suppress_overlays:
|
||||
- 4K-DV
|
||||
- 4K-HDR
|
||||
- 4K
|
||||
- 1080P-DV
|
||||
- 1080P-HDR
|
||||
- 1080P
|
||||
- 720P-DV
|
||||
- 720P-HDR
|
||||
- 720P
|
||||
- 576P-DV
|
||||
- 576P-HDR
|
||||
- 576P
|
||||
- 480P-DV
|
||||
- 480P-HDR
|
||||
- 480P
|
||||
- DV
|
||||
- HDR
|
||||
- <<dovetail_overlay>>
|
||||
suppress_overlays: <<suppress_overlays>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: edition/<<slug>>
|
||||
|
|
|
@ -37,10 +37,28 @@ templates:
|
|||
conditions:
|
||||
- dovetail: true
|
||||
value: 189
|
||||
dovetail_overlay:
|
||||
suppress_overlays:
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value:
|
||||
- Directors-Cut
|
||||
- Extended-Edition
|
||||
- Uncut-Edition
|
||||
- Unrated-Edition
|
||||
- Special-Edition
|
||||
- Final-Cut
|
||||
- Anniversary-Edition
|
||||
- Collectors-Edition
|
||||
- International-Cut
|
||||
- Theatrical-Cut
|
||||
- Ultimate-Cut
|
||||
- IMAX-E
|
||||
- IMAX
|
||||
- Remastered
|
||||
- Criterion
|
||||
- dovetail: false
|
||||
value: <<overlay_name>>-Dovetail
|
||||
value:
|
||||
- <<overlay_name>>-Dovetail
|
||||
optional:
|
||||
- overlay_level
|
||||
- use_<<resolution>>
|
||||
|
@ -61,23 +79,7 @@ templates:
|
|||
allowed_library_types:
|
||||
- <<use_<<resolution>>>>
|
||||
- <<use_<<alt>>>>
|
||||
suppress_overlays:
|
||||
- Directors-Cut
|
||||
- Extended-Edition
|
||||
- Uncut-Edition
|
||||
- Unrated-Edition
|
||||
- Special-Edition
|
||||
- Final-Cut
|
||||
- Anniversary-Edition
|
||||
- Collectors-Edition
|
||||
- International-Cut
|
||||
- Theatrical-Cut
|
||||
- Ultimate-Cut
|
||||
- IMAX-E
|
||||
- IMAX
|
||||
- Remastered
|
||||
- Criterion
|
||||
- <<dovetail_overlay>>
|
||||
suppress_overlays: <<suppress_overlays>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: resolution/<<resolution>><<alt>>
|
||||
|
|
|
@ -63,10 +63,30 @@ templates:
|
|||
conditions:
|
||||
- dovetail: true
|
||||
value: 99
|
||||
dovetail_overlay:
|
||||
suppress_overlays:
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value:
|
||||
- 4K-DV
|
||||
- 4K-HDR
|
||||
- 4K
|
||||
- 1080P-DV
|
||||
- 1080P-HDR
|
||||
- 1080P
|
||||
- 720P-DV
|
||||
- 720P-HDR
|
||||
- 720P
|
||||
- 576P-DV
|
||||
- 576P-HDR
|
||||
- 576P
|
||||
- 480P-DV
|
||||
- 480P-HDR
|
||||
- 480P
|
||||
- DV
|
||||
- HDR
|
||||
- dovetail: false
|
||||
value: <<overlay_name>>-Dovetail
|
||||
value:
|
||||
- <<overlay_name>>-Dovetail
|
||||
back_width:
|
||||
conditions:
|
||||
- dovetail: false
|
||||
|
@ -89,25 +109,7 @@ templates:
|
|||
collection_level: <<overlay_level>>
|
||||
allowed_library_types: <<use_<<slug>>>>
|
||||
ignore_blank_results: true
|
||||
suppress_overlays:
|
||||
- 4K-DV
|
||||
- 4K-HDR
|
||||
- 4K
|
||||
- 1080P-DV
|
||||
- 1080P-HDR
|
||||
- 1080P
|
||||
- 720P-DV
|
||||
- 720P-HDR
|
||||
- 720P
|
||||
- 576P-DV
|
||||
- 576P-HDR
|
||||
- 576P
|
||||
- 480P-DV
|
||||
- 480P-HDR
|
||||
- 480P
|
||||
- DV
|
||||
- HDR
|
||||
- <<dovetail_overlay>>
|
||||
suppress_overlays: <<suppress_overlays>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: edition/<<slug>>
|
||||
|
|
|
@ -230,7 +230,6 @@ class Overlay:
|
|||
if not temp_path.endswith(".png"):
|
||||
temp_path = f"{temp_path}.png"
|
||||
images_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "defaults", "overlays", "images")
|
||||
logger.debug(os.path.abspath(os.path.join(images_path, temp_path)))
|
||||
if not os.path.exists(os.path.abspath(os.path.join(images_path, temp_path))):
|
||||
raise Failed(f"Overlay Error: Overlay Image not found at: {os.path.abspath(os.path.join(images_path, temp_path))}")
|
||||
self.path = os.path.abspath(os.path.join(images_path, temp_path))
|
||||
|
|
Loading…
Reference in a new issue