Go API for browsing/searching media files with ffprobe metadata, token auth, and go-transcode integration for HLS streaming. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
293 B
Bash
12 lines
293 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Start go-transcode in background if binary exists
|
|
if [ -x /usr/local/bin/go-transcode ]; then
|
|
echo "Starting go-transcode..."
|
|
/usr/local/bin/go-transcode &
|
|
fi
|
|
|
|
# Start sheepflix-api in foreground
|
|
echo "Starting sheepflix-api..."
|
|
exec /usr/local/bin/sheepflix-api
|