diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/playback.c b/apps/playback.c index dda3ea7bdd..1e9bca6c36 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -1027,9 +1027,12 @@ static bool read_next_metadata(void) | |||
1027 | status = get_metadata(&tracks[next_track],fd,trackname,v1first); | 1027 | status = get_metadata(&tracks[next_track],fd,trackname,v1first); |
1028 | /* Preload the glyphs in the tags */ | 1028 | /* Preload the glyphs in the tags */ |
1029 | if (status) { | 1029 | if (status) { |
1030 | lcd_getstringsize(tracks[next_track].id3.title, NULL, NULL); | 1030 | if (tracks[next_track].id3.title) |
1031 | lcd_getstringsize(tracks[next_track].id3.artist, NULL, NULL); | 1031 | lcd_getstringsize(tracks[next_track].id3.title, NULL, NULL); |
1032 | lcd_getstringsize(tracks[next_track].id3.album, NULL, NULL); | 1032 | if (tracks[next_track].id3.artist) |
1033 | lcd_getstringsize(tracks[next_track].id3.artist, NULL, NULL); | ||
1034 | if (tracks[next_track].id3.album) | ||
1035 | lcd_getstringsize(tracks[next_track].id3.album, NULL, NULL); | ||
1033 | } | 1036 | } |
1034 | track_changed = true; | 1037 | track_changed = true; |
1035 | close(fd); | 1038 | close(fd); |