############################################################# # Audio Codec Overlays # # 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/audio_codec # # 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: 15 # # # Set the vertical align for the overlay # # vertical_align: top # # # # # Use the Opus overlay # # Opus: true # # # Use the Dolby-Digital overlay # # Dolby-Digital: true # # # Use the DTS overlay # # DTS: true # # # Use the DTS-ES overlay # # DTS-ES: true # # # Use the DTS-HD overlay # # DTS-HD: true # # # Use the Dolby-TrueHD overlay # # Dolby-TrueHD: true # # # Use the Dolby-Digital-Plus overlay # # Dolby-Digital-Plus: true # # # Use the Dolby-Atmos overlay # # Dolby-Atmos: true # # # Use the DTS-X overlay # # DTS-X: true # ############################################################# templates: AudioCodec: optional: - overlay_level default: overlay: <> horizontal_offset: 0 horizontal_align: center vertical_offset: 15 vertical_align: top collection_level: <> overlay: name: <> git: PMM/overlays/images/<> group: audio_codec weight: <> horizontal_offset: <> horizontal_align: <> vertical_offset: <> vertical_align: <> Opus: default: Opus: true allowed_library_types: <> Dolby-Digital: default: Dolby-Digital: true allowed_library_types: <> DTS: default: DTS: true allowed_library_types: <> DTS-ES: default: DTS-ES: true allowed_library_types: <> DTS-HD: default: DTS-HD: true allowed_library_types: <> Dolby-TrueHD: default: Dolby-TrueHD: true allowed_library_types: <> Dolby-Digital-Plus: default: Dolby-Digital-Plus: true allowed_library_types: <> Dolby-Atmos: default: Dolby-Atmos: true allowed_library_types: <> DTS-X: default: DTS-X: true allowed_library_types: <> overlays: Opus: template: - name: AudioCodec weight: 5 - name: Opus plex_all: true filters: audio_track_title.regex: '(?i)\bOPUS(\b|\d)' Opus-Filepath: template: - name: AudioCodec overlay: Opus weight: 5 - name: Opus plex_all: true filters: filepath.regex: '(?i)\bOPUS(\b|\d)' Dolby-Digital: template: - name: AudioCodec weight: 10 - name: Dolby-Digital plex_all: true filters: audio_track_title.regex: - '(?i)\bDD[^a-z+]|(?