Files
media-downloader/scripts/plex-match.sh
Todd 0d7b2b1aab Initial commit
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-29 22:42:55 -04:00

9 lines
402 B
Bash
Executable File

#!/bin/bash
# Trigger Plex matching for appearances
# Runs via cron to populate plex_rating_key and plex_show_rating_key
/opt/media-downloader/scripts/get-api-token.sh >/dev/null 2>&1
/opt/media-downloader/scripts/api-call.sh "/api/appearances/plex/match" -X POST -H "Content-Type: application/json" >/dev/null 2>&1
echo "$(date): Plex matching triggered" >> /var/log/media-downloader/plex-match.log