Kometa-Team / Kometa

Python script to update metadata information for items in plex as well as automatically build collections and playlists. The Wiki Documentation is linked below.
https://kometa.wiki
MIT License
2.52k stars 307 forks source link

Edition overlay background overlaps resolution when back_color template variable is used #2108

Open Hydroptix opened 5 months ago

Hydroptix commented 5 months ago

Version Number

2.0.1-nightly1 (Docker)

What branch are you on?

nightly

Describe the Bug

When the back_color argument is specified, the background for the edition draws over the resolution section of the overlay.
image

Removing the back_color variable causes the overlay to render as expected.
image

Relevant Collection/Overlay/Playlist Definition

- pmm: resolution
      template_variables:
        back_color: '#202020ff'
        horizontal_align: left
        horizontal_offset: 0
        vertical_align: top
        vertical_offset: 0
        use_dvhdr: false
        use_1080p_dvhdr: false
        use_4k_dvhdr: false
        use_edition: true

Logs

No response

bambanah commented 3 months ago

I'm actually experiencing a very similar thing, except without back_color set.

image

overlay_files:
  - default: resolution
    template_variables:
      use_1080p: false
      use_720p: false
      use_576p: false
      use_480p: false
  - default: mediastinger
    template_variables:
      horizontal_align: left
      vertical_align: bottom
chazlarson commented 3 months ago

I'm actually experiencing a very similar thing, except without back_color set.

image

overlay_files:
  - default: resolution
    template_variables:
      use_1080p: false
      use_720p: false
      use_576p: false
      use_480p: false
  - default: mediastinger
    template_variables:
      horizontal_align: left
      vertical_align: bottom

I can't reproduce this using that config, at least not with non-HDR movies:

image

bambanah commented 3 months ago

Yeah, it only seems to happen with the 1080p DV+HDR/Extended combo. Everything else works as expected.

Edit: Seems to actually be any two-line edition. Here's a better example:

image

Edit 2: Another example with just dvhdrplus:

image

Stuke00 commented 1 month ago

Same thing happening to me.

image

overlay_files:
  • default: mediastinger
  • default: resolution template_variables: use_1080p: false horizontal_align: left vertical_align: bottom
  • default: ribbon template_variables: style: gray use_all: false

    use_imdb: true

    use_oscars: true use_golden: true use_emmys: true

    use_rotten: true

    use_metacritic: true use_razzie: true

  • default: ratings template_variables: rating1: critic rating1_image: rt_tomato horizontal_align: left horizontal_position: left vertical_align: top vertical_position: top