aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-02-27 15:39:19 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-02-27 15:39:19 +0000
commit79effd62e14c8c524552ae578d593750b038004a (patch)
tree588b6370288aacf1b05a92b951192f4a38c62084 /src/stats.c
parenta78c5e4aea595cf2275da31e46e0d7174d1d8615 (diff)
downloadmpd-79effd62e14c8c524552ae578d593750b038004a.tar.gz
mpd-79effd62e14c8c524552ae578d593750b038004a.tar.xz
mpd-79effd62e14c8c524552ae578d593750b038004a.zip
display db_playtime in stats
git-svn-id: https://svn.musicpd.org/mpd/trunk@98 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/stats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stats.c b/src/stats.c
index 3d018ee0b..63ca87503 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -41,6 +41,7 @@ int printStats(FILE * fp) {
myfprintf(fp,"songs: %i\n",stats.numberOfSongs);
myfprintf(fp,"uptime: %li\n",time(NULL)-stats.daemonStart);
myfprintf(fp,"playtime: %li\n",(long)(getPlayerTotalPlayTime()+0.5));
+ myfprintf(fp,"db_playtime: %li\n",stats.dbPlayTime);
/*myfprintf(fp,"songs_played: %li\n",stats.songsPlayed);*/
myfprintf(fp,"db_update: %li\n",getDbModTime());
return 0;