Skip to content

Instantly share code, notes, and snippets.

@drag0n141
drag0n141 / preCachePlexOnDeckEpiosodes.py
Created December 11, 2021 14:12 — forked from brimur/preCachePlexOnDeckEpiosodes.py
Cache unwatched On Deck items in Plex using rclone
#######################################
# This python script should be run
# as a cron job every 6 hours to
# cache On Deck episodes.
########################################
import os
import psutil
from subprocess import check_call
from itertools import chain