1# IceGenerator sample configuration file 2 3####################################################### 4# Server section 5####################################################### 6 7# IP (REQUIRED) 8IP=127.0.0.1 9 10# Port (REQUIRED) 11PORT=8000 12 13# Type (REQUIRED) 14# 1 - Icecast 1.3.21 or Shoutcast (ICY protocol compatible) 15# 2 - Icecast 2.0 (HTTP protocol compatible) 16SERVER=2 17 18# Mount point for MP3/OGG streaming. (REQUIRED) 19# REMEMBER TO SET A VIRTUAL MOUNT POINT HERE FOR OGG STREAMING. MANY 20# PLAYERS (LIKE WINAMP, XMMS, ETC.) CAN'T AUTO RECOGNIZE OGG STREAMING 21# WITHOUT .OGG EXTENSION. 22MOUNT=/ 23 24 25 26####################################################### 27# User section 28####################################################### 29 30# Source user name (usually IceCast is configured for "source"). (REQUIRED) 31SOURCE=source 32 33# Server connection password (REQUIRED) 34PASSWORD=mypassword 35 36 37 38####################################################### 39# File and playlist section 40####################################################### 41 42# Format (REQUIRED) 43# 0 - Ogg Vorbis 44# 1 - MP3 45FORMAT=1 46 47# Path for MP3s/OGGs. (REQUIRED) 48# This variable has the following format: 49# playlist_type:playlist_data 50# where playlist_type is 51# pth: list of dirs 52# sql: MySQL server table 53# pql: PostGreSQL server table 54# pls: PLS file 55# m3u: M3U file 56# 57# pth case 58# playlist_data is your mp3's directories separated with full commas 59# eg: pth:/path1;/path2;path3 60# 61# pql/sql case 62# playlist_data is your PostGreSQL/MySQL connection data (separated with 63# full commas) in the following order: 64# sql:host;port;user;password;database;table;field where: 65# host is SQL server hostname or IP 66# port is SQL server port. If 0, default port will be used 67# user is SQL user authorized to database read access 68# password is SQL user password 69# database is SQL db name that contains mp3 data 70# table is SQL table of database that contains mp3 data 71# field is SQL table's field that contains mp3 pathname 72# 73# m3u/pls case 74# you have to specify a M3U/PLS standard playlist file path. 75# eg: pls:/my_path/my_playlist.pls 76MP3PATH=pth:/your_mp3_path;/your_2nd_mp3_path 77 78# Set this flag to search recursively from root directories specified (default is disabled) 79RECURSIVE=0 80 81# File to record the stream to on the server (default is none) 82DUMPFILE= 83 84# Loop playlist (default is enabled) 85LOOP=1 86 87# Set this flag to play your music in random order (default is enabled), otherwise 88# alphabetic order will be used 89SHUFFLE=1 90 91####################################################### 92# Information 93####################################################### 94 95# In next four variables u can put your metadata information that will be 96# sent to clients. You can use any string you want. 97 98# Name of the stream (default none). 99NAME=Your radio name 100 101# Genre of the stream (default none). 102GENRE=Your radio genre 103 104# Description of the stream (default none). 105DESCRIPTION=Your radio description 106 107# Url of the stream (default none). 108URL=Your radio URL 109 110# Bitrate of the stream. Its value is purely informational. It doesn't 111# affect real bitrate of your MP3s (default 24000). 112BITRATE=24000 113 114# Flag to list the stream in directories (default 0) 115PUBLIC=0 116 117# Set this flag to specify time elapsed between META information update in seconds 118# (default is 5). A value of 0 disables META information, and only NAME value 119# will be transmitted. 120METAUPDATE=5 121 122# This set global MetaDataFile path for your songs. See README.IceMetal 123# for more info. 124MDFPATH=/mypath/global.mdf 125 126 127####################################################### 128# Debug and logging information 129####################################################### 130 131# Log 132# 0 - None 133# 1 - System logger 134# 2 - File 135LOG=2 136 137# Log path 138# Specify where you want to log IceG actions. Defaults to /var/log/icegenerator.log 139# if not specified 140LOGPATH=/var/log/icegenerator.log 141 142####################################################### 143# Telnet interface 144####################################################### 145 146# Now IceGenerator has a minimal telnet interface that 147# receives run-time commands to change IceGenerator 148# behaviour while streaming. Case is insensitive. 149# ALL COMMAND MUST BE FOLLOWED BY A TRAILING DOT!!! 150# Telnet commands are: 151# TRACK 152# Returns information about current track 153# LOOP 154# Returns information about current LOOP setting 155# LOOPON 156# Turns on playlist loop 157# LOOPOFF 158# Turns off playlist loop 159# SHUFFLE 160# Returns informations about current SHUFFLE setting 161# SHUFFLEON 162# Turns on shuffle 163# SHUFFLEOFF 164# Turns off shuffle 165# 166# DATAPORT is used to specify telnet port. If not specified, telnet 167# interface will be disabled. If 0, 8796 (default port) will be used. 168DATAPORT=8796 169