This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from plexapi.server import PlexServer | |
# If needed, do | |
# pip install plexapi | |
# | |
# Update PLEX_URL / PLEX_TOKEN / PLAYLIST_NAME / COLLECTION_NAME as required. | |
# | |
# Get PLEX_URL & PLEX_TOKEN by viewing a movie on the server, and doing 'Get Info' from the "..." menu | |
# Then open 'View XML' in a new tab, and extract the token and host & port from the url in the address bar. | |
# Ignore all the other gorp in the url. |