Fix missing fields in PlaybackSession

This commit is contained in:
ronaldheft 2022-08-17 19:43:11 -04:00
parent 911e46c4f0
commit f655f89c49
3 changed files with 3 additions and 2 deletions

View file

@ -186,7 +186,7 @@ extension LocalLibraryItem {
duration: self.getDuration(),
playMethod: PlayMethod.local.rawValue,
startedAt: dateNow,
updatedAt: 0,
updatedAt: dateNow,
timeListening: 0.0,
audioTracks: audioTracks,
currentTime: mediaProgress?.currentTime ?? 0.0,