##############################################################################
#                            Direct Play Overlay                             #
#                 Created by Yozora, Bullmoose20, & Sohjiro                  #
#                     Credit to Magic815 for base images                     #
#          EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL           #
#   https://metamanager.wiki/en/latest/defaults/overlays/direct_play.html    #
##############################################################################

external_templates:
  pmm: templates
  template_variables:
    default:
      horizontal_align: center
      vertical_align: bottom
    conditionals:
      vertical_offset:
        default: 15
        conditions:
          - vertical_align.exists: false
            value: 150
          - vertical_align: center
            value: 0
          - vertical_align: top
            value: 15
          - vertical_align: bottom
            value: 30
      horizontal_offset:
        default: 15
        conditions:
          - horizontal_align: center
            value: 0
          - horizontal_align: [left, right]
            value: 15
    horizontal_offset: 0
    horizontal_align: center
    back_color: "#00000099"
    back_width: 305
    back_height: 170
    pmm: <<overlay_name>>

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