Skip to content

Instantly share code, notes, and snippets.

@frank1x
frank1x / preCachePlexOnDeckEpiosodes.py
Created January 30, 2022 03:43 — 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
@frank1x
frank1x / preCachePlexEpisode.py
Created January 30, 2022 03:42 — forked from brimur/preCachePlexEpisode.py
Python script to cache the next episode of a TV show playing in Plex using rclone
#######################################
# This python script should be run
# as a cron job every 15 minutes to
# cache the next episode of a currently
# playing TV show.
########################################
import requests
import os
import psutil