From d17ae08f03485041cdb22aa5d3ee0eb75b6d3bc7 Mon Sep 17 00:00:00 2001 From: coderkun Date: Mon, 23 Jul 2012 13:56:43 +0200 Subject: [PATCH] Reformatted track info in toolbar --- mcgGtk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mcgGtk.py b/mcgGtk.py index d3099c8..976371b 100755 --- a/mcgGtk.py +++ b/mcgGtk.py @@ -311,7 +311,8 @@ class Toolbar(Gtk.Toolbar): def set_album(self, album, pos): - info = "{0} – {1} – {2} – {3}".format(album.get_tracks()[pos].get_title(), pos+1, album.get_title(), album.get_artist()) + info = "{0} – {1} ({2}. {3})".format(album.get_artist(), album.get_title(), pos+1, album.get_tracks()[pos].get_title()) + #info = "{0} – {1} – {2} – {3}".format(album.get_tracks()[pos].get_title(), pos+1, album.get_title(), album.get_artist()) self._track_label.set_text(info)