#############################################################
#               Streaming Service Collections               #
#         Created by Yozora, Bullmoose20, & Sohjiro         #
#############################################################
#  Call this from your config.yml (Movie or Show)           #
#  If nothing is specified these are the defaults           #
#                                                           #
#    metadata_path:                                         #
#      - git: PMM/streaming                                 #
#        template_variables:                                #
#          # Turn the separator collection on/off           #
#          use_separator: true                              #
#          # Separator style (red, blue, green, gray,       #
#              purple, stb, orig)                           #
#          sep_style: orig                                  #
#          # Sets how the collection is sorted              #
#          sort_by: release.desc                            #
#          # Sets the collection mode of the collection     #
#          collection_mode:                                 #
#          # Sets the value at the start of the sort title  #
#          collection_section: "03"                         #
#                                                           #
#          # For each collection use the "key" to set       #
#          # the options.                                   #
#          # Available collections                          #
#          #   KEY              COLLECTION                  #
#          #   all4             All 4                       #
#          #   appletv          Apple TV+                   #
#          #   bet              BET+                        #
#          #   britbox          BritBox                     #
#          #   disney           Disney+                     #
#          #   hayu             hayu                        #
#          #   hbomax           HBO Max                     #
#          #   hulu             Hulu                        #
#          #   netflix          Netflix                     #
#          #   now              NOW                         #
#          #   paramount        Paramount+                  #
#          #   peacock          Peacock                     #
#          #   amazon           Prime Video                 #
#                                                           #
#          # Available options. Replace "key" with the      #
#          # desired collection's key from the chart above. #
#                                                           #
#          # Turn the collection on/off                     #
#          use_key: true                                    #
#          # Determines collection order in its section     #
#          order_key:                                       #
#          # Determines collection order of the collection  #
#          collection_order_key: custom                     #
#          # Set visible_library for the collection         #
#          visible_library_key:                             #
#          # Set visible_home for the collection            #
#          visible_home_key:                                #
#          # Set visible_shared for the collection          #
#          visible_shared_key:                              #
#          # Adds missing from the collection to radarr     #
#          radarr_add_missing_key:                          #
#          # Adds missing from the collection to sonarr     #
#          sonarr_add_missing_key:                          #
#          # Radarr Folder to add to                        #
#          radarr_folder_key:                               #
#          # Sonarr Folder to add to                        #
#          sonarr_folder_key:                               #
#          # Radarr Tag for added missing                   #
#          radarr_tag_key:                                  #
#          # Sonarr Tag for added missing                   #
#          sonarr_tag_key:                                  #
#          # Radarr Tag for existing items                  #
#          item_radarr_tag_key:                             #
#          # Sonarr Tag for existing items                  #
#          item_sonarr_tag_key:                             #
#############################################################

external_templates:
  git: PMM/templates
  template_variables:
    collection_section: "03"

templates:
  streaming:
    default:
      sort_by: release.desc
      sort_by_<<key>>: <<sort_by>>
    ignore_blank_results: true
    cache_builders: 1
    smart_label: <<sort_by_<<key>>>>
    sync_mode: sync
    mdblist_list: https://mdblist.com/lists/plexmetamanager/<<key>>-<<library_type>>s
    url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/streaming/<<key_name_encoded>>.jpg

collections:
  Streaming Collections:
    template:
      - name: separator
        separator: streaming

dynamic_collections:
  Streaming:
    type: custom
    data:
      appletv: Apple TV+
      disney: Disney+
      hbomax: HBO Max
      hulu: Hulu
      netflix: Netflix
      paramount: Paramount+
      peacock: Peacock
      amazon: Prime Video
      youtube: YouTube
    title_format: <<key_name>> <<library_type>>s
    template_variables:
      use:
        hayu: show
    template:
      - streaming
      - shared
      - arr