stats: added stats_update()
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
#include "idle.h"
|
||||
#include "conf.h"
|
||||
#include "stats.h"
|
||||
#include "dbUtils.h"
|
||||
#include "main.h"
|
||||
|
||||
#include <glib.h>
|
||||
@@ -739,8 +738,7 @@ static void update_finished_event(void)
|
||||
} else {
|
||||
progress = UPDATE_PROGRESS_IDLE;
|
||||
|
||||
stats.numberOfSongs = countSongsIn(NULL);
|
||||
stats.dbPlayTime = sumSongTimesIn(NULL);
|
||||
stats_update();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user