-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatus.sh
More file actions
executable file
·69 lines (61 loc) · 2.07 KB
/
status.sh
File metadata and controls
executable file
·69 lines (61 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/bash
# Project Status Summary
echo "================================"
echo "FS Source - Project Status"
echo "================================"
echo ""
# Check virtual environment
if [ -d "venv" ]; then
echo "✅ Virtual environment: Ready"
else
echo "❌ Virtual environment: Missing"
fi
# Check config
if [ -f "config/obs_config.json" ]; then
echo "✅ Configuration file: Exists"
else
echo "⚠️ Configuration file: Not configured (run setup.py)"
fi
# Check Python files
echo ""
echo "Python Scripts:"
echo " ✅ fs_source.py - Remote mode (OBS WebSocket)"
echo " ✅ fs_source_daemon.py - Daemon mode (always-on)"
echo " ✅ fs_source_native.py - Native mode (local camera)"
echo " ✅ setup.py - Configuration wizard"
echo " ✅ test_obs_connection.py - OBS connection tester"
echo " ✅ test_local_camera.py - Local camera finder"
# Check documentation
echo ""
echo "Documentation:"
echo " ✅ README.md - User guide"
echo " ✅ QUICKSTART.md - Quick start guide"
echo " ✅ OVERVIEW.md - Technical overview"
# Check dependencies
echo ""
echo "Checking dependencies..."
source venv/bin/activate 2>/dev/null
if python -c "import cv2, mediapipe, obswebsocket" 2>/dev/null; then
echo "✅ All dependencies installed"
else
echo "⚠️ Some dependencies missing"
fi
echo ""
echo "================================"
echo "Next Steps:"
echo "================================"
echo "1. Configure: python setup.py"
echo "2. Test connection: python test_obs_connection.py"
echo "3. Choose mode:"
echo " Remote: ./run.sh (OBS WebSocket, network)"
echo " Daemon: ./run_daemon.sh (always-on, smart standby)"
echo " Native: ./run_native.sh (local camera, no NDI)"
echo " Service: ./install_service.sh (auto-start at boot)"
echo ""
echo "For Native mode: python test_local_camera.py (find cameras)"
echo ""
# Check if service is installed
if systemctl is-enabled fs-source.service &>/dev/null; then
echo "📌 Service Status:"
systemctl is-active fs-source.service &>/dev/null && echo " ✅ Running" || echo " ⏸️ Stopped"
fi