mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +00:00
Peertube fixes
This commit is contained in:
@@ -11,7 +11,6 @@ extension PlayerModel {
|
||||
}
|
||||
|
||||
func loadHistoryVideoDetails(_ watch: Watch) {
|
||||
logger.info("id: \(watch.videoID), instance \(watch.instanceURL), app \(watch.appName)")
|
||||
guard historyVideo(watch.videoID).isNil else {
|
||||
return
|
||||
}
|
||||
@@ -21,7 +20,10 @@ extension PlayerModel {
|
||||
return
|
||||
}
|
||||
|
||||
playerAPI(watch.video).video(watch.videoID).load()
|
||||
guard let api = playerAPI(watch.video) else { return }
|
||||
|
||||
api.video(watch.videoID)
|
||||
.load()
|
||||
.onSuccess { [weak self] response in
|
||||
guard let self else { return }
|
||||
|
||||
|
Reference in New Issue
Block a user