A CLI tool for Plex server interaction, including authentication, media downloads, and playlist management via the command line.
Before using DownPlex, make sure you have the following prerequisites installed on your system:
- Python 3
pip
package manager
brew tap BalliAsghar/apps
brew install plex --formula
-
Clone or download the plex script from this repository.
-
Open a terminal or command prompt and navigate to the directory where you saved the script.
-
Install the required dependencies by running the following command:
pip install -r requirements.txt
-
Move the script to a directory that is in your system's PATH. For example, on macOS, you can move the script to
/usr/local/bin
:mv plex /usr/local/bin
plex [Command]
auth
: Authenticate your Plex account. You will be prompted to enter your username and password.download
: Download media from a Plex server. Provide a valid Plex URL as an argument.playlist
: Browse and download media from playlists on your Plex server.--m3u
: save playlist as m3u file
signout
: Sign out of your Plex account.
- PlexURLGen uses the keyring package to store your Plex credentials. If you are uncomfortable with this, do not use this tool.