Skip to content

Instantly share code, notes, and snippets.

View BarDweller's full-sized avatar

Ozzy Osborne BarDweller

  • Montreal, Canada
View GitHub Profile
@BarDweller
BarDweller / playlist2collection.py
Created July 3, 2024 23:19
Convert Plex Playlist into Plex Collection
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.