File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ set CHUNK_SIZE=10
65
65
set PORT = 3000
66
66
set VOLUME_STEP = 5
67
67
set SKIP_SECONDS = 10
68
+ set START_TIME = 1
68
69
69
70
for /f " tokens=1,* delims=: " %%a in ('type config.txt ^ | findstr /v " ^#" ') do (
70
71
if " %%a " == " max_clients" set MAX_CLIENTS = %%b
@@ -73,6 +74,7 @@ for /f "tokens=1,* delims=: " %%a in ('type config.txt ^| findstr /v "^#"') do (
73
74
if " %%a " == " port" set PORT = %%b
74
75
if " %%a " == " volume_step" set VOLUME_STEP = %%b
75
76
if " %%a " == " skip_seconds" set SKIP_SECONDS = %%b
77
+ if " %%a " == " start_time" set START_TIME = %%b
76
78
)
77
79
78
80
:: =================================================================
@@ -164,4 +166,4 @@ echo - This computer: http://localhost:%PORT%
164
166
echo - Your network: http://%LOCAL_IP% :%PORT%
165
167
echo .
166
168
echo Starting Server...
167
- node server.js %MAX_CLIENTS% %CHUNK_SIZE% %PORT% %VOLUME_STEP% %SKIP_SECONDS% " %VIDEO_FILE% "
169
+ node server.js %MAX_CLIENTS% %CHUNK_SIZE% %PORT% %VOLUME_STEP% %SKIP_SECONDS% " %VIDEO_FILE% " %START_TIME%
You can’t perform that action at this time.
0 commit comments