mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
This commit is contained in:
parent
78c92c5ca8
commit
6ca57ec389
10 changed files with 57 additions and 49 deletions
|
|
@ -4000,8 +4000,6 @@ static int show_id3_info(const char *selected_file)
|
|||
const char *file_name;
|
||||
bool is_multiple_tracks = insert_whole_album && pf_tracks.count > 1;
|
||||
|
||||
init_mul_id3();
|
||||
|
||||
last_tick = *(rb->current_tick) + HZ/2;
|
||||
rb->splash_progress_set_delay(HZ / 2); /* wait 1/2 sec before progress */
|
||||
i = 0;
|
||||
|
|
@ -4027,9 +4025,9 @@ static int show_id3_info(const char *selected_file)
|
|||
} while (++i < pf_tracks.count && is_multiple_tracks);
|
||||
|
||||
if (is_multiple_tracks)
|
||||
write_id3_mul_tracks(&id3);
|
||||
finalize_id3(&id3);
|
||||
|
||||
return rb->browse_id3(&id3, 0, 0, NULL) ? PLUGIN_USB_CONNECTED : 0;
|
||||
return rb->browse_id3(&id3, 0, 0, NULL, i > 1) ? PLUGIN_USB_CONNECTED : 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue