diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/properties.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c index 07a953c432..620c08a332 100644 --- a/apps/plugins/properties.c +++ b/apps/plugins/properties.c | |||
@@ -39,6 +39,7 @@ char str_albumartist[MAX_PATH]; | |||
39 | char str_album[MAX_PATH]; | 39 | char str_album[MAX_PATH]; |
40 | char str_genre[MAX_PATH]; | 40 | char str_genre[MAX_PATH]; |
41 | char str_comment[MAX_PATH]; | 41 | char str_comment[MAX_PATH]; |
42 | char str_year[MAX_PATH]; | ||
42 | char str_duration[32]; | 43 | char str_duration[32]; |
43 | 44 | ||
44 | unsigned nseconds; | 45 | unsigned nseconds; |
@@ -62,6 +63,7 @@ static const unsigned char* const props_file[] = | |||
62 | ID2P(LANG_PROPERTIES_ALBUM), str_album, | 63 | ID2P(LANG_PROPERTIES_ALBUM), str_album, |
63 | ID2P(LANG_PROPERTIES_GENRE), str_genre, | 64 | ID2P(LANG_PROPERTIES_GENRE), str_genre, |
64 | ID2P(LANG_PROPERTIES_COMMENT), str_comment, | 65 | ID2P(LANG_PROPERTIES_COMMENT), str_comment, |
66 | ID2P(LANG_PROPERTIES_YEAR), str_year, | ||
65 | ID2P(LANG_PROPERTIES_DURATION), str_duration, | 67 | ID2P(LANG_PROPERTIES_DURATION), str_duration, |
66 | }; | 68 | }; |
67 | static const unsigned char* const props_dir[] = | 69 | static const unsigned char* const props_dir[] = |
@@ -139,7 +141,9 @@ static bool file_properties(const char* selected_file) | |||
139 | "%s", id3.genre_string ? id3.genre_string : ""); | 141 | "%s", id3.genre_string ? id3.genre_string : ""); |
140 | rb->snprintf(str_comment, sizeof str_comment, | 142 | rb->snprintf(str_comment, sizeof str_comment, |
141 | "%s", id3.comment ? id3.comment : ""); | 143 | "%s", id3.comment ? id3.comment : ""); |
142 | num_properties += 7; | 144 | rb->snprintf(str_year, sizeof str_year, |
145 | "%s", id3.year_string ? id3.year_string : ""); | ||
146 | num_properties += 8; | ||
143 | 147 | ||
144 | if (dur > 0) | 148 | if (dur > 0) |
145 | { | 149 | { |