mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-30 00:10:33 +00:00
2 KiB
2 KiB
Playlist Files
Overview
As playlists are not tied to one specific library and can combine media from multiple libraries, they require their own special Playlist File to work.
You can define Playlist Files by using playlist_files
mapper. They can either be on the local system, online at an url, or directly from the Plex Meta Manager Configs repository.
Path Types
In this example, four playlist_files
attribute path types are defined:
playlist_files:
- file: config/playlists.yml
- folder: config/Playlists/
- git: meisnate12/Playlists
- url: https://somewhere.com/Playlists.yml
The four path types are outlined as follows:
- file:
refers to a playlist file which is located within the system that PMM is being run from.- folder:
refers to a directory containing playlist files which is located within the system that PMM is being run from.- git:
refers to a playlist file which is hosted on GitHub. This file is assumed to be in the Configs Repo unless the user has specified a custom repository with the- url:
refers to a playlist file which is hosted publicly on the internet.
Within the above example, PMM will:
- First, look within the root of the PMM directory (also known as
config/
) for a playlist file namedPlaylists.yml
. If this file does not exist, PMM will skip the entry and move to the next one in the list. - Then, look within the root of the PMM directory (also known as
config/
) for a directory calledPlaylists
, and then load any playlist files within that directory. - Then, look at the meisnate12 folder within the GitHub Configs Repo for a file called
MovieCharts.yml
which it finds here. - Finally, load the playlist file located at
https://somewhere.com/Playlists.yml