diff --git a/src/playlist/PlaylistSong.cxx b/src/playlist/PlaylistSong.cxx index 9d759a934..2629eddd2 100644 --- a/src/playlist/PlaylistSong.cxx +++ b/src/playlist/PlaylistSong.cxx @@ -40,6 +40,13 @@ merge_song_metadata(DetachedSong &add, const DetachedSong &base) noexcept } add.SetLastModified(base.GetLastModified()); + + if (add.GetStartTime().IsZero()) { + add.SetStartTime(base.GetStartTime()); + } + if (add.GetEndTime().IsZero()) { + add.SetEndTime(base.GetEndTime()); + } } static bool