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
+3
-1
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
- Nothing worth mentioning yet.
|
### Fixed
|
||||||
|
|
||||||
|
- Various telemetry issues
|
||||||
|
|
||||||
## [0.41.4] - 2025-09-04
|
## [0.41.4] - 2025-09-04
|
||||||
|
|
||||||
|
|||||||
@@ -151,6 +151,11 @@ namespace Innertube
|
|||||||
if status = "LOGIN_REQUIRED"
|
if status = "LOGIN_REQUIRED"
|
||||||
' TODO:P2 localize
|
' TODO:P2 localize
|
||||||
errorLines.Push("Hint: Log in to the YouTube app on your phone, then cast the video to Playlet.")
|
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
|
end if
|
||||||
|
|
||||||
return errorLines.Join(`\n`)
|
return errorLines.Join(`\n`)
|
||||||
|
|||||||
Reference in new issue
Block a user