This commit is contained in:
reality 2015-07-20 15:19:57 +00:00
parent db25eadedf
commit 8cd0b07c76

View File

@ -38,7 +38,7 @@ var radio = function(dbot) {
this.title = icecast.parseMetadata(metadata).StreamTitle; this.title = icecast.parseMetadata(metadata).StreamTitle;
if(!_.isUndefined(this.title) && this.data['icy-name']) { // sowwy jesus if(!_.isUndefined(this.title) && this.data['icy-name']) { // sowwy jesus
_.each(this.config.announce, function(a) { _.each(this.config.announce, function(a) {
if(!this.recentUpdate) { if(this.recentUpdate == false) {
dbot.say(a.server, a.name, dbot.t('now_playing', { dbot.say(a.server, a.name, dbot.t('now_playing', {
'name': this.data['icy-name'], 'name': this.data['icy-name'],
'song': this.title, 'song': this.title,