forked from GitHub/dbot
?
This commit is contained in:
parent
db25eadedf
commit
8cd0b07c76
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user