[mpd] Return the correct values for number of songs, artists, albums and

song length sum in the "stats" command (wrong values are still reported
for uptime, db_update and playtime)
This commit is contained in:
chme
2015-11-01 09:15:24 +01:00
parent 35253fdeb1
commit 461a956288
3 changed files with 58 additions and 6 deletions

View File

@@ -416,6 +416,12 @@ db_query_fetch_string_sort(struct query_params *qp, char **string, char **sortst
int
db_files_get_count(void);
int
db_files_get_artist_count(void);
int
db_files_get_album_count(void);
int
db_files_get_count_bymatch(char *path);