summaryrefslogtreecommitdiff
path: root/plugins/gtkui/trkproperties.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-17 20:06:02 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-17 20:06:02 +0100
commita7f8a0cdaad783fb53ef7b5f89279a0be969d911 (patch)
tree01001de0a6a57d2d0730ac4f8f522dd58e13b1ba /plugins/gtkui/trkproperties.c
parent9c07cc41bd33642fb28f446b43755412c5a8f07e (diff)
added band / album artist display to track properties
Diffstat (limited to 'plugins/gtkui/trkproperties.c')
-rw-r--r--plugins/gtkui/trkproperties.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/gtkui/trkproperties.c b/plugins/gtkui/trkproperties.c
index 2322b730..9f196671 100644
--- a/plugins/gtkui/trkproperties.c
+++ b/plugins/gtkui/trkproperties.c
@@ -75,6 +75,13 @@ show_track_properties_dlg (DB_playItem_t *it) {
meta = "";
}
gtk_entry_set_text (GTK_ENTRY (w), meta);
+ // band
+ w = lookup_widget (widget, "band");
+ meta = deadbeef->pl_find_meta (it, "band");
+ if (!meta) {
+ meta = "";
+ }
+ gtk_entry_set_text (GTK_ENTRY (w), meta);
// album
w = lookup_widget (widget, "album");
meta = deadbeef->pl_find_meta (it, "album");