summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2023-10-17 19:28:47 +0200
committerChristian Soffke <christian.soffke@gmail.com>2023-10-17 19:29:45 +0200
commit9cd4943950fe6ddace97ac09671b7883cdb44949 (patch)
treeaf4f87ef15d7fc18ce5fd4f6ebff085fe6ae3b9c
parentf932522d8acc012e88b8d30dbb08797e42517e8b (diff)
downloadrockbox-9cd4943950.tar.gz
rockbox-9cd4943950.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
-rw-r--r--apps/plugins/properties.c4
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)
#ifdef HAVE_TAGCACHE
bool mul_id3_add(const char *file_name)
{
- if (!file_name)
+ if (!file_name || rb->mp3info(&id3, file_name))
skipped_count++;
- else if (rb->mp3info(&id3, file_name))
- return false;
else
{
collect_id3(&id3, mul_id3_count == 0);