From 219f8fa119033165eb553f2a590bd68627891216 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Tue, 23 Feb 2016 07:55:56 -0500 Subject: [PATCH] core/collection: Update collection on startup This is much more convenient to users, since they don't need to update the collection manually. Signed-off-by: Anna Schumaker --- core/collection.c | 2 ++ gui/manager.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/core/collection.c b/core/collection.c index bdb22796..222b76c7 100644 --- a/core/collection.c +++ b/core/collection.c @@ -130,6 +130,8 @@ void collection_init(struct queue_ops *ops) queue_set_flag(&c_queue, Q_SAVE_SORT); queue_set_flag(&c_queue, Q_SAVE_FLAGS); + + collection_update_all(); } void collection_deinit() diff --git a/gui/manager.cpp b/gui/manager.cpp index 25e503cb..e0284507 100644 --- a/gui/manager.cpp +++ b/gui/manager.cpp @@ -198,4 +198,6 @@ void manager :: init() db_for_each(library, next, library_db_get()) list_path(LIBRARY(library)); + + idle_enable(); }