Configuration:SAM

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 SAM Broadcaster plugin.

SAM

MatchDJ                        SAM
Required
Sets the text to match in the current DJ text (SHOUTcast station name) to know when SAM is playing
SAM_Host                       10.0.0.1
Optional
The IP address of the PC SAM is running on (default: localhost).
SAM_Port                       1221
Optional
The port SAM is listening on (default: 1221).
EnableRequests			0 or 1
Optional
Specifies whether or not you want the plugin to accept requests (default: 1)
EnableFind			0 or 1
Optional
Enables or disables the find command (@find) (default: 1)
WildMode			0, 1, or 2
Optional
Changes how songs are searched with @find (default: 0)
0 = Filename search, 1 = ID3 "artist title" search, 2 = Both (this will put the most load on your MySQL server)
EnableYP			0 or 1
Optional
Enables or disables listing your stream on the ShoutIRC.com stream list (YP) (default: 1)
YPGenre				Rock
Optional
Sets your stream genre for listing in the ShoutIRC.com YP (default: blank)
AdjustWeight				20
Optional
Sets the amount to adjust the song weight by in SAM when a song is requested (default: 0/disabled)
AdjustWeightOnRating1			-20
AdjustWeightOnRating2			-10
AdjustWeightOnRating3			5
AdjustWeightOnRating4			10
AdjustWeightOnRating5			20
Optional
Sets the amount to adjust the song weight by in SAM when a song is rated with !rate (default: 0/disabled)
Note: You can set only some of these if you want, any of them unset will remain at 0 for no weight adjustment.
AdjustWeightOnRatingTime		86400
Optional
Makes it so weighting adjustments from song ratings can only be applied every X seconds (default: 86400)
MinReqTimePerSong              60
Optional
Sets the minimum number of seconds that must pass before a song is requested again. (default: 0/disabled)
MinReqTimePerUser              60
Optional
Sets the minimum number of seconds that must pass before the same person can request another song. (default: 0/disabled)
MinReqTimePerUserKick          3
Optional
Will kick/ban user from room if he tries to request a song before he's supposed to X times. (default: 0/disabled)
MinReqTimePerUserBanTime       300
Optional
Sets the minimum number of seconds to ban someone if they break the MinReqTimePerUserKick limit. (default: 300)
MaxNextResults			5
Optional
Sets the maximum number of results !next/!sam-next will return, default is 5
NoRequestFilters		*badsong.mp3*,*/some/folder*
Optional
This sets filters to block songs from being requested by users.
Multiple filters can be specified be seperating them with commas (,)
NoRequestFiltersKick          3
Optional
Will kick/ban user from room if he tries to request filtered song X times in an hour (timer resets with each request). (default: 0/disabled)
NoRequestFiltersBanTime       300
Optional
Sets the minimum number of seconds to ban someone if they break the NoRequestFiltersKick limit. (default: 300)

SAM/MySQL

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				samdb
Required
Sets which database to use. This database must already exist


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