Plugin:AutoDJ

From IRCBotWiki
Jump to: navigation, search

The Auto DJ plugin is the next phase in station automation and is designed to fully automate your station when there is no Live DJ.

Contents

AutoDJ Components

Main Random Queue
Full Transcoding Auto DJ
Request System
WebRequest Support
Voice Support
Scheduler
Queue Plugins
 Memory Queue
 MySQL Queue
Decoders
 MP3 Decoder (libmpg123)
 OGG Decoder (libvorbisfile)
 FLAC Decoder (libflac)
 Waveform Decoder (Supports: WAV, AU, SND, PAF, VOC) (libsndfile)
 ffmpeg Decoder (Supports: many formats including audio from video files, depends on build/system)
Encoders
 MP3 Encoder (libmp3lame)
 AAC Encoder (faac) - Working, not well tested
 AAC+ Encoder (libaacplus 2.0.x) - Experimental, seems stable but not well tested yet
 Winamp Encoder (AAC+, lame, etc.)
 OGG Encoder (libvorbisenc)
 FFmpeg Encoder (can be used to stream different container/codec combinations)
Feeders
 SHOUTcast v2 Feeder
 SHOUTcast v1 Feeder
 IceCast2 Feeder
 Steamcast Feeder
Timing Control

PM/Console Commands

Commands Flags Needed Description
!autodj-stop +s Counts down until song is over and disconnects so a Live DJ can connect.
!autodj-force +a Force AutoDJ to disconnect and stop anything it is doing.
!autodj-play +s Connect and start playing MP3s.
!autodj-reload +a Reloads the playlist and re-writes the HTML playlist (if specified in .conf)
!autodj-next +a Stops playing current song and goes to the next one.
!autodj-move +mo (any) When the current song is over it will be moved into the MoveDir defined in the AutoDJ/Options section of your ircbot.conf.
!autodj-reqlist +a This will make AutoDJ show you a list of the currently requested/scheduled songs.
!autodj-reqdelete filename/wildcard +a This will make AutoDJ delete the first requested/scheduled song that matches the filename/wildcard you give.
!autodj-requests [on][off] +a This will make toggle whether AutoDJ will take requests from users.
You can also specify on or off to turn requests on or off.
!autodj-relay +mo (any) Queue's any file on the filesystem, or a stream (stream://host:port/;file.mp3)
!autodj-speak text +mo (any) This will make AutoDJ speak the specified text at the end of the current song (Voice must be enabled).
!autodj-chroot dir[;dir] +mo (any) Changes the content directory on the fly.
!autodj-name +mo (any) Changes the name sent to the sound server on the fly.
!autodj-modules +mo (any) This will display the currently loaded AutoDJ plugins.
!autodj-songtitle title +a This will make AutoDJ send the specified song title to your song server.
!autodj-dopromo +a This will make AutoDJ play a set of your promos after the current song.
!autodj-countdown   This will countdown the current song until it is over (but will not disconnect the bot for a DJ to connect like !autodj-stop)

Channel Commands

Commands Flags Needed Description
!next +a Stops playing current song and goes to the next one.
!songby artist +q Queue's a random song by the specified artist.
!countdown   This will countdown the current song until it is over (but will not disconnect the bot for a DJ to connect like !autodj-stop).
!move +mo (any) When the current song is over it will be moved into the MoveDir defined in the AutoDJ/Options section of your ircbot.conf.
!relay +mo (any) Queue's any file on the filesystem, or a stream (stream://host:port/;file.mp3).

Remote Commands

Responds to standard 0x3X source control codes

IPC Messages Supported

Supports all source messages.

Configuration

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

Custom Messages

If you are using the AutoDJ Voice, you can customize what it says by defining messages in your ircbot.text.
For example, here are the defaults:

ADJVoice_0=You are listening to ShoutIRC Radio. Coming up next: %song
ADJVoice_1=This is Auto DJ, the bot with Style. Coming up next: %song
ADJVoice_2=This is Auto DJ spinning. Next up is: %song
ADJVoice_3=Coming up next: %song
ADJVoice_4=You are listening to ShoutIRC Radio. Next up is: %song
ADJVoice_5=This is Auto DJ spinning. Coming up next: %song
ADJVoice_6=Now playing: %song

Libraries in use by AutoDJ Plugins

MP3 Decoder (adj_dec_mp3.dll/so)
 LibSSMT by Drift Solutions for reading ShoutIRC Streaming Meta Tags
 libmpg123 (LGPL)
 taglib for reading ID3 (v1 & v2) and MusicMatch tags (LGPL)
MP3 Encoder (adj_enc_mp3.dll/so)
 libmp3lame for encoding the mp3 stream (LGPL)
AAC Encoder (adj_enc_aac.dll/so)
 faac for encoding the AAC stream (LGPL)
AAC+ Encoder (adj_enc_aacplus.dll/so)
 libaacplus 2.0.x for encoding the AAC+ stream (LGPL)
ffmpeg Encoder (adj_enc_ffmpeg.dll/so)
 Uses libavformat/libavcodec (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)

OS Support

Operating System: Win32 Win64 Native Linux/Unix FreeBSD
Supported: Yes No Yes Yes



IRCBot vde

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