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

43 lines
1.3 KiB
Markdown
Raw Normal View History

2023-12-31 16:45:00 +00:00
# Playlist Files Attributes
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.
2024-04-22 14:20:12 +00:00
Within the [Config File](overview.md), the `playlist_files` attribute specifies the [path type](../files/files.md#paths) and path of the [Playlist Files](../files/playlists.md) that the user wants Kometa to act on.
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 [Config File](overview.md).**
```yaml
playlist_files:
- file: config/playlists.yml
2024-04-22 14:20:12 +00:00
- default: playlist
2023-12-31 16:45:00 +00:00
```
## Example
This example is an advanced version of the playlist mappings with accompanying library mappings:
```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
2024-01-04 20:24:53 +00:00
remove_overlays: false
2023-12-31 16:45:00 +00:00
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
```