summaryrefslogtreecommitdiff
path: root/apps/plugins/searchengine/token.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/searchengine/token.c')
-rw-r--r--apps/plugins/searchengine/token.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/searchengine/token.c b/apps/plugins/searchengine/token.c
index 5950605ade..d51d92a712 100644
--- a/apps/plugins/searchengine/token.c
+++ b/apps/plugins/searchengine/token.c
@@ -72,6 +72,18 @@ int getvalue(struct token *token) {
72 case INTVALUE_PLAYCOUNT: 72 case INTVALUE_PLAYCOUNT:
73 loadrundbdata(); 73 loadrundbdata();
74 return currententry->playcount; 74 return currententry->playcount;
75 case INTVALUE_PLAYTIME:
76 loadsongdata();
77 return currententry->playtime;
78 case INTVALUE_TRACKNUM:
79 loadsongdata();
80 return currententry->track;
81 case INTVALUE_BITRATE:
82 loadsongdata();
83 return currententry->bitrate;
84 case INTVALUE_SAMPLERATE:
85 loadsongdata();
86 return currententry->samplerate;
75 case INTVALUE_AUTORATING: 87 case INTVALUE_AUTORATING:
76 if(!dbglobal.gotplaycountlimits) { 88 if(!dbglobal.gotplaycountlimits) {
77 index=dbglobal.currententryindex; 89 index=dbglobal.currententryindex;