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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/searchengine/token.c b/apps/plugins/searchengine/token.c
index fa1f84eb7d..d8cd64072f 100644
--- a/apps/plugins/searchengine/token.c
+++ b/apps/plugins/searchengine/token.c
@@ -71,6 +71,9 @@ int getvalue(struct token *token) {
71 case INTVALUE_PLAYCOUNT: 71 case INTVALUE_PLAYCOUNT:
72 loadrundbdata(); 72 loadrundbdata();
73 return currententry->playcount; 73 return currententry->playcount;
74 case INTVALUE_AUTORATING:
75 // todo.
76 return 0;
74 default: 77 default:
75 rb->snprintf(buf,199,"unknown numid intvalue %d",token->intvalue); 78 rb->snprintf(buf,199,"unknown numid intvalue %d",token->intvalue);
76 rb->splash(HZ*2,true,buf); 79 rb->splash(HZ*2,true,buf);