summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 42332b8)
raw | patch | inline | side by side (parent: 42332b8)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Tue, 22 Nov 2011 22:33:01 +0000 (23:33 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 2 Dec 2011 11:08:34 +0000 (12:08 +0100) |
src/screen_song.c | patch | blob | history |
diff --git a/src/screen_song.c b/src/screen_song.c
index 9154f9ab1379ffe9b4a48b7dc6319e1a0511c655..bed952fc11cf19901948ce91d0345cfa82cc9b54 100644 (file)
--- a/src/screen_song.c
+++ b/src/screen_song.c
enum {
LABEL_LENGTH = MPD_TAG_COUNT,
+ LABEL_PATH,
LABEL_BITRATE,
};
[MPD_TAG_DATE] = N_("Date"),
[MPD_TAG_GENRE] = N_("Genre"),
[MPD_TAG_COMMENT] = N_("Comment"),
+ [LABEL_PATH] = N_("Path"),
[LABEL_BITRATE] = N_("Bitrate"),
};
screen_song_append_tag(song, MPD_TAG_GENRE);
screen_song_append_tag(song, MPD_TAG_COMMENT);
- screen_song_append(_("Path"), mpd_song_get_uri(song),
+ screen_song_append(_(tag_labels[LABEL_PATH]), mpd_song_get_uri(song),
max_tag_label_width);
if (mpdclient_is_playing(c) && c->song != NULL &&
strcmp(mpd_song_get_uri(c->song), mpd_song_get_uri(song)) == 0 &&