Tuesday, February 24, 2015 ∞
Creates a CSV log of what people are watching on your Plex.
Set up using cron or launchd to run every 10 minutes.
In the top of
plexlog.py you can set the three configuration options.
PLEX_ADDRESS: the address and port to your plex. Default is
PLEX_TOKEN: the authentication token Plex uses to access your server’s API. Default is blank.
PLEX_LOG_FILE: the filename of the Plex log to be created. Default is
Minimal data collected, just the who, what, when, where. Um, I mean when, who, where, what. All this stored in a simple CSV file.
- plex player
- video title
A quick way of parsing all that CSV data to generate a Markdown formatted analytics. Set your
plexlog.csv path in the header of
plexstats.py and run it to get a simple bulleted list of all the stats.
- Browse Code
git clone http://git.jake.codes/plexlog.git