Skip to content

Instantly share code, notes, and snippets.

@caseyavila
caseyavila / hdhr-listings-to-m3u.py
Last active December 8, 2023 03:13 — forked from aaearon/hdhr-listings-to-m3u.py
Convert HDHomeRun Prime Listings to M3U Format
#!/usr/bin/env python3
#
# this script will convert the hdhomerun listings (channels) to
# m3u format for use with external media players. before running
# this script, be sure to modify the <<config>> variable settings
# below.
#
# Suggested Usage: This script should be run on a cron to keep
# the channel lineup to date. Below is an example of how to execute this script:
# python /path/to/script/hdhomerun-prime-listings-to-m3u.py > /path/to/playlist.m3u