## Tdarr Plugin Stack Research & Configuration - Research optimal H.265/HEVC plugin stacks for quality-focused transcoding - Configure GPU threshold (95%) to prevent self-termination during transcoding - Add Tdarr exception logic to distinguish transcoding from gaming GPU usage - Update gaming detection to preserve active transcoding jobs ## Automated System Maintenance - Add cron job for automatic cleanup of abandoned Tdarr temp directories - Cleanup runs every 6 hours, preserves active jobs (< 6 hours old) - Prevents /tmp filesystem bloat from interrupted transcoding jobs - Safe cleanup only targets Tdarr-specific work directories ## Enhanced Documentation - Add comprehensive Tdarr automation documentation in scripts/tdarr/README.md - Document cleanup system and its relationship to main scheduler - Update CLAUDE.md with Tdarr keyword triggers and context loading - Add troubleshooting section for both scheduler and cleanup cron jobs ## System Architecture Improvements - Organize Tdarr scripts under dedicated scripts/tdarr/ directory - Maintain backwards compatibility with existing cron jobs - Add gaming-aware scheduling with configurable time windows - Implement robust GPU usage detection with Tdarr transcoding awareness 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
368 B
Bash
Executable File
14 lines
368 B
Bash
Executable File
#!/bin/bash
|
||
# Stop Tdarr Node Script
|
||
set -e
|
||
|
||
CONTAINER_NAME="tdarr-node-gpu-unmapped"
|
||
|
||
echo "🛑 Stopping Tdarr Node: ${CONTAINER_NAME}"
|
||
|
||
if podman ps --format "{{.Names}}" | grep -q "^${CONTAINER_NAME}$"; then
|
||
podman stop "${CONTAINER_NAME}" 2>/dev/null || true
|
||
echo "✅ Tdarr Node stopped successfully"
|
||
else
|
||
echo "ℹ️ Tdarr Node was not running"
|
||
fi |