summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/gwps-common.c5
-rw-r--r--apps/playback.c3
2 files changed, 3 insertions, 5 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,
switch(tag[1])
{
case 'p': /* Playcount */
- *flags |= WPS_REFRESH_STATIC;
+ *flags |= WPS_REFRESH_DYNAMIC;
+ *intval = cid3->playcount+1;
snprintf(buf, buf_size, "%ld", cid3->playcount);
return buf;
case 'r': /* Rating */
- *flags |= WPS_REFRESH_STATIC;
+ *flags |= WPS_REFRESH_DYNAMIC;
*intval = cid3->rating+1;
snprintf(buf, buf_size, "%d", cid3->rating);
return buf;
diff --git a/apps/playback.c b/apps/playback.c
index 1b7aa68b85..fe7a9f6ab1 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -2909,9 +2909,6 @@ static void audio_generate_postbuffer_events(void)
if (track_buffer_callback)
track_buffer_callback(&tracks[last_idx].id3, true);
}
-
- /* Force WPS reload. */
- track_changed = true;
}
}