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:
parent
e22533e7ec
commit
219f8fa119
|
@ -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()
|
||||
|
|
|
@ -198,4 +198,6 @@ void manager :: init()
|
|||
|
||||
db_for_each(library, next, library_db_get())
|
||||
list_path(LIBRARY(library));
|
||||
|
||||
idle_enable();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue