Commit d9532255 authored by Max Kellermann's avatar Max Kellermann

update_walk: update existing playlist entry

Fixes duplicate playlist entries.
parent 663815ea
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment