This guide creates a reverse SSH tunnel to route all Plex server traffic through it.
Step 2 is done on the tunnel, all other steps are done on the plex server.
On plex server:
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Description: Automatically mark a video (movie, show, season, or episode) | |
# as played in Plex for specific users. | |
# Author: /u/SwiftPanda16 | |
# Requires: plexapi | |
# | |
# Tautulli script trigger: | |
# * Notify on watched |
from plexapi.server import PlexServer | |
import time | |
SERVER_URL = 'http://localhost:32400' | |
SERVER_TOKEN = 'xxxxxxxxxxxxxxxxxxxx' | |
LIBRARY_NAME = 'Movies' | |
plex = PlexServer(SERVER_URL, token=SERVER_TOKEN) | |
movies = plex.library.section(LIBRARY_NAME) | |
totalItems = movies.totalSize |
import random | |
import requests | |
import string | |
import sys | |
import time | |
import uuid | |
try: | |
NUMBER_OF_ACCOUNTS = int(sys.argv[1]) | |
except (IndexError, ValueError): |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Description: Rename season title for TV shows on Plex. | |
# Author: /u/SwiftPanda16 | |
# Requires: plexapi | |
from plexapi.server import PlexServer | |
import uuid | |
from plexapi.utils import getMyPlexAccount, createMyPlexDevice | |
account = getMyPlexAccount() | |
product = input("App name: ") | |
headers = { | |
'X-Plex-Platform': '', | |
'X-Plex-Platform-Version': '', | |
'X-Plex-Provides': '', | |
'X-Plex-Version': '', |
// ==UserScript== | |
// @name Open Plex Metadata XML | |
// @namespace https://app.plex.tv | |
// @version 1.3 | |
// @description Open the Plex metadata XML info for any media page with Ctrl+I. | |
// @author JonnyWong16 | |
// @homepage https://gist.github.com/JonnyWong16/ec660094e4cd7233f1dd96b4b4d62e21 | |
// @downloadURL https://gist.github.com/JonnyWong16/ec660094e4cd7233f1dd96b4b4d62e21/raw/openPlexMetadataXML.user.js | |
// @updateURL https://gist.github.com/JonnyWong16/ec660094e4cd7233f1dd96b4b4d62e21/raw/openPlexMetadataXML.user.js | |
// @match https://app.plex.tv/* |
This guide creates a reverse SSH tunnel to route all Plex server traffic through it.
Step 2 is done on the tunnel, all other steps are done on the plex server.
On plex server:
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Description: Check Plex remote access using CanYouSeeMe.org and send a notification | |
# Author: /u/SwiftPanda16 | |
# Tautulli script trigger: | |
# * Plex Remote Access Down | |
# Tautulli script conditions: | |
# * None | |
# Tautulli script arguments: |
Updated script link: | |
https://github.com/blacktwin/JBOPS/blob/master/utility/recently_added_collection.py |
Updated script link: | |
https://github.com/blacktwin/JBOPS/blob/master/utility/hide_episode_spoilers.py |