#Add 'year' to default overlays config

1 messages · Page 1 of 1 (latest)

near isle
#

Would be great to be able to add 'year' to a film, show, season, or episode overlay from the defaults

pastel bramble
#

you could likely already do this

#

we can make year collections already

#
collections:
  90s Movies:
    plex_search:
      any:
        year:
          - 1990
          - 1991
          - 1992
          - 1993
          - 1994
          - 1995
          - 1996
          - 1997
          - 1998
          - 1999
#

no reason that cant apply a text overlay

near isle
#

Oh, cool, so will I try running:

libraries:
  Films:
    overlay_files:
      Years:
        template_variables:
          horizontal_position: left
          horizontal_offset: 0
          vertical_position: top
          vertical_offset: 0
        plex_search:
          any:
            year:
              - 2024
              - 2023
              - ....
              - 1918
pastel bramble
#

that stuff doesnt go in the config file

near isle
#

Maybe this would work?

libraries:
  Films:
    overlay_files:
      - url: https://informationhandyman.com/2005/public/overlay_years.yml

...where the crucial aspects of the referenced overlay file are:

overlays: 
  year:
    overlay:
      name: text (<<originally_available[%Y]>>)
    plex_search: 
      any:
        year:
          - 1910
          - ...and so on...

Is that name: text (<<originally_available[%Y]>>) the correct syntax for making it dynamic?

Is the plex_search even needed when using the <<originally_available>> special text modifier, could I just replace it with plex_all: true?

near isle
#

Managed to get this:

overlays: 
  year:
    overlay:
      name: text(<<originally_available[%Y]>>)
      horizontal_offset: 20
      horizontal_align: left
      vertical_offset: 35
      vertical_align: top
      font_size: 63
      font_color: "#FFFFFF"
      back_color: "#00000099"
      back_radius: 30
      back_padding: 30
    plex_all: true

...to generate the attached poster. Just need to work on those offsets... \o/#