Jake.codes

PlexLog

Tuesday, February 24, 2015

Creates a CSV log of what people are watching on your Plex.

Usage

Set up using cron or launchd to run every 10 minutes.

Config

In the top of plexlog.py you can set the three configuration options.

Data

Minimal data collected, just the who, what, when, where. Um, I mean when, who, where, what. All this stored in a simple CSV file.

PlexStats

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.