diff options
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r-- | apps/gui/gwps-common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index b321d3b133..2f86c9dedb 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -922,11 +922,12 @@ static char* get_tag(struct wps_data* wps_data, | |||
922 | switch(tag[1]) | 922 | switch(tag[1]) |
923 | { | 923 | { |
924 | case 'p': /* Playcount */ | 924 | case 'p': /* Playcount */ |
925 | *flags |= WPS_REFRESH_STATIC; | 925 | *flags |= WPS_REFRESH_DYNAMIC; |
926 | *intval = cid3->playcount+1; | ||
926 | snprintf(buf, buf_size, "%ld", cid3->playcount); | 927 | snprintf(buf, buf_size, "%ld", cid3->playcount); |
927 | return buf; | 928 | return buf; |
928 | case 'r': /* Rating */ | 929 | case 'r': /* Rating */ |
929 | *flags |= WPS_REFRESH_STATIC; | 930 | *flags |= WPS_REFRESH_DYNAMIC; |
930 | *intval = cid3->rating+1; | 931 | *intval = cid3->rating+1; |
931 | snprintf(buf, buf_size, "%d", cid3->rating); | 932 | snprintf(buf, buf_size, "%d", cid3->rating); |
932 | return buf; | 933 | return buf; |