mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-04-02 05:09:44 +00:00
Fix share playback session not including coverAspectRatio
This commit is contained in:
parent
8b89b27654
commit
5de92d08f9
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue