aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/update_walk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/update_walk.c b/src/update_walk.c
index bd5714def..a8e09793a 100644
--- a/src/update_walk.c
+++ b/src/update_walk.c
@@ -604,7 +604,9 @@ update_regular_file(struct directory *directory,
#endif
} else if (playlist_suffix_supported(suffix)) {
- playlist_vector_add(&directory->playlists, name, st->st_mtime);
+ if (playlist_vector_update_or_add(&directory->playlists, name,
+ st->st_mtime))
+ modified = true;
}
}