Skip to content

Instantly share code, notes, and snippets.

View declan727's full-sized avatar

Declan declan727

  • Sector7 Security
  • 08:10 (UTC -04:00)
View GitHub Profile
@JonnyWong16
JonnyWong16 / update_all_metadata.py
Last active March 28, 2025 12:24
Updates all metadata in the Tautulli database after moving Plex libraries.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Description: Updates all metadata in the Tautulli database after moving Plex libraries.
# Author: /u/SwiftPanda16
# Requires: plexapi, requests
from plexapi.server import PlexServer
import requests
@tyzbit
tyzbit / plex-status.js
Last active May 17, 2025 16:21 — forked from Dirrk/plex-status.js
Plex status.js
#!/usr/bin/node
/*
Install nodejs
create directory with this file in it and run the following commands:
npm install [email protected] [email protected]
Setup with crontab:
* * * * * /usr/bin/node /home/dirrk/scripts/plex-info/plex-status.js >> /var/log/plex/plexstatus.log 2>/dev/null
Setup splunk to consume json with timestamp from utc on timestamp field