forked from len0rd/rockbox
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
This commit is contained in:
parent
947eb50d64
commit
1c0f41447a
3 changed files with 0 additions and 9 deletions
|
@ -1175,13 +1175,6 @@ static char *get_token_value(struct gui_wps *gwps,
|
||||||
snprintf(buf, buf_size, "%d", id3->rating);
|
snprintf(buf, buf_size, "%d", id3->rating);
|
||||||
return buf;
|
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)
|
#if (CONFIG_CODEC == SWCODEC)
|
||||||
case WPS_TOKEN_CROSSFADE:
|
case WPS_TOKEN_CROSSFADE:
|
||||||
if (intval)
|
if (intval)
|
||||||
|
|
|
@ -166,7 +166,6 @@ enum wps_token_type {
|
||||||
/* Database */
|
/* Database */
|
||||||
WPS_TOKEN_DATABASE_PLAYCOUNT,
|
WPS_TOKEN_DATABASE_PLAYCOUNT,
|
||||||
WPS_TOKEN_DATABASE_RATING,
|
WPS_TOKEN_DATABASE_RATING,
|
||||||
WPS_TOKEN_DATABASE_SCORE,
|
|
||||||
|
|
||||||
/* File */
|
/* File */
|
||||||
WPS_TOKEN_FILE_BITRATE,
|
WPS_TOKEN_FILE_BITRATE,
|
||||||
|
|
|
@ -232,7 +232,6 @@ static const struct wps_tag all_tags[] = {
|
||||||
|
|
||||||
{ WPS_TOKEN_DATABASE_PLAYCOUNT, "rp", WPS_REFRESH_DYNAMIC, NULL },
|
{ WPS_TOKEN_DATABASE_PLAYCOUNT, "rp", WPS_REFRESH_DYNAMIC, NULL },
|
||||||
{ WPS_TOKEN_DATABASE_RATING, "rr", 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
|
#if CONFIG_CODEC == SWCODEC
|
||||||
{ WPS_TOKEN_REPLAYGAIN, "rg", WPS_REFRESH_STATIC, NULL },
|
{ WPS_TOKEN_REPLAYGAIN, "rg", WPS_REFRESH_STATIC, NULL },
|
||||||
{ WPS_TOKEN_CROSSFADE, "xf", WPS_REFRESH_DYNAMIC, NULL },
|
{ WPS_TOKEN_CROSSFADE, "xf", WPS_REFRESH_DYNAMIC, NULL },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue