Capture if user is logged in when LOGIN_REQUIRED
This commit is contained in:
1 parent
53f9f5140f
commit
f0d516d194
2 files changed
+8
-1
No files matched your search
@@ -151,6 +151,11 @@ namespace Innertube
|
||||
if status = "LOGIN_REQUIRED"
|
||||
' TODO:P2 localize
|
||||
errorLines.Push("Hint: Log in to the YouTube app on your phone, then cast the video to Playlet.")
|
||||
|
||||
isLoggedIn = Innertube.ParseIsLoggedIn(payload)
|
||||
if isLoggedIn
|
||||
LogError("Video requires login, but user is already logged in!")
|
||||
end if
|
||||
end if
|
||||
|
||||
return errorLines.Join(`\n`)
|
||||
|
||||
Reference in new issue
Block a user