-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·46 lines (41 loc) · 1.2 KB
/
setup.sh
File metadata and controls
executable file
·46 lines (41 loc) · 1.2 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
#!/bin/bash
echo "🎮 Roku Remote TUI - Setup"
echo "=========================="
echo ""
# Check Python version
PYTHON_VERSION=$(python3 --version 2>&1 | awk '{print $2}')
echo "✓ Found Python $PYTHON_VERSION"
# Check for roku CLI
if command -v roku &> /dev/null; then
ROKU_VERSION=$(roku --version 2>&1 || echo "unknown")
echo "✓ Roku CLI installed: $ROKU_VERSION"
else
echo "❌ Roku CLI not found"
echo ""
echo "Please install it with:"
echo " npm install -g @dlenroc/roku"
echo ""
echo "Or visit: https://github.com/dlenroc/node-roku"
exit 1
fi
# Test Roku connection
echo ""
echo "Testing Roku connection..."
if roku apps --json &> /dev/null; then
echo "✓ Successfully connected to Roku!"
else
echo "⚠️ Could not connect to Roku"
echo ""
echo "Make sure:"
echo " 1. Your Roku is powered on"
echo " 2. Both devices are on the same network"
echo " 3. You've configured roku CLI (run: roku setup)"
fi
echo ""
echo "🚀 Setup complete! Run with:"
echo " python3 roku_remote_tui_main.py"
echo ""
echo "💡 Quick tips:"
echo " - Press '?' for help"
echo " - Press '/' for app launcher"
echo " - Press 'F' then 1-9 to set favorites"