Plugin:SimpleDJ

From IRCBotWiki

Jump to: navigation, search

The Simple DJ plugin is a direct port of the AutoDJ from IRCBot v3 to IRCBot v4.
It works just like the old AutoDJ, except it only has Simple Mode support.
Right now it even uses the same AutoDJ section in ircbot.conf; it might be changed to SimpleDJ in the future however.

In addition to the standard IRC and Remote interfaces, it manages your station's content with what I call Program Control (PGC).

Contents

SimpleDJ Components

Main Random Queue (100%)
Simple Mode only
Request System (100%)
Meta Cache (100%)
Song Rating System (100%)
NoPlayFilters (100%)
Subdirectory Recursion (100%)
Voice Support (100%)
Scheduling (100%)
Queue Plugins
 Memory Queue
 MySQL Queue
Decoders
 MP3 Decoder (libmad) (100%)
Feeders
 ShoutCast Feeder (100%)
 IceCast2 Feeder (100%)
Timing Control (100%)

Triggers

Channel
 !request
 !next
 @find string
 !relay stream://host:port/;listen.mp3
 !relay /any/file/in/filesystem
 !move - Moves current song into MoveDir (only enabled if MoveDir is specified)
Private Message/Console
 !autodj-stop
 !autodj-play
 !autodj-force
 !autodj-name - Changes the name sent to the sound server
 !autodj-reload - Rescans content directory for files & reloads the schedule
 !autodj-move - Moves current song into MoveDir (only enabled if MoveDir is specified)
 !autodj-chroot new_folder - Changes the content folder to new_folder
 !autodj-clear - Clears out the existing Meta Cache.

Remote Commands

Responds to standard 0x3X source control codes

IPC Messages Supported

SOURCE_C_STOP
SOURCE_C_PLAY
SOURCE_I_STOPPING
SOURCE_I_STOPPED
SOURCE_I_PLAYING

Configuration

See ircbot.conf for example config, or the Configuration page.

Libaries in use by SimpleDJ

Drift Standard Libraries
MT19937 (Mersenne Twister), (MIT-Style License)

Libraries in use by SimpleDJ Plugins

MP3 Decoder (sdj_dec_mp3.dll/so)
 Drift Standard Libraries
 LibCPUM by Drift Solutions for reading CPU Killer's Streaming Meta Tags
 libmad (Linked dynamically for licensing)
 taglib for reading ID3 (v1 & v2) and MusicMatch tags (LGPL)

OS Support

Operating System:Win32Win64 NativeLinux/UnixFreeBSD
Supported: YesNoYesYes



IRCBot vde

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