Skip to content

Instantly share code, notes, and snippets.

View Naesstrom's full-sized avatar

Erik Näsström Naesstrom

View GitHub Profile
@Naesstrom
Naesstrom / sync_playlists_to_all_users.py
Last active May 28, 2021 18:42 — forked from JonnyWong16/sync_playlists_to_users.py
Sync Plex playlists to shared users.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Description: Sync Plex playlists to shared users.
# Author: /u/SwiftPanda16
# Requires: plexapi, requests, xmltodict
# Changes by me: Syncs all current playlists to all current users. Everytime you run it it deletes the old playlists on the users account and replaces it with your.
import requests
import xmltodict