jmxd / Kometa

81 stars 6 forks source link

Kometa

Collection of my custom overlay builders for Kometa

audience_rating.yml

This file will create an overlay showing the current audience rating value in PLEX. Ratings of 8 or higher are green, 6 or higher are yellow and anything lower will be red.

media_info.yml

DV Atmos

This file can be used to create an overlay containing media info characteristics of your media. It comes with custom designed images for all combinations of supported formats. This way they can be displayed as one without forced spacing or repeating elements.

Below is an example of what this builder will create.

[!IMPORTANT] For this template to work correctly you MUST use the TRaSH naming convention for your file names.

https://trash-guides.info/Radarr/Radarr-recommended-naming-scheme/#plex

Overlay Example

Currently supported overlay images in all combinations:

Resolutions Editions Video Formats Audio Formats
2160p (4K) Anniversary Edition HDR Dolby Digital Plus
1080p (HD) Collector's Edition HDR10+ DTS-HD MA
Director's Cut Dolby Vision DTS-X
Extended Cut Dolby Vision + HDR Dolby Atmos
Extended Edition Dolby Vision + HDR10+ Dolby TrueHD
IMAX / (Enhanced) Dolby TrueHD Atmos
Minus Color
Special Edition
Unrated Edition
... & more

[!NOTE] Only "High Quality" formats are intended to be supported.

Dolby Vision with HDR/HDR10+ fallback support is correctly detected and matched separately from exclusive DV, but only Dolby Vision will be visibly shown for those files. See examples at the bottom for an alternative option.

Available template variables:


Exclusive use

video_only audio_only resolution_only edition_only

Set to true to only apply this specific type of overlay.

Disable specific overlays

use_<<type>> e.g. use_audio

Set to false to disable this type of overlay (combined, video, audio, resolution, edition)

[!IMPORTANT] To disable audio or video you must set use_combined to false as well.

use_gradient_top use_gradient_bottom

Set to false to disable the backdrops

Any standard template variables are available as well, such as builder_level

Examples

Use it as intended

overlay_files:
  - file: config/overlays/media_info.yml
  - file: config/overlays/audience_rating.yml

Disable audio

overlay_files:
  - file: config/overlays/media_info.yml
    template_variables:
      use_combined: false
      use_audio: false
  - file: config/overlays/audience_rating.yml

Only apply video formats and change the images for these two overlays to also show the fallback format. Then, only show audio, and move it to the right

overlay_files:
  - file: config/overlays/media_info.yml
    template_variables:
      builder_level: episode
      video_only: true
      use_gradient_top: false
      file_DV-HDR: config/overlays/images/media_info/codec/DV-HDR_extended.png
      file_DV-Plus: config/overlays/images/media_info/codec/DV-Plus_extended.png
  - file: config/overlays/media_info.yml
    template_variables:
      builder_level: episode
      audio_only: true
      use_gradient_top: false
      use_gradient_bottom: false
      horizontal_align: right

[!IMPORTANT] When running the overlay file multiple times on the same library like the above example, make sure to disable both gradients on subsequent uses or it will apply them again.


buymeacoffee.com/jmxd