diff options
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 | ||