Configuration:SimpleDJ

From ShoutIRC RadioBot Wiki
Jump to navigation Jump to search
Configuration Sections vde

ircbot.conf Format
RadioBot Sections
Base
Example
IRC
Example
SS
Example
Timer Plugin
Most Popular Plugin Sections
AutoDJ SAM
Example
SimpleDJ DCC
Example
TTS
Example
Welcome
Other Plugin Sections
Auto_Identify Centovacast
Example
ChanAdmin
Example
ChannelLinking ChatGPT Forum
Jabber Hangman LastFM Logging LevelEmul Mumble
Example
Pidgin PublicVote SC_Proxy ShowSchedule Skype SMS
SS_Admin TeamSpeak3
Example
Telnet Trivia TuneIN
Example
Twitter
Example
Uno Users_MySQL
Example
Users_Shared


These options control the SimpleDJ plugin.

SimpleDJ

SimpleDJ/Server

This section sets the main information for your stream.

Password			server_stream_pass
Mandatory
Sets the streaming password for your server. (note: this is your streaming password, not admin password, on servers where there is a difference)
Name				Name for your Stream
Mandatory
Sets the name SimpleDJ will use for your stream
Description			Description for your stream
Mandatory
Sets the description SimpleDJ will use for your stream
Genre				Various
Mandatory
Sets the genre SimpleDJ will use for your stream
URL				http://www.example.com
Optional
Sets the URL SimpleDJ will send for your stream
ICQ				123456789
Optional
Sets the ICQ # SimpleDJ will send for your stream
AIM				aim_username
Optional
Sets the AIM nick SimpleDJ will send for your stream
IRC				#channel, or irc://irc.server.com/channel
Optional
Sets the IRC server/channel SimpleDJ will send for your stream
Public				1
Optional
Sets the public flag SimpleDJ will send for your stream
Reset				1
Optional
Sets whether icy-reset: 1 is sent in your connection headers (shoutcast only) (default: 0)
Bitrate				64
Mandatory
Sets the bitrate the Encoder will use when encoding your stream (in kbps)
Sample				44100
Mandatory
Sets the samplerate the Encoder will use when encoding your stream
Channels			2
Mandatory
Sets the number of channels in your audio files. 1 = Mono, 2 = Stereo
Mount				/
Optional
Sets the mountpoint for your stream (Icecast2 only)
Content			c:\path\mp3 (Win32)
Content			/some/path/mp3 (Absolute Path in Linux)
Content			./mp3 (Relative Path in Linux)
Content			c:\path\mp3;c:\more\mp3s (multiple content directories in Win32)
Mandatory
Sets the folder your music is in
Promo				c:\path\promos (Win32)
Promo				/some/path/promos (Absolute Path in Linux)
Promo				./promos (Relative Path in Linux)
Optional
Sets the folder your promo files are in

SimpleDJ/ServerX

You can use these sections to enable multiple outputs of your stream. It uses all the same parameters as the SimpleDJ/Server section and uses any values in that section as defaults for the ServerX sections.

Your outputs can all be different codecs, bitrates, etc. and the X number lines up with your Sound Server SS/ServerX numbers.

There is one extra configuration directive in these that is not available in the main SimpleDJ/Server section:

Enabled			0 or 1
Optional
Sets whether this server should be fed a stream. (default: 1 in Server0, 0 for all others)

SimpleDJ/Options

This section holds various SimpleDJ options.

QueuePlugin			.\plugins\adjq_memory.dll (Win32)
QueuePlugin			./plugins/adjq_memory.so (Linux)
Optional
Sets the queue plugin to use (default: adjq_memory)
AutoStart			0 or 1
Optional
Specifies whether or not you want SimpleDJ to start playing when the bot starts (default: 1)
AutoPlayIfNoSource		60
Optional
If the number is greater than 0, SimpleDJ will start playing if your shoutcast server doesn't have a source for over X seconds (default: 0)
EnableRequests			0 or 1
Optional
Specifies whether or not you want SimpleDJ to accept requests (default: 1) (EnableRequestSystem must be on in the Base section as well for it to work)
EnableFind			0 or 1
Optional
Enables or disables the find command (@find) (EnableFind and EnableRequestSystem must be on in the Base section as well for it to work)
EnableYP			0 or 1
Optional
Specifies whether or not you want your stream added to the ShoutIRC.com stream list (default: 1)
MinReqTimePerSong              60
Optional
Sets the minimum number of seconds that must pass before a song is requested again. (default: 0/disabled)
DoPromos			X
Optional
Sets after how many songs a set of promos is played. This is a modulus so 2 would player after every other song, etc.
NumPromos			X
Optional
Sets how many promos to play in a set. Default/minium is 1.
NoRepeat			X
Optional
Tells SimpleDJ not to play any song more often than X seconds. (Unless done by !request or the scheduler)
MoveDir			c:\path\moved (Win32)
MoveDir			/some/path/moved (Absolute Path in Linux)
MoveDir			./moved (Relative Path in Linux)
Optional
Sets the folder files are moved to when you use !move or !SimpleDJ-move (note: these commands won't work without a MoveDir set)
NoPlayFilters			*badsong.mp3*,*/some/folder*
Optional
This sets filters to block songs from playing during normal rotation, while allowing them to be requested or queued by the SimpleDJ Scheduler
Multiple filters can be specified be seperating them with commas (,)
EnableVoice			0 or 1
Optional
Enables or disables the SimpleDJ Voice
VoiceArtist			Artist
VoiceTitle			The voice of SimpleDJ
Optional
This sets the meta data (think ID3 tag) to use for the SimpleDJ voice when it is talking.

SimpleDJ/FileLister

These options control the internal playlist writer of your songs.

List				file.txt/html/whatever
Optional
This sets the filename the playlist will be written to
Header				header.txt
Optional
Sets a file that should be written to the top of your playlist before the songs, default is no header
Footer				footer.txt
Optional
Sets a file that should be written to the end of your playlist, default is no footer
NewChar			%char%
Optional
Sets text to be written when the writer detects a change in the first character of the filenames being written, default is nothing written on new chars
Line				%file%
Optional
Sets the text written for each file, default is %file%

SimpleDJ/Queue_MySQL

These options control the MySQL Queue plugin.

Host				localhost
Required
Sets the hostname of your MySQL Server
User				mysql_username
Required
Sets the username to use to login to your MySQL Server
Pass				mysql_password
Optional
Sets the password to use to login to your MySQL Server. (comment out or remove line for no password)
DBName				database
Required
Sets which database to use. This database must already exist
DBTable				SimpleDJ
Optional
Sets which database table to use. The plugin will attempt to create this table if it doesn't already exist. (default: SimpleDJ)
KeepHistory				0
Optional
If # is greater than 0, the plugin will keep your request history for # days (default: 0)


RadioBot vde

RadioBot main pages
Main PageInstallationChangelogCommandsPluginsFAQConfigurationCreditsRemote ClientBuilt-In VariablesMulti Sound Server ModeUsername Character Restrictions
Auto DJ Pages
Auto DJ Main PageWebRequest SystemSchedulerMP3 EncoderVoice SupportMySQL Plugin