Difference between revisions of "Main Page/Stuff/Icecast instructions"
From phurvitz
Phil Hurvitz (talk | contribs) |
Phil Hurvitz (talk | contribs) |
||
Line 12: | Line 12: | ||
<pre> | <pre> | ||
icegenerator -f /home/phurvitz/icecast/icegenerator.conf.3 (or whatever icegenerator file) | icegenerator -f /home/phurvitz/icecast/icegenerator.conf.3 (or whatever icegenerator file) | ||
+ | </pre> | ||
+ | |||
+ | the icegenerator file reading from an m3u file: | ||
+ | <pre> | ||
+ | NAME=Gismo Streaming Server | ||
+ | IP=128.208.113.5 | ||
+ | PORT=8000 | ||
+ | # 2 - Icecast 2.0 (HTTP protocol compatible) | ||
+ | SERVER=2 | ||
+ | SOURCE=source | ||
+ | PASSWORD=LUCINDA | ||
+ | FORMAT=1 | ||
+ | RECURSIVE=1 | ||
+ | DUMPFILE= | ||
+ | LOOP=1 | ||
+ | SHUFFLE=0 | ||
+ | BITRATE=48000 | ||
+ | PUBLIC=0 | ||
+ | METAUPDATE=5 | ||
+ | MDFPATH=/mypath/global.mdf | ||
+ | LOG=2 | ||
+ | LOGPATH=/var/log/icegenerator.log | ||
+ | DATAPORT=8796 | ||
+ | |||
+ | ####################################################### | ||
+ | MOUNT=/jobim | ||
+ | MP3PATH=m3u:/home/phurvitz/phmusic/j/Jobim/jobin.m3u | ||
+ | GENRE=Brasilian Jazz | ||
+ | DESCRIPTION=Home Radio | ||
+ | URL=http://gismo.gis.washington.edu:8000/jobim | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | the icegenerator file reading from contents of a directory recursively: | ||
+ | <pre> | ||
+ | NAME=Gismo Streaming Server | ||
+ | IP=128.208.113.5 | ||
+ | PORT=8000 | ||
+ | # 2 - Icecast 2.0 (HTTP protocol compatible) | ||
+ | SERVER=2 | ||
+ | SOURCE=source | ||
+ | PASSWORD=LUCINDA | ||
+ | FORMAT=1 | ||
+ | RECURSIVE=1 | ||
+ | DUMPFILE= | ||
+ | LOOP=1 | ||
+ | SHUFFLE=1 | ||
+ | BITRATE=48000 | ||
+ | PUBLIC=0 | ||
+ | METAUPDATE=5 | ||
+ | MDFPATH=/mypath/global.mdf | ||
+ | LOG=2 | ||
+ | LOGPATH=/home/phurvitz/icecast/logs/icegenerator.log | ||
+ | DATAPORT=8796 | ||
+ | |||
+ | ####################################################### | ||
+ | MOUNT=/test1 | ||
+ | MP3PATH=pth:/home/phurvitz/phmusic | ||
+ | GENRE=All random | ||
+ | DESCRIPTION=Home Radio | ||
+ | URL=http://gismo.gis.washington.edu:8000/test1 | ||
</pre> | </pre> |
Revision as of 20:07, 4 October 2007
On gismo:
as root:
su - iceuser cd /usr/local/icecast2 icecast -c icecast.xml & exit
as phurvitz:
icegenerator -f /home/phurvitz/icecast/icegenerator.conf.3 (or whatever icegenerator file)
the icegenerator file reading from an m3u file:
NAME=Gismo Streaming Server IP=128.208.113.5 PORT=8000 # 2 - Icecast 2.0 (HTTP protocol compatible) SERVER=2 SOURCE=source PASSWORD=LUCINDA FORMAT=1 RECURSIVE=1 DUMPFILE= LOOP=1 SHUFFLE=0 BITRATE=48000 PUBLIC=0 METAUPDATE=5 MDFPATH=/mypath/global.mdf LOG=2 LOGPATH=/var/log/icegenerator.log DATAPORT=8796 ####################################################### MOUNT=/jobim MP3PATH=m3u:/home/phurvitz/phmusic/j/Jobim/jobin.m3u GENRE=Brasilian Jazz DESCRIPTION=Home Radio URL=http://gismo.gis.washington.edu:8000/jobim
the icegenerator file reading from contents of a directory recursively:
NAME=Gismo Streaming Server IP=128.208.113.5 PORT=8000 # 2 - Icecast 2.0 (HTTP protocol compatible) SERVER=2 SOURCE=source PASSWORD=LUCINDA FORMAT=1 RECURSIVE=1 DUMPFILE= LOOP=1 SHUFFLE=1 BITRATE=48000 PUBLIC=0 METAUPDATE=5 MDFPATH=/mypath/global.mdf LOG=2 LOGPATH=/home/phurvitz/icecast/logs/icegenerator.log DATAPORT=8796 ####################################################### MOUNT=/test1 MP3PATH=pth:/home/phurvitz/phmusic GENRE=All random DESCRIPTION=Home Radio URL=http://gismo.gis.washington.edu:8000/test1