diff --git a/server/managers/PlaybackSessionManager.js b/server/managers/PlaybackSessionManager.js index b5cf4152..9d56dca6 100644 --- a/server/managers/PlaybackSessionManager.js +++ b/server/managers/PlaybackSessionManager.js @@ -78,6 +78,7 @@ class PlaybackSessionManager { session = new PlaybackSession(sessionJson) await this.db.insertEntity('session', session) } else { + session.currentTime = sessionJson.currentTime session.timeListening = sessionJson.timeListening session.updatedAt = sessionJson.updatedAt session.date = date.format(new Date(), 'YYYY-MM-DD') @@ -267,4 +268,4 @@ class PlaybackSessionManager { } } } -module.exports = PlaybackSessionManager \ No newline at end of file +module.exports = PlaybackSessionManager