wuvt: update output format
parent
c859ad0d53
commit
62893cb9c1
|
@ -19,14 +19,14 @@ def wuvt(phenny, input):
|
||||||
|
|
||||||
if 'listeners' in trackinfo:
|
if 'listeners' in trackinfo:
|
||||||
phenny.say(
|
phenny.say(
|
||||||
"{dj} is currently playing {title} by {artist} with {listeners:d} "
|
"{dj} is currently playing \"{title}\" by {artist} with "
|
||||||
"online listeners".format(
|
"{listeners:d} online listeners".format(
|
||||||
dj=trackinfo['dj'],
|
dj=trackinfo['dj'],
|
||||||
title=trackinfo['title'],
|
title=trackinfo['title'],
|
||||||
artist=trackinfo['artist'],
|
artist=trackinfo['artist'],
|
||||||
listeners=trackinfo['listeners']))
|
listeners=trackinfo['listeners']))
|
||||||
else:
|
else:
|
||||||
phenny.say("{dj} is currently playing {title} by {artist}".format(
|
phenny.say("{dj} is currently playing \"{title}\" by {artist}".format(
|
||||||
dj=trackinfo['dj'],
|
dj=trackinfo['dj'],
|
||||||
title=trackinfo['title'],
|
title=trackinfo['title'],
|
||||||
artist=trackinfo['artist']))
|
artist=trackinfo['artist']))
|
||||||
|
|
Loading…
Reference in New Issue