@ -392,7 +392,7 @@ From here on in, when I say "open the config file", I mean this `nano` or `notep
Scroll down a bit and update the three things you just collected; Plex URL, Plex Token, and TMDb API Key.
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
plex: # Can be individually specified per library as well
url: http://bing.bang.boing <<<ENTERYOURPLEXURL
url: http://bing.bang.boing <<<ENTERYOURPLEXURL
token: XXXXXXXXXXXXXXXXXXXX <<<ENTERYOURPLEXTOKEN
token: XXXXXXXXXXXXXXXXXXXX <<<ENTERYOURPLEXTOKEN
@ -407,7 +407,7 @@ tmdb:
Now scroll up and look at the top section:
Now scroll up and look at the top section:
```
```yaml
libraries: # Library mappings must have a colon (:) placed after them
libraries: # Library mappings must have a colon (:) placed after them
Movies:
Movies:
metadata_path:
metadata_path:
@ -428,11 +428,11 @@ You will ultimately need an entry here for each of the libraries on which you wa
For now, delete the “TV Shows” and “Anime” sections and change the name of the “Movies” section to something that is NOT included in your Plex. I’m using “Movies-HIDDEN":
For now, delete the “TV Shows” and “Anime” sections and change the name of the “Movies” section to something that is NOT included in your Plex. I’m using “Movies-HIDDEN":
```
```yaml
libraries: # Library mappings must have a colon (:) placed after them
libraries:
Movies-HIDDEN:
Movies-HIDDEN: ## <<<CHANGETHISLINE
metadata_path:
metadata_path:
- file: config/Movies.yml # You have to create this file the other are online
- file: config/Movies.yml
- git: meisnate12/MovieCharts
- git: meisnate12/MovieCharts
```
```
@ -443,7 +443,7 @@ This is intended to cause an error, so bear with me.
Save the file [in nano that would be cntl-x, y, return], then run the script again:
Save the file [in nano that would be cntl-x, y, return], then run the script again:
```
```shell
python plex_meta_manager.py -r
python plex_meta_manager.py -r
```
```
@ -470,15 +470,15 @@ I’ve removed some of the lines for space, but have left the important bits:
You can see there that PMM found its config file, was able to connect to TMDb, was able to connect to Plex, and then failed trying to read the “Movies-HIDDEN” library, which of course doesn’t exist.
You can see there that PMM found its config file, was able to connect to TMDb, was able to connect to Plex, and then failed trying to read the “Movies-HIDDEN” library, which of course doesn’t exist.
Open the config file again and change "Movies-HIDDEN" [or whatever you used in the previous step] to reflect your Plex. Also fix the name of the config file to match the library. Then delete any lines that start with “git”. Those are all sets of collections, and we just want to create a few as examples.
Open the config file again and change "Movies-HIDDEN" [or whatever you used in the previous step] to reflect your Plex. Also fix the name of the metadata file to match the library. Then delete any lines that start with “git”. Those are all sets of collections, and we just want to create a few as examples.
My Movies library is called “Main Movies", so mine looks like this:
My Movies library is called “Main Movies", so mine looks like this:
```
```yaml
libraries: # Library mappings must have a colon (:) placed after them
libraries:
Main Movies:
Main Movies: ## <<<CHANGETHISLINE
metadata_path:
metadata_path:
- file: config/Main Movies.yml # You have to create this file the other are online
NOTE: the matching naming of Library and YML is not actually required, I'm doing it here for clarity.
NOTE: the matching naming of Library and YML is not actually required, I'm doing it here for clarity.
@ -548,7 +548,7 @@ First, open the metadata file [this will create the file if it doesn't already e
In this file, add the following, exactly as it is shown here:
In this file, add the following, exactly as it is shown here:
```
```yaml
templates:
templates:
Actor:
Actor:
actor: tmdb
actor: tmdb
@ -579,7 +579,7 @@ This is going to create three collections. One contains movies that feature Bil
The first one is based on a template, so if you wanted to create a collection for another actor you just have to copy and edit those two lines [the ID comes from TMDb]. All the other config details come from the template.
The first one is based on a template, so if you wanted to create a collection for another actor you just have to copy and edit those two lines [the ID comes from TMDb]. All the other config details come from the template.
```
```yaml
Amy Adams:
Amy Adams:
template: {name: Actor, person: 9273}
template: {name: Actor, person: 9273}
```
```
@ -615,7 +615,7 @@ What comes next:
Delete these three collections if you want, from both Plex and the metadata file. If you add that “git” line you removed back into the config file:
Delete these three collections if you want, from both Plex and the metadata file. If you add that “git” line you removed back into the config file: