Skip to content

Instantly share code, notes, and snippets.

@nitrag
nitrag / plex_sd_radarry.py
Created April 13, 2020 00:43
Plex SD to Radarr for Quality Upgrade
# Scans your plex movies, if a movie has only SD quality, it will send it to Radarr
# pip install plexapi
# python 3.6+
#
from plexapi.server import PlexServer
import re
import requests
plex_url = 'http://192.168.1.100:32400'
plex_token = 'abc123'
@roylee0704
roylee0704 / dockergrep.sh
Created December 9, 2016 08:24
how to grep docker log
docker logs nginx 2>&1 | grep "127."
# ref: http://stackoverflow.com/questions/34724980/finding-a-string-in-docker-logs-of-container
@Hellowlol
Hellowlol / kill_a_stream.py
Last active January 18, 2021 14:37
Plexpy script, kill a plex stream
"""
This is a simple script showing how you can used plexpys notifications system to kill a stream
Possible plexpyargs: -tk {transcode_key} -u {username} -td {transcode_decision} -t 20:20 -ln Secret_tash
Instructions:
1. Save the script somewhere on your computer as kill_a_stream.py.
@Thermionix
Thermionix / auth-basic.conf
Last active November 4, 2021 00:56
nginx reverse proxy for sickbeard, couchpotato etc.
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;