summaryrefslogtreecommitdiff
path: root/apps/plugins/properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r--apps/plugins/properties.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c
index f94b3934c3..bc892a4464 100644
--- a/apps/plugins/properties.c
+++ b/apps/plugins/properties.c
@@ -37,6 +37,7 @@ char str_artist[MAX_PATH];
37char str_albumartist[MAX_PATH]; 37char str_albumartist[MAX_PATH];
38char str_album[MAX_PATH]; 38char str_album[MAX_PATH];
39char str_genre[MAX_PATH]; 39char str_genre[MAX_PATH];
40char str_comment[MAX_PATH];
40char str_duration[32]; 41char str_duration[32];
41 42
42unsigned nseconds; 43unsigned nseconds;
@@ -58,6 +59,7 @@ static const unsigned char* const props_file[] =
58 ID2P(LANG_PROPERTIES_TITLE), str_title, 59 ID2P(LANG_PROPERTIES_TITLE), str_title,
59 ID2P(LANG_PROPERTIES_ALBUM), str_album, 60 ID2P(LANG_PROPERTIES_ALBUM), str_album,
60 ID2P(LANG_PROPERTIES_GENRE), str_genre, 61 ID2P(LANG_PROPERTIES_GENRE), str_genre,
62 ID2P(LANG_PROPERTIES_COMMENT), str_comment,
61 ID2P(LANG_PROPERTIES_DURATION), str_duration, 63 ID2P(LANG_PROPERTIES_DURATION), str_duration,
62}; 64};
63static const unsigned char* const props_dir[] = 65static const unsigned char* const props_dir[] =
@@ -131,7 +133,9 @@ static bool file_properties(const char* selected_file)
131 "%s", id3.album ? id3.album : ""); 133 "%s", id3.album ? id3.album : "");
132 rb->snprintf(str_genre, sizeof str_genre, 134 rb->snprintf(str_genre, sizeof str_genre,
133 "%s", id3.genre_string ? id3.genre_string : ""); 135 "%s", id3.genre_string ? id3.genre_string : "");
134 num_properties += 5; 136 rb->snprintf(str_comment, sizeof str_comment,
137 "%s", id3.comment ? id3.comment : "");
138 num_properties += 6;
135 139
136 if (dur > 0) 140 if (dur > 0)
137 { 141 {