diff options
author | Michiel Van Der Kolk <not.valid@email.address> | 2005-06-06 19:34:35 +0000 |
---|---|---|
committer | Michiel Van Der Kolk <not.valid@email.address> | 2005-06-06 19:34:35 +0000 |
commit | 261bb920c2719a472be388d320cdfadfa3732ad6 (patch) | |
tree | 9e52be510e20142534ccf0303769256353c595e3 /apps/plugins/databox/edittoken.c | |
parent | 4dd5134a1fef577721cf5b6dfd9f0c529803d2ec (diff) |
New search capabilities; autorating, bitrate, track number, playtime, samplerate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6588 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/databox/edittoken.c')
-rw-r--r-- | apps/plugins/databox/edittoken.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/databox/edittoken.c b/apps/plugins/databox/edittoken.c index 71548d6ce1..d3145b7e09 100644 --- a/apps/plugins/databox/edittoken.c +++ b/apps/plugins/databox/edittoken.c @@ -46,11 +46,16 @@ char *tokentypetostring(int tokentype) { case TOKEN_YEAR: return "year"; case TOKEN_RATING: return "rating"; case TOKEN_PLAYCOUNT: return "playcount"; + case TOKEN_AUTORATING: return "autorating"; case TOKEN_TITLE: return "title"; case TOKEN_ARTIST: return "artist"; case TOKEN_ALBUM: return "album"; case TOKEN_GENRE: return "genre"; case TOKEN_FILENAME: return "filename"; + case TOKEN_PLAYTIME: return "playtime"; + case TOKEN_TRACKNUM: return "track number"; + case TOKEN_SAMPLERATE: return "sample rate"; + case TOKEN_BITRATE: return "bitrate"; } return "tokentypeerror"; } @@ -61,6 +66,10 @@ char *numidtostring(int numid) { case INTVALUE_RATING: return "<rating>"; case INTVALUE_PLAYCOUNT: return "<playcount>"; case INTVALUE_AUTORATING: return "<autorating>"; + case INTVALUE_PLAYTIME: return "<playtime>"; + case INTVALUE_TRACKNUM: return "<track number>"; + case INTVALUE_SAMPLERATE: return "<sample rate>"; + case INTVALUE_BITRATE: return "<bitrate>"; } return "numiderror"; } |