mirror of
https://github.com/yattee/yattee.git
synced 2025-10-12 10:28:11 +00:00
Fixes for MPV in macOS
This commit is contained in:
@@ -28,7 +28,7 @@ struct PlayerQueueItem: Hashable, Identifiable, Defaults.Serializable {
|
||||
}
|
||||
|
||||
var duration: TimeInterval {
|
||||
videoDuration ?? video.length
|
||||
videoDuration ?? video?.length ?? .zero
|
||||
}
|
||||
|
||||
var shouldRestartPlaying: Bool {
|
||||
|
Reference in New Issue
Block a user