mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-30 07:34:46 +02:00
Fix:Syncing when media is open in audio player and playing on another device #984
- Local playback session IDs have been updated to UUIDs instead of prefixing local_play_
This commit is contained in:
parent
dd66042766
commit
7412d0899f
5 changed files with 13 additions and 15 deletions
|
@ -164,7 +164,7 @@ extension LocalLibraryItem {
|
|||
|
||||
func getPlaybackSession(episode: PodcastEpisode?) -> PlaybackSession {
|
||||
let localEpisodeId = episode?.id
|
||||
let sessionId = "play_local_\(UUID().uuidString)"
|
||||
let sessionId = UUID().uuidString
|
||||
|
||||
// Get current progress from local media
|
||||
let mediaProgressId = (localEpisodeId != nil) ? "\(self.id)-\(localEpisodeId!)" : self.id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue