Merge branch 'fix_cue_in_playlist' of git://github.com/maxmitti/MPD
This commit is contained in:
commit
fb450d2f41
@ -40,6 +40,13 @@ merge_song_metadata(DetachedSong &add, const DetachedSong &base) noexcept
|
|||||||
}
|
}
|
||||||
|
|
||||||
add.SetLastModified(base.GetLastModified());
|
add.SetLastModified(base.GetLastModified());
|
||||||
|
|
||||||
|
if (add.GetStartTime().IsZero()) {
|
||||||
|
add.SetStartTime(base.GetStartTime());
|
||||||
|
}
|
||||||
|
if (add.GetEndTime().IsZero()) {
|
||||||
|
add.SetEndTime(base.GetEndTime());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
Loading…
Reference in New Issue
Block a user