diff options
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r-- | apps/plugins/properties.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c index 27bfe9181a..638d7380a5 100644 --- a/apps/plugins/properties.c +++ b/apps/plugins/properties.c | |||
@@ -406,14 +406,12 @@ enum plugin_status plugin_start(const void* parameter) | |||
406 | if (!rb->strcmp(file, MAKE_ACT_STR(ACTIVITY_DATABASEBROWSER))) /* db table selected */ | 406 | if (!rb->strcmp(file, MAKE_ACT_STR(ACTIVITY_DATABASEBROWSER))) /* db table selected */ |
407 | { | 407 | { |
408 | props_type = PROPS_MUL_ID3; | 408 | props_type = PROPS_MUL_ID3; |
409 | init_mul_id3(); | ||
410 | mul_id3_count = 0; | 409 | mul_id3_count = 0; |
411 | 410 | ||
412 | if (!rb->tagtree_subentries_do_action(&mul_id3_add) || mul_id3_count == 0) | 411 | if (!rb->tagtree_subentries_do_action(&mul_id3_add) || mul_id3_count == 0) |
413 | return PLUGIN_ERROR; | 412 | return PLUGIN_ERROR; |
414 | 413 | else if (mul_id3_count > 1) /* otherwise, the retrieved id3 can be used as-is */ | |
415 | if (mul_id3_count > 1) /* otherwise, the retrieved id3 can be used as-is */ | 414 | finalize_id3(&id3); |
416 | write_id3_mul_tracks(&id3); | ||
417 | } | 415 | } |
418 | else | 416 | else |
419 | #endif | 417 | #endif |
@@ -448,8 +446,8 @@ enum plugin_status plugin_start(const void* parameter) | |||
448 | FOR_NB_SCREENS(i) | 446 | FOR_NB_SCREENS(i) |
449 | rb->viewportmanager_theme_enable(i, true, NULL); | 447 | rb->viewportmanager_theme_enable(i, true, NULL); |
450 | 448 | ||
451 | bool usb = props_type == PROPS_ID3 ? rb->browse_id3(&id3, 0, 0, &tm) : | 449 | bool usb = props_type == PROPS_ID3 ? rb->browse_id3(&id3, 0, 0, &tm, false) : |
452 | (props_type == PROPS_MUL_ID3 ? rb->browse_id3(&id3, 0, 0, NULL) : | 450 | (props_type == PROPS_MUL_ID3 ? rb->browse_id3(&id3, 0, 0, NULL, mul_id3_count > 1) : |
453 | browse_file_or_dir(&stats)); | 451 | browse_file_or_dir(&stats)); |
454 | 452 | ||
455 | FOR_NB_SCREENS(i) | 453 | FOR_NB_SCREENS(i) |