mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 13:45:03 -05:00
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
This commit is contained in:
parent
f932522d8a
commit
9cd4943950
1 changed files with 1 additions and 3 deletions
|
|
@ -375,10 +375,8 @@ static bool determine_file_or_dir(void)
|
||||||
#ifdef HAVE_TAGCACHE
|
#ifdef HAVE_TAGCACHE
|
||||||
bool mul_id3_add(const char *file_name)
|
bool mul_id3_add(const char *file_name)
|
||||||
{
|
{
|
||||||
if (!file_name)
|
if (!file_name || rb->mp3info(&id3, file_name))
|
||||||
skipped_count++;
|
skipped_count++;
|
||||||
else if (rb->mp3info(&id3, file_name))
|
|
||||||
return false;
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
collect_id3(&id3, mul_id3_count == 0);
|
collect_id3(&id3, mul_id3_count == 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue