Skip to content

Instantly share code, notes, and snippets.

@D34DC3N73R
D34DC3N73R / aired_today_playlist.py
Created Oct 5, 2017 — forked from blacktwin/aired_today_playlist.py
Create a Plex Playlist with what was aired on this today's month-day, sort by oldest first, using PlexAPI
View aired_today_playlist.py
"""
Create a Plex Playlist with what was aired on this today's month-day, sort by oldest first.
If Playlist from yesterday exists delete and create today's.
If today's Playlist exists exit.
"""
import operator, time
from plexapi.server import PlexServer
import requests