Implicancies Caretakers Issue 12: Difference between revisions

From XPUB & Lens-Based wiki
Line 11: Line 11:
== Prepare materials on hub ==
== Prepare materials on hub ==


Move the recorded files to the radio folder: hub.sandbox:/var/www/html/radio
Move the recorded files to the radio folder: sandbox:/var/www/html/radio


  scp file.mp3 hub.sandbox:/var/www/html/radio
  scp file.mp3 sandbox:/var/www/html/radio


If necessary, convert mp4 to mp3  
If necessary, convert mp4 to mp3  

Revision as of 07:16, 20 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: sandbox:/var/www/html/radio

scp file.mp3 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)

See also: https://pzwiki.wdka.nl/mediadesign/Prototyping/2019-2020/T3#Playlist

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.

Icecast Dashboard

http://echo.lurk.org:999/