diff options
Diffstat (limited to '')
-rw-r--r-- | src/stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stats.c b/src/stats.c index 254595472..39ba39e9a 100644 --- a/src/stats.c +++ b/src/stats.c @@ -20,7 +20,7 @@ #include "directory.h" #include "myfprintf.h" -#include "player.h" +#include "outputBuffer.h" #include "tagTracker.h" #include "os_compat.h" @@ -39,7 +39,7 @@ int printStats(int fd) fdprintf(fd, "songs: %i\n", stats.numberOfSongs); fdprintf(fd, "uptime: %li\n", time(NULL) - stats.daemonStart); fdprintf(fd, "playtime: %li\n", - (long)(getPlayerTotalPlayTime() + 0.5)); + (long)(ob_get_total_time() + 0.5)); fdprintf(fd, "db_playtime: %li\n", stats.dbPlayTime); fdprintf(fd, "db_update: %li\n", getDbModTime()); return 0; |