From 7270e5eafd7dc54f5c85517dc8ddc04f077429ca Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 16 Nov 2010 13:17:37 +0000 Subject: 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 78c48b4..75caab0 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 4554b89..ee205d6 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 -- cgit v1.1