mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-04-16 23:14:11 +02:00
Fix share playback session not including coverAspectRatio
This commit is contained in:
@@ -110,7 +110,8 @@ class PlaybackSession {
|
||||
startedAt: this.startedAt,
|
||||
updatedAt: this.updatedAt,
|
||||
audioTracks: this.audioTracks.map((at) => at.toJSON?.() || { ...at }),
|
||||
libraryItem: libraryItem?.toOldJSONExpanded() || null
|
||||
libraryItem: libraryItem?.toOldJSONExpanded() || null,
|
||||
coverAspectRatio: this.coverAspectRatio !== null ? this.coverAspectRatio : undefined // Used for share sessions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user