# This file is a template remove the .template to use the file

libraries:                                        # Library mappings must have a colon (:) placed after them
  Movies:
    report_path: config/missing/Movies_missing.yml
    template_variables:
      sep_style: gray
      collection_mode: hide
      language: default                     # could be default, de, fr or another 2 digit lang code that we have tranlsated
    metadata_path:
    - pmm: bafta
      template_variables:
        data:
          starting: 2014
          ending: current_year
    - pmm: cannes
      template_variables:
        data:
          starting: 2016
          ending: current_year
    - pmm: choice
      template_variables:
        data:
          starting: 2014
          ending: current_year
    - pmm: golden
      template_variables:
        data:
          starting: 1943
          ending: current_year
    - pmm: oscars
      template_variables:
        data:
          starting: 1927
          ending: current_year
    - pmm: other_award
    - pmm: spirit
      template_variables:
        data:
          starting: 2014
          ending: current_year
    - pmm: sundance
      template_variables:
        data:
          starting: 2010
          ending: current_year
    - pmm: anilist
    - pmm: imdb
    - pmm: myanimelist
    - pmm: other_chart
    - pmm: tautulli
    - pmm: tmdb
    - pmm: trakt
    - pmm: flixpatrol
    - pmm: basic          # Keep this as the last chart item so that collection_mode: hide works properly on library tab for CHART COLLECTION
    - pmm: actor
      template_variables:
        style: bw
        data:
          depth: 1
          limit: 15
    - pmm: director
      template_variables:
        style: bw
        data:
          depth: 1
          limit: 15
    - pmm: producer
      template_variables:
        exclude:
        - Jeremy Kleiner
        - Thomas Hayslip
        style: bw
        data:
          depth: 1
          limit: 15
    - pmm: writer
      template_variables:
        style: bw
        data:
          depth: 1
          limit: 15
    - pmm: audio_language
    - pmm: content_rating_cs                 # Choose content_rating_uk, content_rating_us, or content_rating_cs
    - pmm: genre
    - pmm: resolution_standards              # Choose resolution_standards or resolution
    - pmm: studio
    - pmm: subtitle_language
    - pmm: year
      template_variables:
        data:
          starting: 1880
          ending: current_year
    - pmm: country
    - pmm: decade
    # - pmm: franchise
      # template_variables:
        # minimum_items: 2
        # delete_below_minimum: true    
    - pmm: seasonal
      template_variables:
        schedule_independence: daily
        schedule_easter: daily
        schedule_valentine: daily
        schedule_patrick: daily
        schedule_thanksgiving: range(10/01-10/31)
        schedule_halloween: daily
        schedule_christmas: daily
        schedule_years: daily
        schedule_mother: daily
        schedule_memorial: daily
        schedule_father: daily
        schedule_labor: daily
    - pmm: streaming
    - pmm: universe
    overlay_path:
    - remove_overlays: false
    - reapply_overlay: true
    - pmm: audio_codec
      # template_variables:
        # style: standard
    - pmm: audio_language
    - pmm: commonsense
    # - pmm: direct_play
    - pmm: edition
    - pmm: flixpatrol
      template_variables:
        flixpatrol_position: left
        time_window: this_year
    - pmm: mediastinger
    - pmm: ratings
      template_variables:
        rating1: user
        rating1_image: rt_tomato
        rating1_font: config/metadata/overlays/fonts/Adlib.ttf
        rating1_font_size: 63

        rating2: critic
        rating2_image: imdb
        rating2_font: config/metadata/overlays/fonts/Impact.ttf
        rating2_font_size: 70

        rating3: audience
        rating3_image: tmdb
        rating3_font: config/metadata/overlays/fonts/Avenir_95_Black.ttf
        rating3_font_size: 70

        horizontal_position: right

        # rating_source: Anidb
        # font: config/metadata/overlays/fonts/Handel Gothic ITC W01 Heavy.ttf
        # rating_source: IMDb
        # font: config/metadata/overlays/fonts/Impact.ttf
        # rating_source: Letterboxd
        # font: config/metadata/overlays/fonts/HelveticaNowDisplay-ExtBlk.ttf
        # rating_source: Metacritic
        # font: config/metadata/overlays/fonts/Myriad Bold.otf
        # rating_source: TMDb
        # font: config/metadata/overlays/fonts/Avenir_95_Black.ttf
        # rating_source: Trakt
        # font: config/metadata/overlays/fonts/Claspo-ND-Medium.ttf
        # rating_source: Rotten
        # font: config/metadata/overlays/fonts/Adlib.ttf
    - pmm: resolution
    - pmm: ribbon
    - pmm: special_release
    - pmm: streaming
    - pmm: versions
    - pmm: video_format
    settings:
      asset_directory:
      - config/assets

    operations:
      split_duplicates: false
      assets_for_all: false
      delete_unmanaged_collections: true
      mass_user_rating_update: mdb_tomatoes
      mass_critic_rating_update: imdb
      mass_audience_rating_update: tmdb
      mass_genre_update: tmdb
      mass_content_rating_update: mdb_commonsense
      mass_originally_available_update: tmdb
      mass_imdb_parental_labels: without_none

  TV Shows:
    report_path: config/missing/TV_missing.yml
    template_variables:
      sep_style: gray
      collection_mode: hide
      language: default                     # could be default, de, fr or another 2 digit lang code that we have tranlsated
    metadata_path:
    - pmm: choice
      template_variables:
        data:
          starting: 2014
          ending: current_year
    - pmm: golden
      template_variables:
        data:
          starting: 1943
          ending: current_year
    - pmm: emmy
      template_variables:
        data:
          starting: 1947
          ending: current_year
    - pmm: anilist
    - pmm: imdb
    - pmm: myanimelist
    - pmm: other_chart
    - pmm: tautulli
    - pmm: tmdb
    - pmm: trakt
    - pmm: flixpatrol
    - pmm: basic          # Keep this as the last chart item so that collection_mode: hide works properly on library tab for CHART COLLECTION
    - pmm: actor
      template_variables:
        exclude:
        - Macy Nyman
        style: bw
        data:
          depth: 1
          limit: 15
    - pmm: audio_language
    - pmm: content_rating_cs                 # Choose content_rating_uk, content_rating_us, or content_rating_cs
    - pmm: genre
    - pmm: resolution_standards              # Choose resolution_standards or resolution
    - pmm: studio
    - pmm: subtitle_language
    - pmm: year
      template_variables:
        data:
          starting: 1880
          ending: current_year
    - pmm: country
    - pmm: decade
    - pmm: franchise
    - pmm: network
    - pmm: streaming
    overlay_path:
    - remove_overlays: false
    - reapply_overlay: true
    - pmm: audio_codec
    - pmm: audio_codec
      template_variables:
        overlay_level: episode
    - pmm: audio_codec
      template_variables:
        overlay_level: season
    - pmm: audio_language
    - pmm: audio_language
      template_variables:
        overlay_level: episode
    - pmm: audio_language
      template_variables:
        overlay_level: season
    - pmm: commonsense
    - pmm: commonsense
      template_variables:
        overlay_level: episode
    - pmm: commonsense
      template_variables:
        overlay_level: season
   # - pmm: direct_play
    # - pmm: direct_play
      # template_variables:
        # overlay_level: episode
    # - pmm: direct_play
      # template_variables:
        # overlay_level: season
    - pmm: edition
    - pmm: edition
      template_variables:
        overlay_level: season
    - pmm: edition
      template_variables:
        overlay_level: episode
    - pmm: episode_info
      template_variables:
        overlay_level: episode
    - pmm: flixpatrol
      template_variables:
        flixpatrol_position: left
        time_window: this_year
    - pmm: mediastinger
    - pmm: ratings
      template_variables:
        rating1: user
        rating1_image: rt_tomato
        rating1_font: config/metadata/overlays/fonts/Adlib.ttf
        rating1_font_size: 63

        rating2: critic
        rating2_image: imdb
        rating2_font: config/metadata/overlays/fonts/Impact.ttf
        rating2_font_size: 70

        rating3: audience
        rating3_image: tmdb
        rating3_font: config/metadata/overlays/fonts/Avenir_95_Black.ttf
        rating3_font_size: 70

        horizontal_position: right
    - pmm: ratings
      template_variables:
        # rating1: user
        # rating1_image: rt_tomato
        # rating1_font: config/metadata/overlays/fonts/Adlib.ttf
        # rating1_font_size: 63

        rating1: critic
        rating1_image: imdb
        rating1_font: config/metadata/overlays/fonts/Impact.ttf
        rating1_font_size: 70

        rating2: audience
        rating2_image: tmdb
        rating2_font: config/metadata/overlays/fonts/Avenir_95_Black.ttf
        rating2_font_size: 70

        horizontal_position: right
        overlay_level: episode
    - pmm: resolution
    - pmm: resolution
      template_variables:
        overlay_level: episode
    - pmm: resolution
      template_variables:
        overlay_level: season
    - pmm: ribbon
    - pmm: ribbon
      template_variables:
        overlay_level: season
    - pmm: runtimes
      template_variables:
        overlay_level: episode
    - pmm: special_release
    - pmm: special_release
      template_variables:
        overlay_level: episode
    - pmm: special_release
      template_variables:
        overlay_level: season
    - pmm: status
      # template_variables:
        # last: 110
    - pmm: streaming
    - pmm: streaming
      template_variables:
        overlay_level: episode
    - pmm: streaming
      template_variables:
        overlay_level: season
    - pmm: versions
      template_variables:
        overlay_level: episode
    - pmm: versions
      template_variables:
        overlay_level: season
    - pmm: versions
      template_variables:
        overlay_level: show
    - pmm: video_format
    - pmm: video_format
      template_variables:
        overlay_level: episode
    - pmm: video_format
      template_variables:
        overlay_level: season
    settings:
      asset_directory:
      - config/assets

    operations:
      split_duplicates: false
      assets_for_all: false
      delete_unmanaged_collections: true
      mass_critic_rating_update: imdb
      mass_audience_rating_update: tmdb
      mass_user_rating_update: mdb_tomatoes
      mass_episode_critic_rating_update: imdb
      mass_episode_audience_rating_update: tmdb
      mass_genre_update: tmdb
      mass_content_rating_update: mdb_commonsense
      mass_originally_available_update: tmdb
      mass_imdb_parental_labels: without_none
playlist_files:
- pmm: playlist
  template_variables:
    libraries: Movies, TV Shows
settings:                                       # Can be individually specified per library as well
  cache: true
  cache_expiration: 60
  asset_directory: config/assets
  missing_path: config/missing
  asset_folders: true
  asset_depth: 3
  create_asset_folders: false
  dimensional_asset_rename: false
  download_url_assets: true
  show_missing_season_assets: false
  show_missing_episode_assets: false
  show_asset_not_needed: true
  sync_mode: sync
  minimum_items: 1
  default_collection_order:
  delete_below_minimum: true
  delete_not_scheduled: false
  run_again_delay: 2
  missing_only_released: true
  only_filter_missing: false
  show_unmanaged: true
  show_filtered: true
  show_options: true
  show_missing: false
  show_missing_assets: false
  save_missing: false
  tvdb_language: eng
  ignore_ids:
  ignore_imdb_ids:
  check_nightly: true
  playlist_report: true
  prioritize_assets: false
  save_report: false
  item_refresh_delay: 0
  playlist_sync_to_users: all
  verify_ssl: true
  custom_git:
  custom_repo:
webhooks:                                       # Can be individually specified per library as well
  error: notifiarr
  run_start: notifiarr
  run_end: notifiarr
  changes:
  - notifiarr
  version:
plex:                                           # Can be individually specified per library as well; REQUIRED for the script to run
  url: (redacted)
  token: (redacted)
  timeout: 60
  clean_bundles: true
  empty_trash: true
  optimize: true
tmdb:                                           # REQUIRED for the script to run
  apikey: (redacted)
  language: en
  cache_expiration: 60
  region:
tautulli:                                       # Can be individually specified per library as well
  url: (redacted)
  apikey: (redacted)
omdb:
  apikey: (redacted)
  cache_expiration: 60
mdblist:
  apikey: (redacted)
  cache_expiration: 60
notifiarr:
  apikey: (redacted)
radarr:                                         # Can be individually specified per library as well
  url: (redacted)
  token: (redacted)
  root_folder_path: /data/media/movies
  monitor: true
  availability: announced
  quality_profile: Any
  tag: pmm
  search: false
  radarr_path:
  plex_path:
  add_existing: false
  add_missing: false
  upgrade_existing: false
sonarr:                                         # Can be individually specified per library as well
  url: (redacted)
  token: (redacted)
  root_folder_path: /data/media/tv
  monitor: all
  quality_profile: Any
  language_profile: English
  series_type: standard
  season_folder: true
  tag: pmm
  search: false
  cutoff_search: false
  sonarr_path:
  plex_path:
  add_existing: false
  add_missing: false
  upgrade_existing: false
############################################
trakt:
  client_id: (redacted)
  client_secret: (redacted)
  authorization:
    access_token: (redacted)
    token_type: Bearer
    expires_in: 7889237
    refresh_token: (redacted)
    scope: public
    created_at: 1658177504
  pin:
############################################      
mal:
  client_id: (redacted)
  client_secret: (redacted)
  authorization:
    access_token: (redacted)
    token_type: Bearer
    expires_in: 2678400
    refresh_token: (redacted)
  localhost_url:
  cache_expiration: 60
