mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Fix ignoring loaded video details
This commit is contained in:
parent
fa0523d3c6
commit
ef1f95a3ad
@ -34,7 +34,7 @@ extension PlayerModel {
|
||||
.load()
|
||||
.onSuccess { response in
|
||||
if let video: Video = response.typedContent() {
|
||||
guard video == self.currentVideo else {
|
||||
guard video.videoID == self.currentVideo?.videoID else {
|
||||
self.logger.info("ignoring loaded streams from \(instance.description) as current video has changed")
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user