A loose collection of command line scripts to interact with a Plex Media Server (PMS)
The easiest way to install this collection of scripts is with pip
.
You can not use the latest version of pip
though.
pip install git+https://github.com/patzm/plex-toolbox
If this is done inside a virtualenv
, all scripts have been installed to the PATH
.
They can then directly be used from the command line.
Otherwise, make sure that the bin
folder of the used pip
distribution is in the PATH
.
For instance, installing with pip install --user ...
will usually install into ~/.local/bin
.
download-album
usage: download-album [-h] -s SERVER -u USERNAME [-p PASSWORD] [-o OUTPUT_DIR]
optional arguments:
-h, --help show this help message and exit
-s SERVER, --server SERVER
The Plex server name.
-u USERNAME, --username USERNAME
The Plex username / email.
-p PASSWORD, --password PASSWORD
The Plex password or a file path to a text file that
contains it. Warning: passing your password literally
is security risk.
-o OUTPUT_DIR, --output-dir OUTPUT_DIR
Path to store the album in. Defaults to the album name
in the current working directory.