diff options
Diffstat (limited to 'src/playlist/PlaylistSong.cxx')
-rw-r--r-- | src/playlist/PlaylistSong.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/playlist/PlaylistSong.cxx b/src/playlist/PlaylistSong.cxx index 3e3b40949..d5adbdc14 100644 --- a/src/playlist/PlaylistSong.cxx +++ b/src/playlist/PlaylistSong.cxx @@ -50,15 +50,6 @@ apply_song_metadata(DetachedSong &dest, const DetachedSong &src) return; merge_song_metadata(dest, src); - - if (dest.GetTag().IsDefined() && dest.GetTag().time > 0 && - src.GetStartMS() > 0 && src.GetEndMS() == 0 && - src.GetStartMS() / 1000 < (unsigned)dest.GetTag().time) - /* the range is open-ended, and the playlist plugin - did not know the total length of the song file - (e.g. last track on a CUE file); fix it up here */ - dest.WritableTag().time = - dest.GetTag().time - src.GetStartMS() / 1000; } static bool |