Spaces:
Build error
Build error
Commit
·
36cf416
1
Parent(s):
b84093c
prepare scripts
Browse files- scripts/init.sh +0 -6
- start.sh +10 -0
scripts/init.sh
CHANGED
@@ -37,9 +37,3 @@ mkdir -p $WEBTV_AUDIO_STORAGE_PATH_CHANNEL_4
|
|
37 |
echo "creating the playlists for channel 4.."
|
38 |
echo "ffconcat version 1.0" > channel_4_video.txt
|
39 |
echo "ffconcat version 1.0" > channel_4_video.txt
|
40 |
-
|
41 |
-
# ------------ UPDATE MUSIC ------------
|
42 |
-
bash scripts/download_fresh_music.sh
|
43 |
-
|
44 |
-
# ---------- CONTENT ALIGNMENT ---------
|
45 |
-
bash scripts/censorship.sh
|
|
|
37 |
echo "creating the playlists for channel 4.."
|
38 |
echo "ffconcat version 1.0" > channel_4_video.txt
|
39 |
echo "ffconcat version 1.0" > channel_4_video.txt
|
|
|
|
|
|
|
|
|
|
|
|
start.sh
CHANGED
@@ -3,8 +3,16 @@
|
|
3 |
# initialize the stream pipes
|
4 |
bash ./scripts/init.sh
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
# ------ background processes ---------
|
7 |
|
|
|
|
|
8 |
# starts the streaming server first, otherwise ffmpeg won't find it
|
9 |
node ./media-server.js &
|
10 |
|
@@ -17,12 +25,14 @@ bash scripts/audio2.sh &
|
|
17 |
# background process that creates a video stream from video files
|
18 |
bash scripts/video1.sh &
|
19 |
bash scripts/video2.sh &
|
|
|
20 |
|
21 |
sleep 1
|
22 |
|
23 |
# background process that sends data to the media server
|
24 |
bash scripts/stream1.sh &
|
25 |
bash scripts/stream2.sh &
|
|
|
26 |
|
27 |
sleep 1
|
28 |
|
|
|
3 |
# initialize the stream pipes
|
4 |
bash ./scripts/init.sh
|
5 |
|
6 |
+
# ------------ UPDATE MUSIC ------------
|
7 |
+
bash scripts/download_fresh_music.sh
|
8 |
+
|
9 |
+
# ---------- CONTENT ALIGNMENT ---------
|
10 |
+
bash scripts/censorship.sh
|
11 |
+
|
12 |
# ------ background processes ---------
|
13 |
|
14 |
+
bash scripts/interpolate.sh &
|
15 |
+
|
16 |
# starts the streaming server first, otherwise ffmpeg won't find it
|
17 |
node ./media-server.js &
|
18 |
|
|
|
25 |
# background process that creates a video stream from video files
|
26 |
bash scripts/video1.sh &
|
27 |
bash scripts/video2.sh &
|
28 |
+
# bash scripts/video3.sh &
|
29 |
|
30 |
sleep 1
|
31 |
|
32 |
# background process that sends data to the media server
|
33 |
bash scripts/stream1.sh &
|
34 |
bash scripts/stream2.sh &
|
35 |
+
# bash scripts/stream3.sh &
|
36 |
|
37 |
sleep 1
|
38 |
|