Plugin:AutoDJ
From IRCBotWiki
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%) Waveform Decoder (Supports: WAV, AU, SND, PAF, VOC) (libsndfile) (95%, done but not well tested) ffmpeg Decoder (Supports: many formats, depends on build/system) (95%, done but not well tested) Encoders MP3 Encoder (lame) (100%) Winamp Encoder (AAC+, lame, etc.) (95%, done but not well tested) AAC Encoder(faac) (99%) - Working, not well tested OGG Encoder (0%) - Nobody has expressed any interest in this, holding off until someone requests it. 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) Older versions use: id3lib for reading ID3 (v1 & v2) and MusicMatch tags (LGPL) MP3 Encoder (adj_enc_mp3.dll/so) Drift Standard Libraries libmp3lame for encoding the mp3 stream (LGPL) OGG Decoder (adj_dec_ogg.dll/so) Drift Standard Libraries libvorbisfile for decoding OGG audio files (Xiph.org License) Waveform Decoder (adj_dec_wav.dll/so) libsndfile (LGPL) ffmpeg Decoder (adj_dec_ffmpeg.dll/so) Uses libavformat/libavcodes (LGPL or GPL depending on your particular build, linked dynamically for licensing)
OS Support
| Operating System: | Win32 | Win64 Native | Linux/Unix | FreeBSD |
|---|---|---|---|---|
| Supported: | Yes | No | Yes | Yes |
| IRCBot v • d • e
|
|---|
| IRCBot main pages |
| Main Page • Installation • Changelog • Commands • Plugins • FAQ • Configuration• Credits • Remote Client • Buffered Send • Built-In Variables • Multi Sound Server Mode |
| Auto DJ Pages |
| Auto DJ Main Page • WebRequest System • Scheduler • MP3 Encoder • Voice Support • MySQL Plugin |
