parent
5d2b9d8eb5
commit
976fba777c
After Width: | Height: | Size: 196 KiB |
Before Width: | Height: | Size: 316 KiB After Width: | Height: | Size: 306 KiB |
After Width: | Height: | Size: 3.4 MiB |
@ -0,0 +1,66 @@
|
|||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Scroll down a bit and update the three things you just collected; Plex URL, Plex Token, and TMDb API Key.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
plex: # Can be individually specified per library as well
|
||||||
|
url: http://bing.bang.boing <<< ENTER YOUR PLEX URL HERE
|
||||||
|
token: XXXXXXXXXXXXXXXXXXXX <<< ENTER YOUR PLEX TOKEN HERE
|
||||||
|
timeout: 60
|
||||||
|
clean_bundles: false
|
||||||
|
empty_trash: false
|
||||||
|
optimize: false
|
||||||
|
tmdb:
|
||||||
|
apikey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX <<< ENTER YOUR TMDb API KEY HERE
|
||||||
|
language: en
|
||||||
|
```
|
||||||
|
|
||||||
|
Now scroll up and look at the top section:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
## This file is a template remove the .template to use the file
|
||||||
|
|
||||||
|
libraries: # This is called out once within the config.yml file
|
||||||
|
Movies: # Each library must match the Plex library name
|
||||||
|
metadata_path:
|
||||||
|
- pmm: basic # This is a file within the defaults folder in the Repository
|
||||||
|
- pmm: imdb # This is a file within the defaults folder in the Repository
|
||||||
|
# see the wiki for how to use local files, folders, URLs, or files from git
|
||||||
|
overlay_path:
|
||||||
|
- remove_overlays: false # Set this to true to remove all overlays
|
||||||
|
- pmm: ribbon # This is a file within the defaults folder in the Repository
|
||||||
|
# see the wiki for how to use local files, folders, URLs, or files from git
|
||||||
|
TV Shows:
|
||||||
|
metadata_path:
|
||||||
|
- pmm: basic # This is a file within the defaults folder in the Repository
|
||||||
|
- pmm: imdb # This is a file within the defaults folder in the Repository
|
||||||
|
# see the wiki for how to use local files, folders, URLs, or files from git
|
||||||
|
overlay_path:
|
||||||
|
- remove_overlays: false # Set this to true to remove all overlays
|
||||||
|
- pmm: ribbon # This is a file within the defaults folder in the Repository
|
||||||
|
# see the wiki for how to use local files, folders, URLs, or files from git
|
||||||
|
Anime:
|
||||||
|
metadata_path:
|
||||||
|
- pmm: basic # This is a file within the defaults folder in the Repository
|
||||||
|
- pmm: anilist # This is a file within the defaults folder in the Repository
|
||||||
|
# see the wiki for how to use local files, folders, URLs, or files from git
|
||||||
|
Music:
|
||||||
|
metadata_path:
|
||||||
|
- file: config/Music.yml # This is a local file THAT YOU MIGHT CREATE
|
||||||
|
```
|
||||||
|
|
||||||
|
You will ultimately need an entry here for each of the libraries on which you want PMM to act. Those top-level elements [Movies, TV Shows, Anime, Music] are names of libraries on your Plex server.
|
||||||
|
|
||||||
|
For now, delete the “TV Shows”, “Anime”, and "Music" sections and change the name of the “Movies” section to “Movies-NOSUCHLIBRARY":
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
libraries:
|
||||||
|
Movies-NOSUCHLIBRARY: ## <<< CHANGE THIS LINE
|
||||||
|
metadata_path:
|
||||||
|
- pmm: basic # This is a file within the defaults folder in the Repository
|
||||||
|
- pmm: imdb # This is a file within the defaults folder in the Repository
|
||||||
|
# see the wiki for how to use local files, folders, URLs, or files from git
|
||||||
|
```
|
||||||
|
|
||||||
|
This is intended to cause an error for illustration that you will then fix.
|
@ -0,0 +1,21 @@
|
|||||||
|
Plex-Meta-Manager provides an extensive collection of "default" metadata files.
|
||||||
|
|
||||||
|
These files provide a simple way for you to create collections based on franchises or awards or actors, etc.
|
||||||
|
|
||||||
|
The default config links to two of them:
|
||||||
|
|
||||||
|
```
|
||||||
|
- pmm: basic
|
||||||
|
- pmm: imdb
|
||||||
|
```
|
||||||
|
|
||||||
|
The first will create:
|
||||||
|
|
||||||
|
Newly Released
|
||||||
|
New Episodes
|
||||||
|
|
||||||
|
The second will create:
|
||||||
|
|
||||||
|
IMDb Popular
|
||||||
|
IMDb Top 250
|
||||||
|
IMDb Lowest Rated
|
@ -0,0 +1,64 @@
|
|||||||
|
If the default metadata files do not allow you to create the collections you want, you can define your own collections in your own metadata files to do whatever you like within the capabilities of PMM. We will create a simple collection that will contain 20 comedy movies since 2012.
|
||||||
|
|
||||||
|
First, open the metadata file [this will create the file if it doesn't already exist]:
|
||||||
|
|
||||||
|
````{tab} Linux
|
||||||
|
<br/>
|
||||||
|
[type this into your terminal]
|
||||||
|
|
||||||
|
```
|
||||||
|
nano "config/Movies.yml"
|
||||||
|
```
|
||||||
|
<br/>
|
||||||
|
````
|
||||||
|
````{tab} OS X:
|
||||||
|
<br/>
|
||||||
|
[type this into your terminal]
|
||||||
|
|
||||||
|
```
|
||||||
|
nano "config/Movies.yml"
|
||||||
|
```
|
||||||
|
<br/>
|
||||||
|
````
|
||||||
|
````{tab} Windows:
|
||||||
|
<br/>
|
||||||
|
[type this into your terminal]
|
||||||
|
|
||||||
|
```
|
||||||
|
notepad "config\Movies.yml"
|
||||||
|
```
|
||||||
|
<br/>
|
||||||
|
````
|
||||||
|
|
||||||
|
In this file, add the following, exactly as it is shown here:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
collections:
|
||||||
|
Recent Comedy:
|
||||||
|
plex_search:
|
||||||
|
all:
|
||||||
|
genre: Comedy
|
||||||
|
year.gte: 2012
|
||||||
|
limit: 20
|
||||||
|
```
|
||||||
|
|
||||||
|
Save the file:
|
||||||
|
|
||||||
|
```{include} wt/wt-save.md
|
||||||
|
```
|
||||||
|
|
||||||
|
Next, add a reference to this file to your config file.
|
||||||
|
|
||||||
|
Open the config file again and add the last line shown below:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
libraries:
|
||||||
|
Main Movies: ## <<< CHANGE THIS LINE
|
||||||
|
metadata_path:
|
||||||
|
- pmm: basic # This is a file within the defaults folder in the Repository
|
||||||
|
- pmm: imdb # This is a file within the defaults folder in the Repository
|
||||||
|
# see the wiki for how to use local files, folders, URLs, or files from git
|
||||||
|
- file: config/Movies.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
That line needs to match the path you used when you created the file a moment ago.
|
@ -0,0 +1,18 @@
|
|||||||
|
The default metadata files include a set of overlays you can add to your posters.
|
||||||
|
|
||||||
|
We'll add resolution overlays to the movies in this library as an example.
|
||||||
|
|
||||||
|
Open the config file again and add the last three lines shown below:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
libraries:
|
||||||
|
Main Movies: ## <<< CHANGE THIS LINE
|
||||||
|
metadata_path:
|
||||||
|
- pmm: basic # This is a file within the defaults folder in the Repository
|
||||||
|
- pmm: imdb # This is a file within the defaults folder in the Repository
|
||||||
|
# see the wiki for how to use local files, folders, URLs, or files from git
|
||||||
|
- file: config/Movies.yml
|
||||||
|
overlay_path:
|
||||||
|
- remove_overlays: false
|
||||||
|
- pmm: resolution
|
||||||
|
```
|
@ -0,0 +1,23 @@
|
|||||||
|
While it runs this time you should see the previous collections go by pretty quickly, since they aren't changing, and then a lot of logging as PMM decides which overlays apply to which movies.
|
||||||
|
|
||||||
|
This may take quite a while depending on the size of this library.
|
||||||
|
|
||||||
|
Eventually, you'll see it start applying overlays to all your movies:
|
||||||
|
|
||||||
|
```
|
||||||
|
|=========================================================|
|
||||||
|
| Applying Overlays for the Movies - 4K Library |
|
||||||
|
|=========================================================|
|
||||||
|
| |
|
||||||
|
| 10 Cloverfield Lane | Overlays Applied: 4K-HDR |
|
||||||
|
| 10 Minutes Gone | Overlays Applied: 4K-HDR |
|
||||||
|
| 10 Things I Hate About You | Overlays Applied: 4K-HDR |
|
||||||
|
| 12 Mighty Orphans | Overlays Applied: 4K-HDR |
|
||||||
|
| 12 Monkeys | Overlays Applied: 4K-DV |
|
||||||
|
| 12 Strong | Overlays Applied: 4K-HDR |
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
When it finishes, go to the Library tab in this library in Plex:
|
||||||
|
|
||||||
|
![Overlaid posters](overlays.png)
|
@ -0,0 +1,39 @@
|
|||||||
|
### What comes next:
|
||||||
|
|
||||||
|
If you want to remove those overlays, open the config file, change the value of `remove_overlays` to `true`, and rerun PMM.
|
||||||
|
|
||||||
|
```
|
||||||
|
overlay_path:
|
||||||
|
- remove_overlays: true
|
||||||
|
- pmm: resolution
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to remove those collections, open the config file, remove or comment out [add `#` to the beginning] any or all of those lines under `metadata_path`, and delete the collections manually from Plex.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
libraries:
|
||||||
|
Main Movies:
|
||||||
|
metadata_path:
|
||||||
|
# - pmm: basic # This is a file within the defaults folder in the Repository
|
||||||
|
# - pmm: imdb # This is a file within the defaults folder in the Repository
|
||||||
|
# see the wiki for how to use local files, folders, URLs, or files from git
|
||||||
|
# - file: config/Movies.yml
|
||||||
|
overlay_path:
|
||||||
|
- remove_overlays: false
|
||||||
|
- pmm: resolution
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit `Movies.yml` to reflect the actions you want PMM to perform on *your* libraries.
|
||||||
|
|
||||||
|
TV Shows and other libraries work the same way as you've seen above. Create a section under `Libraries:` in the config.yml, refer to default files or create a metadata file, define collections, run the script.
|
||||||
|
|
||||||
|
Investigate the rest of the wiki to learn about everything Plex-Meta-Manager can do for you.
|
||||||
|
|
||||||
|
### Runtime and Environment Flags
|
||||||
|
|
||||||
|
The command in this walkthrough will run all collections and libraries immediately. If you want to modify that behavior to run just one or some collections, or just one library, or just overlays or the like, review the [Run Commands & Environment Variables](../../environmental.md).
|
||||||
|
|
||||||
|
### Creating Collections, Overlays, Playlists, etc.
|
||||||
|
|
||||||
|
These things are all generally defined in metadata files that are referred to in the config file. The starting point for creating these files is [here](../../../metadata/metadata.md).
|
||||||
|
|
@ -1,9 +1,14 @@
|
|||||||
````{tab} Linux
|
````{tab} Linux
|
||||||
|
<br/>
|
||||||
If you're using `nano`, type control-`x`, then `y`, then the enter key.
|
If you're using `nano`, type control-`x`, then `y`, then the enter key.
|
||||||
|
<br/>
|
||||||
````
|
````
|
||||||
````{tab} OS X
|
````{tab} OS X:
|
||||||
|
<br/>
|
||||||
If you're using `nano`, type control-`x`, then `y`, then the enter key.<br/>
|
If you're using `nano`, type control-`x`, then `y`, then the enter key.<br/>
|
||||||
````
|
````
|
||||||
````{tab} Windows
|
````{tab} Windows:
|
||||||
|
<br/>
|
||||||
If you're using `notepad`, type alt-`s` or choose `Save` from the `File` menu.
|
If you're using `notepad`, type alt-`s` or choose `Save` from the `File` menu.
|
||||||
|
<br/>
|
||||||
````
|
````
|
||||||
|
Loading…
Reference in new issue