mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-29 23:25:47 +02:00
Fix player display on local media
This commit is contained in:
parent
9477860bca
commit
c32c77b963
2 changed files with 2 additions and 1 deletions
|
@ -101,6 +101,7 @@ extension LocalLibraryItem {
|
|||
audioTracks: audioTracks ?? [],
|
||||
currentTime: mediaProgress?.currentTime ?? 0.0,
|
||||
libraryItem: nil,
|
||||
localLibraryItem: self,
|
||||
serverConnectionConfigId: self.serverConnectionConfigId,
|
||||
serverAddress: self.serverAddress
|
||||
)
|
||||
|
|
|
@ -26,7 +26,7 @@ struct PlaybackSession: Decodable, Encodable {
|
|||
var audioTracks: [AudioTrack]
|
||||
var currentTime: Double
|
||||
var libraryItem: LibraryItem?
|
||||
//var localLibraryItem: LocalLibraryItem?
|
||||
var localLibraryItem: LocalLibraryItem?
|
||||
var serverConnectionConfigId: String?
|
||||
var serverAddress: String?
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue