User:Camilo/issue15: Difference between revisions
Line 71: | Line 71: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
$ liquidsoap myradio.liq | $ liquidsoap myradio.liq | ||
</syntaxhighlight> | |||
===<span style="color:black; font-family: Alike Angular; font-weight: bold;">Collective Coding</span>=== | |||
* bash file: Code | |||
* run it through the terminal | |||
* link pad | |||
>>>>'''script.sh''' | |||
<syntaxhighlight> | |||
while true | |||
do | |||
echo "-----------------------" | |||
echo "downloading the pad ..." | |||
curl https://pad.xpub.nl/p/15.8-webpage/export/txt > index.html ####pad | |||
sleep 10 | |||
done | |||
</syntaxhighlight> | |||
>>>>'''run it''' | |||
<syntaxhighlight> | |||
$ sh script.sh | |||
</syntaxhighlight> | </syntaxhighlight> | ||
=<span style="color:black; font-family: Alike Angular; font-weight: bold;">COLLECTIVE</span>= | =<span style="color:black; font-family: Alike Angular; font-weight: bold;">COLLECTIVE</span>= |
Revision as of 12:18, 14 June 2021
✶.
SUMMARY
RESEARCH
SPECIAL ISSUE 15 RESEARCH EXPLORATION
PADS:
Session 1:
- https://pad.xpub.nl/p/15.1
- https://pad.xpub.nl/p/sheunnamesthem
- https://pad.constantvzw.org/p/implicanties
Session 2:
https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki http://www.warpweftmemory.net/#/notes https://en.wikipedia.org/wiki/Nepantla
PROTOTYPING
Liquid Soap
- icecast: http://echo.lurk.org:999/
- Liquidsoap documentation: https://www.liquidsoap.info/doc-1.4.3/quick_start.html
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 Coding
- bash file: Code
- run it through the terminal
- link pad
>>>>script.sh
while true
do
echo "-----------------------"
echo "downloading the pad ..."
curl https://pad.xpub.nl/p/15.8-webpage/export/txt > index.html ####pad
sleep 10
done
>>>>run it
$ sh script.sh