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 <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2016-02-23 07:55:56 -05:00
parent e22533e7ec
commit 219f8fa119
2 changed files with 4 additions and 0 deletions

View File

@ -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()

View File

@ -198,4 +198,6 @@ void manager :: init()
db_for_each(library, next, library_db_get())
list_path(LIBRARY(library));
idle_enable();
}