From f1a93dfd5f9058452259edf0b838f2081d1f33d4 Mon Sep 17 00:00:00 2001 From: jdgordon Date: Tue, 16 Nov 2010 13:17:37 +0000 Subject: [PATCH] Accept FS#11722 by Michael Hohmuth Wait for the db to be ready before trying to to any runtime stats git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28608 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagtree.c | 3 +++ docs/CREDITS | 1 + 2 files changed, 4 insertions(+) diff --git a/apps/tagtree.c b/apps/tagtree.c index 78c48b4d13..75caab01d4 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -652,6 +652,9 @@ static void tagtree_buffer_event(void *data) logf("be:%s", id3->path); + while (! tagcache_is_usable()) + yield(); + if (!tagcache_find_index(&tcs, id3->path)) { logf("tc stat: not found: %s", id3->path); diff --git a/docs/CREDITS b/docs/CREDITS index 4554b8975e..ee205d6d1a 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -565,6 +565,7 @@ David Fowle Fabian Vogel Michael Stummvoll Franz-Josef Haider +Michael Hohmuth The libmad team The wavpack team -- 2.11.4.GIT