Skip to content

Instantly share code, notes, and snippets.

View phipac's full-sized avatar

Phil Pacier phipac

View GitHub Profile
@phipac
phipac / plex.py
Last active May 18, 2024 03:14 — forked from MorbZ/plex.py
Munin plugin for Plex: Shows playing streams and transcoding sessions
#!/usr/bin/env python3
# Updated for Python3 by phipac 20210131
# If the server needs authentication add file /etc/munin/plugin-conf.d/plex:
# [plex]
# env.plex_token yourplextoken
import urllib.request, urllib.error, urllib.parse, sys, os
import xml.etree.ElementTree as ET
# Show Config