-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
102 lines (85 loc) · 2.34 KB
/
Copy pathsetup.bat
File metadata and controls
102 lines (85 loc) · 2.34 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
@echo off
REM Setup script for Codex Mentis Podcast Video Converter (Windows)
echo 🎙️ Setting up Codex Mentis Podcast Video Converter
echo ==================================================
REM Check if Python is installed
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo ❌ Python is not installed. Please install Python 3.8 or higher.
pause
exit /b 1
)
echo ✓ Python found
python --version
REM Check if pip is installed
pip --version >nul 2>&1
if %errorlevel% neq 0 (
echo ❌ pip is not installed. Please install pip.
pause
exit /b 1
)
echo ✓ pip found
pip --version
REM Install Python dependencies
echo.
echo 📦 Installing Python dependencies...
pip install -r requirements.txt
if %errorlevel% neq 0 (
echo ❌ Failed to install dependencies. Please check the error messages above.
pause
exit /b 1
)
echo ✅ Dependencies installed successfully!
REM Check directory structure
echo.
echo 📁 Checking directory structure...
if exist "input" (
echo ✓ input/ directory exists
) else (
echo ❌ input/ directory missing
)
if exist "output" (
echo ✓ output/ directory exists
) else (
echo ❌ output/ directory missing
)
if exist "assets" (
echo ✓ assets/ directory exists
) else (
echo ❌ assets/ directory missing
)
if exist "src" (
echo ✓ src/ directory exists
) else (
echo ❌ src/ directory missing
)
REM Check for logo
echo.
echo 🖼️ Checking for podcast logo...
if exist "assets\podcast_logo.jpg" (
echo ✅ Podcast logo found!
) else (
echo ⚠️ Podcast logo not found.
echo Please place your podcast logo at: assets\podcast_logo.jpg
echo.
echo Logo requirements:
echo • File name: podcast_logo.jpg
echo • Recommended size: 500x500 pixels or larger
echo • Format: JPG or PNG
)
REM Check for TrueType fonts (Windows always has these)
echo.
echo 🔤 Checking for TrueType fonts...
if exist "C:\Windows\Fonts\times.ttf" (
echo ✅ TrueType fonts available (Windows system fonts)
) else (
echo ⚠️ System fonts directory unusual - check Windows installation
)
echo.
echo 🎯 Setup complete! Usage instructions:
echo 1. Place your WAV files in the input\ directory
echo 2. Ensure your podcast logo is at assets\podcast_logo.jpg
echo 3. Run: python src\main.py
echo.
echo 📚 For more information, see README.md
pause