1
0
Fork 0
forked from len0rd/rockbox

tagcache: skip search roots that don't exist, instead of aborting

https://forums.rockbox.org/index.php/topic,55459

Change-Id: I0c3fa07f9920ed4caabf3013702b10e59c0b550e
This commit is contained in:
Christian Soffke 2025-08-15 19:57:30 +02:00
parent c9e16e4888
commit 8145e326a3

View file

@ -5075,7 +5075,14 @@ void do_tagcache_build(const char *path[])
{
logf("Search root %s", this->path);
strmemccpy(curpath, this->path, sizeof(curpath));
ret = ret && check_dir(this->path, true);
if (ret)
{
if (dir_exists(this->path))
ret = check_dir(this->path, true);
else
logf("Dir not found %s", this->path);
}
}
free_search_roots(&roots_ll[0]);