You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plex-Meta-Manager/docs/pmm/install/wt/wt-03-lib-err-and-fix.md

73 lines
2.8 KiB

Ive removed some of the lines for space, but have left the important bits:
```
...
| Starting Run|
...
| Locating config...
|
| Using /Users/mroche/Plex-Meta-Manager/config/config.yml as config
...
| Connecting to TMDb...
| TMDb Connection Successful
...
| Connecting to Plex Libraries...
...
| Connecting to Movies-NOSUCHLIBRARY Library... |
...
| Plex Error: Plex Library Movies-NOSUCHLIBRARY not found |
| Movies-NOSUCHLIBRARY Library Connection Failed |
|====================================================================================================|
| Plex Error: No Plex libraries were connected to |
...
```
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-NOSUCHLIBRARY" library, which of course doesnt exist.
<details>
<summary>I got a ModuleError instead</summary>
If you see this error instead:
```
ModuleNotFoundError: No module named 'pkg_resources'
```
Chances are you're using Python 3.12 and skipped the bit above about Python 3.12.
Type this into your terminal
```
pip install setuptools
```
Then try the run command from above again.
</details>
Open the config file again and change "Movies-NOSUCHLIBRARY" to reflect *your own* Movie library in Plex.
2 years ago
Say my Movies library is called “All The Movies", so mine looks like this:
```yaml
libraries:
2 years ago
All The Movies: ## <<< CHANGE THIS LINE
collection_files:
- 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
```
At this point, the top bit of your config file should look like this:
```yaml
libraries:
THE_NAME_OF_YOUR_MOVIE_LIBRARY: ## <<< CHANGE THIS LINE
collection_files:
- 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
playlist_files:
- pmm: playlist # This is a file within PMM's defaults folder
# see the wiki for how to use local files, folders, URLs, or files from git
```
2 years ago
Where `THE_NAME_OF_YOUR_MOVIE_LIBRARY` has been replaced by the name of your movie library as shown in Plex ["All The Movies" here]:
![movie-lib-name](../images/wt-movie-lib-name.png)