summaryrefslogtreecommitdiff
path: root/apps/gui/gwps-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r--apps/gui/gwps-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index f2f4272292..7f1c52c7bf 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -1246,6 +1246,7 @@ static char *get_token_value(struct gui_wps *gwps,
1246 return buf; 1246 return buf;
1247#endif 1247#endif
1248 1248
1249#ifdef HAVE_TAGCACHE
1249 case WPS_TOKEN_DATABASE_PLAYCOUNT: 1250 case WPS_TOKEN_DATABASE_PLAYCOUNT:
1250 if (intval) { 1251 if (intval) {
1251 *intval = id3->playcount + 1; 1252 *intval = id3->playcount + 1;
@@ -1266,6 +1267,7 @@ static char *get_token_value(struct gui_wps *gwps,
1266 1267
1267 snprintf(buf, buf_size, "%d", id3->score); 1268 snprintf(buf, buf_size, "%d", id3->score);
1268 return buf; 1269 return buf;
1270#endif
1269 1271
1270#if (CONFIG_CODEC == SWCODEC) 1272#if (CONFIG_CODEC == SWCODEC)
1271 case WPS_TOKEN_CROSSFADE: 1273 case WPS_TOKEN_CROSSFADE: