Ignore "Open YouTube Kids" tile

This commit is contained in:
Brahim Hadriche committed 2025-09-06 11:52:13 -04:00
1 parent 62d66eb1f3
commit e1c8b5284f
2 files changed
+10

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
- Nothing worth mentioning yet.
## [0.41.6] - 2025-09-06
### Fixed
@@ -1251,6 +1251,12 @@ namespace Innertube
' A tileRenderer can be without a contentType, such as a
' button that says "Open YouTube Kids" or similar CTAs
if contentType = ""
eventTrigger = ValidString(ObjectUtils.Dig(nodeData, ["onSelectCommand", "authDeterminedCommand", "authenticatedCommand", "authRequiredCommand", "identityActionContext", "eventTrigger"]))
' "Open YouTube Kids" tileRenderer
if eventTrigger = "ACCOUNT_EVENT_TRIGGER_YTK_WORMHOLE"
LogWarnNoTelemetry("Skipping tileRenderer without contentType for YouTube Kids")
return invalid
end if
Warning("TileRenderer without contentType", nodeData, context)
return invalid
end if