[library] Deferrable library update time with persistence (TBD)

This commit is contained in:
Wolfgang Scherer
2017-11-12 01:38:36 +01:00
committed by chme
parent e7e2b2c9a6
commit 37aaf73f6a
3 changed files with 91 additions and 8 deletions

View File

@@ -836,14 +836,14 @@ mpd_command_stats(struct evbuffer *evbuf, int argc, char **argv, char **errmsg)
"songs: %d\n"
"uptime: %d\n" //in seceonds
"db_playtime: %" PRIu64 "\n"
"db_update: %d\n"
"db_update: %ld\n"
"playtime: %d\n",
artists,
albums,
fci.count,
4,
(fci.length / 1000),
6,
library_update_time_get(),
7);
return 0;