diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-04-04 21:35:51 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-04-13 02:31:32 +0200 |
commit | 6ca57ec389e9dd2141f9c9e73063c7193526dbbd (patch) | |
tree | 2cedbe36f75467fe9fb266c985c477983fa66629 /apps/plugins/pictureflow/pictureflow.c | |
parent | 78c92c5ca85d275e43bacf0d9948ce9b94605f6e (diff) | |
download | rockbox-6ca57ec389e9dd2141f9c9e73063c7193526dbbd.tar.gz rockbox-6ca57ec389e9dd2141f9c9e73063c7193526dbbd.zip |
Track Info: Display larger file size and length values
When displaying Track Info for multiple tracks,
the value for combined file sizes or length was
capped at 2 GiB / ~596h.
Limit has been raised by a factor of 1000.
Change-Id: I942c64e81864cba3f719c83a24912883fafeb70e
Diffstat (limited to 'apps/plugins/pictureflow/pictureflow.c')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index 3b308d1866..52f87355b2 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c | |||
@@ -4000,8 +4000,6 @@ static int show_id3_info(const char *selected_file) | |||
4000 | const char *file_name; | 4000 | const char *file_name; |
4001 | bool is_multiple_tracks = insert_whole_album && pf_tracks.count > 1; | 4001 | bool is_multiple_tracks = insert_whole_album && pf_tracks.count > 1; |
4002 | 4002 | ||
4003 | init_mul_id3(); | ||
4004 | |||
4005 | last_tick = *(rb->current_tick) + HZ/2; | 4003 | last_tick = *(rb->current_tick) + HZ/2; |
4006 | rb->splash_progress_set_delay(HZ / 2); /* wait 1/2 sec before progress */ | 4004 | rb->splash_progress_set_delay(HZ / 2); /* wait 1/2 sec before progress */ |
4007 | i = 0; | 4005 | i = 0; |
@@ -4027,9 +4025,9 @@ static int show_id3_info(const char *selected_file) | |||
4027 | } while (++i < pf_tracks.count && is_multiple_tracks); | 4025 | } while (++i < pf_tracks.count && is_multiple_tracks); |
4028 | 4026 | ||
4029 | if (is_multiple_tracks) | 4027 | if (is_multiple_tracks) |
4030 | write_id3_mul_tracks(&id3); | 4028 | finalize_id3(&id3); |
4031 | 4029 | ||
4032 | return rb->browse_id3(&id3, 0, 0, NULL) ? PLUGIN_USB_CONNECTED : 0; | 4030 | return rb->browse_id3(&id3, 0, 0, NULL, i > 1) ? PLUGIN_USB_CONNECTED : 0; |
4033 | } | 4031 | } |
4034 | 4032 | ||
4035 | 4033 | ||