Implicancies Caretakers Issue 12: Difference between revisions
(Created page with "What do the "caretakers" do ... * Making message for the mailinglist * Update the website * Decide elements on the page / player like iframe with etherpad/xmpp chat .... * En...") |
No edit summary |
||
Line 35: | Line 35: | ||
The bash script = playlist.sh | The bash script = playlist.sh | ||
== Starting/stopping the stream == | |||
Caretaker starts a "tmux session", makes it shareable... (ssh to the sandbox) | Caretaker starts a "tmux session", makes it shareable... (ssh to the sandbox) | ||
Line 54: | Line 54: | ||
... to detach from tmux, leaving liquidsoap (and the stream) running. | ... to detach from tmux, leaving liquidsoap (and the stream) running. | ||
== Watching tmux == | |||
others can watch what is happening with | others can watch what is happening with |
Revision as of 09:18, 15 May 2020
What do the "caretakers" do ...
- Making message for the mailinglist
- Update the website
- Decide elements on the page / player like iframe with etherpad/xmpp chat ....
- Ensuring the collection of materials on sandbox is complete
- Making the playlist...
- Testing the liquidsoap script ahead of time?
Prepare materials on hub
Move the recorded files to the radio folder: hub.sandbox:/var/www/html/radio
scp file.mp3 hub.sandbox:/var/www/html/radio
If necessary, convert mp4 to mp3
fmpeg -i "name.mp4" "name.mp3"
Rename files
ssh sandbox cd /var/www/html/radio mv ORIGINALNAME.mp3 newname.mp3 0_title.mp3
Make a playlist (liquid soap)
cd /srv/radio ls /var/www/html/*.mp3 >> playlist.m3u nano playlist.m3u # did some editing, reordered, removed ones we don't want...
Playlist is here ---> /srv/radio/playlist.m3u
The bash script = playlist.sh
Starting/stopping the stream
Caretaker starts a "tmux session", makes it shareable... (ssh to the sandbox)
tmux -S /tmp/radio attach -t radio
Go into the directory where the *.liq is and then
liquidsoap -v *.liq
Starting the playlist
bash playlist.sh
caretaker can eventually press:
ctrl-b d
... to detach from tmux, leaving liquidsoap (and the stream) running.
Watching tmux
others can watch what is happening with
tmux -S /tmp/radio attach -t radio -r
-r (read only) is to prevent you make accidental changes.