diff options
Diffstat (limited to 'apps/plugins/properties.c')
-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 620c08a332..b3955a286a 100644 --- a/apps/plugins/properties.c +++ b/apps/plugins/properties.c | |||
@@ -40,6 +40,7 @@ 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_year[MAX_PATH]; |
43 | char str_tracknum[MAX_PATH]; | ||
43 | char str_duration[32]; | 44 | char str_duration[32]; |
44 | 45 | ||
45 | unsigned nseconds; | 46 | unsigned nseconds; |
@@ -64,6 +65,7 @@ static const unsigned char* const props_file[] = | |||
64 | ID2P(LANG_PROPERTIES_GENRE), str_genre, | 65 | ID2P(LANG_PROPERTIES_GENRE), str_genre, |
65 | ID2P(LANG_PROPERTIES_COMMENT), str_comment, | 66 | ID2P(LANG_PROPERTIES_COMMENT), str_comment, |
66 | ID2P(LANG_PROPERTIES_YEAR), str_year, | 67 | ID2P(LANG_PROPERTIES_YEAR), str_year, |
68 | ID2P(LANG_PROPERTIES_TRACKNUM), str_tracknum, | ||
67 | ID2P(LANG_PROPERTIES_DURATION), str_duration, | 69 | ID2P(LANG_PROPERTIES_DURATION), str_duration, |
68 | }; | 70 | }; |
69 | static const unsigned char* const props_dir[] = | 71 | static const unsigned char* const props_dir[] = |
@@ -143,7 +145,9 @@ static bool file_properties(const char* selected_file) | |||
143 | "%s", id3.comment ? id3.comment : ""); | 145 | "%s", id3.comment ? id3.comment : ""); |
144 | rb->snprintf(str_year, sizeof str_year, | 146 | rb->snprintf(str_year, sizeof str_year, |
145 | "%s", id3.year_string ? id3.year_string : ""); | 147 | "%s", id3.year_string ? id3.year_string : ""); |
146 | num_properties += 8; | 148 | rb->snprintf(str_tracknum, sizeof str_tracknum, |
149 | "%s", id3.track_string ? id3.track_string : ""); | ||
150 | num_properties += 9; | ||
147 | 151 | ||
148 | if (dur > 0) | 152 | if (dur > 0) |
149 | { | 153 | { |