User:Camilo/issue15: Difference between revisions

From XPUB & Lens-Based wiki
Line 50: Line 50:
</syntaxhighlight>
</syntaxhighlight>
      
      
>>>>'''myradio.m3u'''
>>>>'''playlist.m3u'''


(file: the playlist written)
(file: the playlist written)

Revision as of 18:11, 27 May 2021

Radio.gif

✶.

SUMMARY

RESEARCH

SPECIAL ISSUE 15 RESEARCH EXPLORATION

PADS:

Session 1:

Session 2:

https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki http://www.warpweftmemory.net/#/notes https://en.wikipedia.org/wiki/Nepantla

PROTOTYPING

Liquid Soap

You have to have 3 files

>>>>myradio.liq

set("log.file",false)
set("log.stdout",true)

myradio = audio_to_stereo(playlist("playlist.m3u", mode="normal"))
myradio = normalize(myradio)

%include "/srv/radio/passwords.liq"

output.icecast(%vorbis,
     host = ICECAST_SERVER_HOST, port = ICECAST_SERVER_PORT,
     password = ICECAST_SERVER_PASSWORD, mount = "myradio.ogg",
     mksafe(myradio))

>>>>playlist.m3u

(file: the playlist written)

./myfile.mp3
./secondfile.mp3

>>>>index.html

audio tag:

<audio controls>
        <source src="http://echo.lurk.org:999/myradio.ogg" type="audio/ogg" controls autoplay>
</audio>

>>>>RUN ON TERMINAL INSIDE THE DIRECTORY

$ liquidsoap myradio.liq

COLLECTIVE