Metadata-Version: 2.1
Name: pmm-cfg-gen
Version: 0.2.0
Summary: A script to help automatically generate Plex Meta Manager configuration files for your libraries
Home-page: https://github.com/ravensorb/Plex-Meta-Manager-Config-Generator
License: GPL-3.0-or-later
Keywords: pmm,plex-meta-manager,plex
Author: Shawn Anderson
Author-email: sanderson@eye-catcher.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Utilities
Requires-Dist: click (>=8.1.3,<9.0.0)
Requires-Dist: confuse (>=2.0.1,<3.0.0)
Requires-Dist: expandvars (>=0.9.0,<0.10.0)
Requires-Dist: importlib-resources (>=5.12.0,<6.0.0)
Requires-Dist: jinja2
Requires-Dist: jsonpickle
Requires-Dist: plexapi
Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
Requires-Dist: ruamel-yaml (>=0.17.21,<0.18.0)
Project-URL: Repository, https://github.com/ravensorb/Plex-Meta-Manager-Config-Generator
Description-Content-Type: text/markdown

# Plex-Meta-Mnager-Config-Generator
A python script to automatically generate Plex Meta Manager configuration files based on your plex libraries.

Install:
```pip install pmm-cfg-gen```

**Running from command line**

Usage:
```
pmm-cfg-gen
pmm-cfg-gen -h | --help
pmm-cfg-gen --plex.serverUrl <plex server url> --plex.token <plex auth token> --plex.libraries <libray names> --output.path <path to store output> [--logLevel <log level>]
```

Options:
```
-h --help           Show this help
--plex.serverUrl    The Fully Qualified Name for your Plex Server (ex: https://plex:32400)
--plex.token        The Plex Auth token (not the claim token)
--plex.library      Comma delimited list of library names
--output.path       Set the output path (default: ./data)
--logLevel          Logging Level (INFO, WARN, DEBUG, CRITICAL)
```

**Configuration File**

All of the configuration can be stored in a ```config.yaml``` file that uses the following format.

config.yaml:
```
plex:
    serverUrl: <plex server>
    token: <plex token>
    libraries:
        - <library 1>
        - <library 2>
```
Note: It is possible to use ENV variables (standard bash syntax supported).

