From 1c0f41447ade94e89fa0d773792205ab99a73538 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sun, 15 Apr 2007 15:38:08 +0000 Subject: Reverted FS#6949 as we have a strict policy against anonymous contributions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13168 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 7 ------- apps/gui/gwps.h | 1 - apps/gui/wps_parser.c | 1 - 3 files changed, 9 deletions(-) (limited to 'apps') diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 778c0b0e2e..5b06dd4b2b 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -1175,13 +1175,6 @@ static char *get_token_value(struct gui_wps *gwps, snprintf(buf, buf_size, "%d", id3->rating); return buf; - case WPS_TOKEN_DATABASE_SCORE: - if (intval) - *intval = id3->score + 1; - - snprintf(buf, buf_size, "%d", id3->score); - return buf; - #if (CONFIG_CODEC == SWCODEC) case WPS_TOKEN_CROSSFADE: if (intval) diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h index 4f7e9b41f7..801a37902e 100644 --- a/apps/gui/gwps.h +++ b/apps/gui/gwps.h @@ -166,7 +166,6 @@ enum wps_token_type { /* Database */ WPS_TOKEN_DATABASE_PLAYCOUNT, WPS_TOKEN_DATABASE_RATING, - WPS_TOKEN_DATABASE_SCORE, /* File */ WPS_TOKEN_FILE_BITRATE, diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c index 588b0d67d8..2c7a000367 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c @@ -232,7 +232,6 @@ static const struct wps_tag all_tags[] = { { WPS_TOKEN_DATABASE_PLAYCOUNT, "rp", WPS_REFRESH_DYNAMIC, NULL }, { WPS_TOKEN_DATABASE_RATING, "rr", WPS_REFRESH_DYNAMIC, NULL }, - { WPS_TOKEN_DATABASE_SCORE, "rs", WPS_REFRESH_DYNAMIC, NULL }, #if CONFIG_CODEC == SWCODEC { WPS_TOKEN_REPLAYGAIN, "rg", WPS_REFRESH_STATIC, NULL }, { WPS_TOKEN_CROSSFADE, "xf", WPS_REFRESH_DYNAMIC, NULL }, -- cgit v1.2.3