Plex-Meta-Manager/docs/config/playlists.md

46 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2023-12-31 16:45:00 +00:00
# Playlist Files Attribute
2022-10-29 15:59:01 +00:00
2023-12-31 16:45:00 +00:00
As playlists are not tied to one specific library and can combine media from multiple libraries, they require their own
special [Playlist Files](../files/playlists.md) to work.
2022-10-29 15:59:01 +00:00
2023-12-31 16:45:00 +00:00
Within the [Configuration File](overview.md), the `playlist_files` attribute specifies the
2024-04-22 14:20:12 +00:00
[File Blocks](../config/files.md#blocks) of the [Playlist Files](../files/playlists.md) that the user wants Kometa to
act on.
2022-10-29 15:59:01 +00:00
2023-12-31 16:45:00 +00:00
**The libraries used in the playlist attribute `libraries` must be defined under the `libraries` attribute of the
[Configuration File](overview.md).**
2022-10-29 15:59:01 +00:00
```yaml
playlist_files:
- file: config/playlists.yml
2024-04-22 14:20:12 +00:00
- default: playlist
2022-10-29 15:59:01 +00:00
```
2023-12-31 16:45:00 +00:00
???+ example "Example"
2022-10-29 15:59:01 +00:00
2023-12-31 16:45:00 +00:00
This example is an advanced version of the playlist mappings with accompanying library mappings:
2022-10-29 15:59:01 +00:00
2023-12-31 16:45:00 +00:00
```yaml
libraries:
Movies:
collection_files:
- file: config/Movies.yml
2024-04-22 14:20:12 +00:00
- default: imdb
- default: studio
- default: genre
- default: actor
2023-12-31 16:45:00 +00:00
operations:
mass_critic_rating_update: tmdb
split_duplicates: true
TV Shows:
collection_files:
- file: config/TV Shows.yml
2024-04-22 14:20:12 +00:00
- default: tmdb
- default: network
2023-12-31 16:45:00 +00:00
remove_overlays: false
overlay_files:
- file: config/Overlays.yml
playlist_files:
- file: config/playlists.yml
2024-04-22 14:20:12 +00:00
- default: playlist
2023-12-31 16:45:00 +00:00
```