Skip to content

Playlist Files Attribute

As playlists are not tied to one specific library and can combine media from multiple libraries, they require their own special Playlist Files to work.

Within the Configuration File, the playlist_files attribute specifies the File Blocks of the Playlist Files that the user wants Kometa to act on.

If a playlist defines the libraries attribute, those libraries must be defined under the libraries attribute of the Configuration File. If a playlist does not define libraries, Kometa uses every library processed as part of the run.

config.yml Playlists sample
playlist_files:
  - file: config/playlists.yml
  - default: playlist
Example

This example is an advanced version of the playlist mappings with accompanying library mappings:

libraries:
  Movies:
    collection_files:
      - file: config/Movies.yml
      - default: imdb
      - default: studio
      - default: genre
      - default: actor
    operations:
      mass_critic_rating_update: tmdb
      split_duplicates: true
  TV Shows:
    collection_files:
      - file: config/TV Shows.yml
      - default: tmdb
      - default: network
    remove_overlays: false
    overlay_files:
      - file: config/Overlays.yml
playlist_files:
  - file: config/playlists.yml
  - default: playlist