diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-10-17 19:28:47 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-10-17 19:29:45 +0200 |
commit | 9cd4943950fe6ddace97ac09671b7883cdb44949 (patch) | |
tree | af4f87ef15d7fc18ce5fd4f6ebff085fe6ae3b9c /apps/plugins/properties.c | |
parent | f932522d8acc012e88b8d30dbb08797e42517e8b (diff) | |
download | rockbox-9cd4943950fe6ddace97ac09671b7883cdb44949.tar.gz rockbox-9cd4943950fe6ddace97ac09671b7883cdb44949.zip |
Properties/Tagcache Track Info Retrieval: Skip files with errors (2)
Addendum to e3b2293
Don't abort even when the database has returned a filename,
since metadata retrieval may still fail.
Change-Id: I9e397c44a4c80f24e937f085efbd540f274822a0
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r-- | apps/plugins/properties.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c index ef9dc4c7f7..ce3c03694c 100644 --- a/apps/plugins/properties.c +++ b/apps/plugins/properties.c | |||
@@ -375,10 +375,8 @@ static bool determine_file_or_dir(void) | |||
375 | #ifdef HAVE_TAGCACHE | 375 | #ifdef HAVE_TAGCACHE |
376 | bool mul_id3_add(const char *file_name) | 376 | bool mul_id3_add(const char *file_name) |
377 | { | 377 | { |
378 | if (!file_name) | 378 | if (!file_name || rb->mp3info(&id3, file_name)) |
379 | skipped_count++; | 379 | skipped_count++; |
380 | else if (rb->mp3info(&id3, file_name)) | ||
381 | return false; | ||
382 | else | 380 | else |
383 | { | 381 | { |
384 | collect_id3(&id3, mul_id3_count == 0); | 382 | collect_id3(&id3, mul_id3_count == 0); |