mpd-not: tweak to the output format

This commit is contained in:
Brian S. Stephan 2017-02-04 22:00:42 -06:00
parent f539df064c
commit 12a031aed6

View File

@ -64,7 +64,7 @@ def notify_song():
title = current.get('title', "Unknown")
album = current.get('album', "Unknown")
np = "{0:s} - [{1:s}] {2:s}".format(artist, album, title)
np = "{0:s} - {1:s} [{2:s}]".format(artist, title, album)
if np != last_np:
last_np = np
logger.debug("notifying: {0:s}".format(np))