Implicancies Caretakers Issue 12: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
What do the "caretakers" do ... | == What do the "caretakers" do ... == | ||
* Making message for the mailinglist | * Making message for the mailinglist | ||
Line 7: | Line 7: | ||
* Making the playlist... | * Making the playlist... | ||
* Testing the liquidsoap script ahead of time? | * Testing the liquidsoap script ahead of time? | ||
* ... | |||
== Prepare materials on hub == | == Prepare materials on hub == |
Revision as of 09:22, 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.