Skip to content

Commit

Permalink
fix for reapply_overlays and builder_level
Browse files Browse the repository at this point in the history
  • Loading branch information
bullmoose20 committed Oct 25, 2023
1 parent b79ac02 commit 9a50451
Show file tree
Hide file tree
Showing 6 changed files with 252 additions and 48 deletions.
6 changes: 3 additions & 3 deletions defaults/overlays/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ external_templates:
conditions:
- builder_level: episode
value: center
- overlay_level: episode
- builder_level: episode
value: center
vertical_offset:
default: 15
Expand All @@ -26,7 +26,7 @@ external_templates:
builder_level.not: episode
value: 1060
- vertical_align.exists: false
overlay_level.not: episode
builder_level.not: episode
value: 1060
- vertical_align: center
value: 0
Expand All @@ -41,7 +41,7 @@ external_templates:
builder_level: episode
value: 235
- horizontal_align.exists: false
overlay_level: episode
builder_level: episode
value: 235
- horizontal_align: center
value: 0
Expand Down
16 changes: 8 additions & 8 deletions docs/defaults/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ libraries:
- pmm: universe # Marvel Cinematic Universe, Wizarding World, etc.
overlay_path:
- remove_overlays: false # Set to true if you want to remove overlays
# - reapply_overlay: false # If you are doing a lot of testing and changes like me, keep this to true to always reapply overlays - can cause image bloat
# - reapply_overlays: false # If you are doing a lot of testing and changes like me, keep this to true to always reapply overlays - can cause image bloat
# - reset_overlays: tmdb # if you want to reset the poster to default poster from tmdb - can cause image bloat
- pmm: audio_codec # FLAC, DTS-X, TrueHD, etc. style: standard/compact. compact is default
- pmm: resolution # 4K HDR, 1080P FHD, etc.
Expand Down Expand Up @@ -99,32 +99,32 @@ libraries:
originals_only: true # Only create collections for Original Content (i.e. Netflix Originals)
overlay_path:
- remove_overlays: false # Set to true if you want to remove overlays
# - reapply_overlay: false # If you are doing a lot of testing and changes like me, keep this to true to always reapply overlays - can cause image bloat
# - reapply_overlays: false # If you are doing a lot of testing and changes like me, keep this to true to always reapply overlays - can cause image bloat
# - reset_overlays: tmdb # if you want to reset the poster to default poster from tmdb - can cause image bloat
- pmm: audio_codec # FLAC, DTS-X, TrueHD, etc. on show and episode
- pmm: audio_codec
template_variables:
overlay_level: episode
builder_level: episode
- pmm: episode_info # S##E## information in bottom right on episode
template_variables:
overlay_level: episode
builder_level: episode
- pmm: resolution # 4K HDR, 1080P FHD, etc. on show, episode, and season
- pmm: resolution
template_variables:
overlay_level: episode
builder_level: episode
- pmm: resolution
template_variables:
overlay_level: season
builder_level: season
- pmm: ribbon # Used for ribbon in bottom right on show
- pmm: status # Airing, Returning, Ended, Canceled on show
- pmm: versions # Will show duplicates for that media item on show and episode
- pmm: versions
template_variables:
overlay_level: episode
builder_level: episode
- pmm: video_format # Remux, DVD, Blu-Ray, etc. in bottom left on show, episode, and season
- pmm: video_format
template_variables:
overlay_level: episode
builder_level: episode
settings:
asset_directory:
- config/assets
Expand Down
2 changes: 1 addition & 1 deletion docs/defaults/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ libraries:
overlay_path:
- pmm: ratings
template_variables:
overlay_level: episode
builder_level: episode
```

Each file has a page on the wiki showing the available `template_variables` for each file. For example the default `pmm: ratings` has a page [here](overlays/ratings).
Expand Down
28 changes: 14 additions & 14 deletions docs/defaults/overlays.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ libraries:
Movies:
overlay_path:
- remove_overlays: false
- reapply_overlay: true
- reapply_overlays: true
- pmm: resolution # 1, 4
- pmm: audio_codec # 2
- pmm: mediastinger # 3
Expand Down Expand Up @@ -80,7 +80,7 @@ libraries:
TV Shows:
overlay_path:
- remove_overlays: false
- reapply_overlay: true
- reapply_overlays: true
- pmm: resolution # 1
- pmm: audio_codec # 2
- pmm: mediastinger # 3
Expand Down Expand Up @@ -123,16 +123,16 @@ libraries:
TV Shows:
overlay_path:
- remove_overlays: false
- reapply_overlay: true
- reapply_overlays: true
- pmm: resolution # 1
template_variables:
overlay_level: season
builder_level: season
- pmm: audio_codec # 2
template_variables:
overlay_level: season
builder_level: season
- pmm: video_format # 3
template_variables:
overlay_level: season
builder_level: season
```
</details>
Expand All @@ -149,13 +149,13 @@ libraries:
TV Shows:
overlay_path:
- remove_overlays: false
- reapply_overlay: true
- reapply_overlays: true
- pmm: resolution # 1
template_variables:
overlay_level: episode
builder_level: episode
- pmm: audio_codec # 2
template_variables:
overlay_level: episode
builder_level: episode
- pmm: ratings # 3, 4
template_variables:

Expand All @@ -170,16 +170,16 @@ libraries:
rating2_font_size: 70 # 4 adjusted font size to fit rating

horizontal_position: right # the set of ratings is on the right of the poster
overlay_level: episode
builder_level: episode
- pmm: video_format # 5
template_variables:
overlay_level: episode
builder_level: episode
- pmm: episode_info # 6
template_variables:
overlay_level: episode
builder_level: episode
- pmm: runtimes # 7
template_variables:
overlay_level: episode
builder_level: episode

operations:
mass_episode_critic_rating_update: imdb # 3 This operation will update the episodes critic rating in plex with IMDb ratings information
Expand Down Expand Up @@ -223,7 +223,7 @@ libraries:
overlay_path:
- pmm: ratings
template_variables:
overlay_level: episode
builder_level: episode
```

Each file has a page on the wiki showing the available `template_variables` for each file. For example the default `pmm: ratings` has a page [here](overlays/ratings).
Expand Down
4 changes: 2 additions & 2 deletions docs/defaults/overlays/aspect.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ libraries:
- pmm: aspect
- pmm: aspect
template_variables:
overlay_level: episode
builder_level: episode
- pmm: aspect
template_variables:
overlay_level: season
builder_level: season
```
## Template Variables
Expand Down
Loading

0 comments on commit 9a50451

Please sign in to comment.