1
0
Fork 0
forked from len0rd/rockbox

New search capabilities; autorating, bitrate, track number, playtime, samplerate

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6588 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michiel Van Der Kolk 2005-06-06 19:34:35 +00:00
parent 4dd5134a1f
commit 261bb920c2
5 changed files with 38 additions and 0 deletions

View file

@ -72,6 +72,18 @@ int getvalue(struct token *token) {
case INTVALUE_PLAYCOUNT:
loadrundbdata();
return currententry->playcount;
case INTVALUE_PLAYTIME:
loadsongdata();
return currententry->playtime;
case INTVALUE_TRACKNUM:
loadsongdata();
return currententry->track;
case INTVALUE_BITRATE:
loadsongdata();
return currententry->bitrate;
case INTVALUE_SAMPLERATE:
loadsongdata();
return currententry->samplerate;
case INTVALUE_AUTORATING:
if(!dbglobal.gotplaycountlimits) {
index=dbglobal.currententryindex;