aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-09 19:24:21 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-09 19:24:21 +0000
commit4abf1b7d56425be009c8d6826a753b8682bc7c22 (patch)
tree36cbd797eafc8478439edb4b771cdfb921bda322 /src/stats.c
parent6a87c49d2b619afb599a7961521f685a497ec9d4 (diff)
downloadmpd-4abf1b7d56425be009c8d6826a753b8682bc7c22.tar.gz
mpd-4abf1b7d56425be009c8d6826a753b8682bc7c22.tar.xz
mpd-4abf1b7d56425be009c8d6826a753b8682bc7c22.zip
remove all tables.... (stupid crappy code)
git-svn-id: https://svn.musicpd.org/mpd/branches/r2562-metadata-handling-rewrite@2564 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/stats.c')
-rw-r--r--src/stats.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/stats.c b/src/stats.c
index b114e1764..1daeb26e7 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -18,7 +18,6 @@
#include "stats.h"
-#include "tables.h"
#include "directory.h"
#include "myfprintf.h"
#include "player.h"
@@ -35,8 +34,8 @@ void initStats() {
}
int printStats(FILE * fp) {
- myfprintf(fp,"artists: %li\n",numberOfArtists());
- myfprintf(fp,"albums: %li\n",numberOfAlbums());
+ /*myfprintf(fp,"artists: %li\n",numberOfArtists());
+ myfprintf(fp,"albums: %li\n",numberOfAlbums());*/
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));