summaryrefslogtreecommitdiffstats
path: root/apps/plugins/stats.c
diff options
context:
space:
mode:
authorMustapha Senhaji <moos@rockbox.org>2010-02-27 14:23:30 +0000
committerMustapha Senhaji <moos@rockbox.org>2010-02-27 14:23:30 +0000
commit37e0f76c5af0b98c78483c363213300ef4b59ab1 (patch)
tree118366f5f61b45dce6c082d737049a49e4eb74d2 /apps/plugins/stats.c
parent778f5bb515b7503f03e7cb461dae61c38441ab16 (diff)
downloadrockbox-37e0f76c5af0b98c78483c363213300ef4b59ab1.tar.gz
rockbox-37e0f76c5af0b98c78483c363213300ef4b59ab1.tar.bz2
rockbox-37e0f76c5af0b98c78483c363213300ef4b59ab1.zip
Stats Plugin: Update the list of suported/counted music file extensions.
And like that is a stats plugin after all, here is one: We do support by our codecs, 50 different file types now, wow. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24939 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/stats.c')
-rw-r--r--apps/plugins/stats.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/stats.c b/apps/plugins/stats.c
index 22ad5c13e3..63ce38cb3f 100644
--- a/apps/plugins/stats.c
+++ b/apps/plugins/stats.c
@@ -110,10 +110,12 @@ static bool abort;
#endif
/* TODO: Better get the exts from the filetypes var in tree.c */
-const char *music_exts[] = {"mp3","mp2","mp1","mpa","ogg",
+const char *music_exts[] = {"mp3","mp2","mp1","mpa","ogg","oga",
"wav","flac","ac3","a52","mpc","wv","m4a","m4b","mp4",
- "shn","aif","aiff","wma","wmv","spx","ape","adx",
- "sid","mod","nsf","nsfe","spc","asf","mac"};
+ "shn","aif","aiff","wma","wmv","asf","spx","ape","mac",
+ "sid","mod","nsf","nsfe","spc","adx","sap","rm","at3"
+ "ra","rmvb","oma","aa3","dmc","dlt","mpt","mpd","rmt",
+ "tmc","tm8","tm2","cm3","cmc","cmr","cms","mmf"};
void prn(const char *str, int y)
{