mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
radio thing
This commit is contained in:
parent
ba393020b2
commit
7b3489225c
@ -32,7 +32,7 @@ var radio = function(dbot) {
|
||||
|
||||
stream.on('metadata', function(metadata) {
|
||||
var title = icecast.parseMetadata(metadata).StreamTitle;
|
||||
if(!_.isUndefined(title)) {
|
||||
if(title != 'undefined') { // sowwy jesus
|
||||
_.each(this.config.announce, function(a) {
|
||||
dbot.say(a.server, a.name, dbot.t('now_playing', {
|
||||
'name': this.data['icy-name'],
|
||||
|
Loading…
Reference in New Issue
Block a user