User:E.zn/prototyping3: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 8: Line 8:
mv <filename>.mp3 <newname>.mp3
mv <filename>.mp3 <newname>.mp3
</pre>
</pre>
Make a first playlist:
<pre>
cd /srv/radio
ls /var/www/html/*.mp3 >> playlist.m3u
</pre>
Edit Playlist
<pre>
nano playlist.m3u
</pre>
Playlist is here: /srv/radio/playlist.m3u
<br>Bash script for liquisdsoap: playlist.sh
<pre>
liquidsoap \
  'output.icecast(%vorbis,
    host = "echo.lurk.org", port = 999,
    password = "<pwd>", mount = "radioimplicancies.mp3",
    mksafe(playlist("playlist.m3u")))'
</pre>
The resulting program is here: http://echo.lurk.org:999/radioimplicancies.mp3
</div>
</div>

Revision as of 15:16, 23 April 2020

Convert mp4 to mp3

ffmpeg -i <filename>.mp4 <filename>.mp3

Rename file

mv <filename>.mp3 <newname>.mp3

Make a first playlist:

cd /srv/radio
ls /var/www/html/*.mp3 >> playlist.m3u

Edit Playlist

nano playlist.m3u 

Playlist is here: /srv/radio/playlist.m3u
Bash script for liquisdsoap: playlist.sh

liquidsoap \
  'output.icecast(%vorbis,
     host = "echo.lurk.org", port = 999,
     password = "<pwd>", mount = "radioimplicancies.mp3",
     mksafe(playlist("playlist.m3u")))'

The resulting program is here: http://echo.lurk.org:999/radioimplicancies.mp3