mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
Fixed bug with dupe subtitle names for transcoded content
This commit is contained in:
@@ -580,10 +580,8 @@ extension VlcPlayerView: VLCMediaPlayerDelegate {
|
||||
"duration": player.media?.length.intValue ?? 0,
|
||||
"error": false,
|
||||
]
|
||||
// Playing and not transcoding, we can let it in no HLS issue.
|
||||
// We should also mark it as playing when the media is ready.
|
||||
// Fix HLS issue.
|
||||
if player.isPlaying && self.isMediaReady {
|
||||
|
||||
if player.isPlaying {
|
||||
stateInfo["isPlaying"] = true
|
||||
stateInfo["isBuffering"] = false
|
||||
stateInfo["state"] = "Playing"
|
||||
|
||||
Reference in New Issue
Block a user