#############################################################
#                Direct Play Banner Overlay                 #
#         Created by Yozora, Bullmoose20, & Sohjiro         #
#            Credit to Magic815 for base images             #
#############################################################
#  Designed for TRaSH Guides filename naming scheme         #
#  https://trash-guides.info/                               #
#                                                           #
#  Call this from your config.yml (Movie or Show):          #
#  If nothing is specified these are the defaults           #
#                                                           #
#    overlay_path:                                          #
#      - git: PMM/overlays/direct_play                      #
#        template_variables:                                #
#          # Set episode or season to overlay               #
#          overlay_level:                                   #
#          # Set the horizontal offset for the overlay      #
#          horizontal_offset: 0                             #
#          # Set the horizontal align for the overlay       #
#          horizontal_align: center                         #
#          # Set the vertical offset for the overlay        #
#          vertical_offset: 150                             #
#          # Set the vertical align for the overlay         #
#          vertical_align: bottom                           #
#############################################################

templates:
  direct:
    optional:
      - overlay_level
    default:
      horizontal_offset: 0
      horizontal_align: center
      vertical_offset: 150
      vertical_align: bottom
      back_color: "#00000099"
      back_radius: 30
      back_width: 290
      back_height: 170
    collection_level: <<overlay_level>>
    overlay:
      name: Direct-Play
      pmm: Direct-Play
      horizontal_offset: <<horizontal_offset>>
      horizontal_align: <<horizontal_align>>
      vertical_offset: <<vertical_offset>>
      vertical_align: <<vertical_align>>
      back_color: <<back_color>>
      back_radius: <<back_radius>>
      back_width: <<back_width>>
      back_height: <<back_height>>

overlays:
  Direct Play:
    template:
      name: direct
    plex_search:
      any:
        resolution.regex: '(?i)2160|4k'