Skip to content

Instantly share code, notes, and snippets.

@hthighway
hthighway / plex-update-mtime.py
Created August 21, 2018 18:32 — forked from tadly/plex-update-mtime.py
Retroactively update plex's updated_at, created_at and added_at dates by the files mtime
#!/usr/bin/env python3
#
# Most importantly:
# 1. Use at your own risk!
# 2. You may consider creating a backup because this script doesn't
# 3. Only tested on linux
#
# What does this script do?
# Whenever you scan for new items, plex will set the respective dates to
# the CURRENT time rather than the files mtime.
@hthighway
hthighway / Plex Routing thru SSH Tunnel
Last active August 24, 2022 10:05 — forked from MarMed/README.md
Routing plex traffic through an SSH tunnel
#Routing plex traffic through an SSH tunnel
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.
#1. Setup SSH keys (if you already have key based authenthication setup skip to step 2)
On plex server: