|
|
|
@ -94,12 +94,12 @@ class Audio(Bureau):
|
|
|
|
|
Prints the currently playing song or stream on the small printer.
|
|
|
|
|
"""
|
|
|
|
|
out = "Now Playing: "
|
|
|
|
|
out += self.player.title + "\n"
|
|
|
|
|
if self.player.artist != "":
|
|
|
|
|
if self.player.title:
|
|
|
|
|
out += self.player.title + "\n"
|
|
|
|
|
if self.player.artist:
|
|
|
|
|
out += "by " + self.player.artist + "\n"
|
|
|
|
|
if self.player.album != "":
|
|
|
|
|
out += "from the album '" + self.player.album \
|
|
|
|
|
+ "'\n"
|
|
|
|
|
if self.player.album:
|
|
|
|
|
out += "from the album '" + self.player.album + "'\n"
|
|
|
|
|
|
|
|
|
|
# TODO: add fields for "organization" and "location" for gstreamer-player
|
|
|
|
|
# so we can get the station ID stuff
|
|
|
|
|