Plugin:AutoDJ

From IRCBotWiki

Jump to: navigation, search

The Auto DJ plugin is the next phase in station automation and is designed to fully replace mp3_source (and ogg_source).

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

Contents

AutoDJ Components

Main Random Queue (100%)
Full Transcoding Auto DJ and Simple Mode
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%)
 OGG Decoder (libvorbisfile) (100%)
 FLAC Decoder (libflac) (100%)
 Waveform Decoder (Supports: WAV, AU, SND, PAF, VOC) (libsndfile) (100%)
 ffmpeg Decoder (Supports: many formats including audio from video files, depends on build/system) (95%, done but not well tested)
Encoders
 MP3 Encoder (libmp3lame) (100%)
 Winamp Encoder (AAC+, lame, etc.)
 AAC Encoder(faac) (99%) - Working, not well tested
 OGG Encoder (libvorbisenc) (99%) - Working, not well tested
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 AutoDJ

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

Libraries in use by AutoDJ Plugins

MP3 Decoder (adj_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)
 id3lib for reading ID3 (v1 & v2) and MusicMatch tags (LGPL)
MP3 Encoder (adj_enc_mp3.dll/so)
 libmp3lame for encoding the mp3 stream (LGPL)
OGG Decoder (adj_dec_ogg.dll/so)
 libvorbisfile for decoding OGG audio files (Xiph.org License)
FLAC Decoder (adj_dec_flac.dll/so)
 libflac for decoding FLAC audio files (New BSD License)
Waveform Decoder (adj_dec_wav.dll/so)
 libsndfile (LGPL)
ffmpeg Decoder (adj_dec_ffmpeg.dll/so)
 Uses libavformat/libavcodec (LGPL or GPL depending on your particular build, linked dynamically for licensing)

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
Personal tools