From 3af6f9b65f5cafe22b7b729b7536a44e0f3d65ce Mon Sep 17 00:00:00 2001 From: Preston Date: Sun, 20 Dec 2020 21:43:40 -0500 Subject: [PATCH] Fix check for unplayable videos --- src/renderer/views/Watch/Watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index e20783540..275d51525 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -197,7 +197,7 @@ export default Vue.extend({ console.log(result) const playabilityStatus = result.player_response.playabilityStatus - if (playabilityStatus.status !== 'OK') { + if (playabilityStatus.status === 'UNPLAYABLE') { const errorScreen = playabilityStatus.errorScreen.playerErrorMessageRenderer const reason = errorScreen.reason.simpleText let subReason