diff --git a/docs/home/guides/local.md b/docs/home/guides/local.md index 5dc1e7b2..918988bd 100644 --- a/docs/home/guides/local.md +++ b/docs/home/guides/local.md @@ -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. -``` +```yaml plex: # Can be individually specified per library as well url: http://bing.bang.boing <<< ENTER YOUR PLEX URL token: XXXXXXXXXXXXXXXXXXXX <<< ENTER YOUR PLEX TOKEN @@ -407,7 +407,7 @@ tmdb: Now scroll up and look at the top section: -``` +```yaml libraries: # Library mappings must have a colon (:) placed after them Movies: 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": -``` -libraries: # Library mappings must have a colon (:) placed after them - Movies-HIDDEN: +```yaml +libraries: + Movies-HIDDEN: ## <<< CHANGE THIS LINE metadata_path: - - file: config/Movies.yml # You have to create this file the other are online + - file: config/Movies.yml - 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: -``` +```shell 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. -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: -``` -libraries: # Library mappings must have a colon (:) placed after them - Main Movies: +```yaml +libraries: + Main Movies: ## <<< CHANGE THIS LINE metadata_path: - - file: config/Main Movies.yml # You have to create this file the other are online + - file: config/Main Movies.yml ## <<< CHANGE THIS LINE ``` 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: -``` +```yaml templates: Actor: 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. -``` +```yaml Amy Adams: 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: -``` +```yaml - git: meisnate12/MovieCharts ```