/plex-poster-exporter

Export posters, backgrounds, banners, and theme songs from Plex.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Plex Poster Exporter

This is an updated version of KrunchMuffin's script. The only change is that it uses the Plex Token to log into the server, instead of needing a username and password entered each time the script is run. On top of that, it properly selects the server/libraries using Click in order to be run through a command. This allows for fullly hands-off automation if you prefer to set this up to run weekly via cron or another scheduling tool.

Export posters, backgrounds, banners, and theme songs from Plex.

Installation

sudo python3 -m pip install -r requirements.txt

Usage

python3 plex-poster-exporter.py --verbose

Advanced Usage

python3 plex-poster-exporter.py --username "<EMAIL>" --password "<PASSWORD>" --server "<SERVER>" --library "<LIBRARY>" --assets "<ASSETS>" --overwrite --verbose

Arguments

All arguments are optional. If one is required and it is not provided, the script will ask you to enter it.

Option Description Default
--username The username for Plex.
--password The password for Plex.
--server The Plex server name.
--library The Plex library name.
--assets Which assets should be exported? (all, posters, backgrounds, banners, themes) all
--overwrite Overwrite existing assets? False
--verbose Show extra information? False
--help Show the help message and exit.

Notes

This script expects all of your media files to be in the correct folder structure for Plex. If your files are not organized in the way that Plex recommends, you will not be able to use this.

Movies
Series

Enjoy!