Parse gridShelfViewModel
This commit is contained in:
1 parent
0d61d1e337
commit
6a80fe6c74
2 files changed
+9
No files matched your search
@@ -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/),
|
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).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
- Nothing worth mentioning yet.
|
||||||
|
|
||||||
## [0.36.6] - 2025-05-03
|
## [0.36.6] - 2025-05-03
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ namespace Innertube
|
|||||||
"gridChannelRenderer": ParseGridChannelRenderer
|
"gridChannelRenderer": ParseGridChannelRenderer
|
||||||
"playlistRenderer": ParsePlaylistRenderer
|
"playlistRenderer": ParsePlaylistRenderer
|
||||||
"gridPlaylistRenderer": ParseGridPlaylistRenderer
|
"gridPlaylistRenderer": ParseGridPlaylistRenderer
|
||||||
|
"gridShelfViewModel": ParseGridShelfViewModel
|
||||||
"lockupViewModel": ParseLockupViewModel
|
"lockupViewModel": ParseLockupViewModel
|
||||||
"shortsLockupViewModel": ParseShortsLockupViewModel
|
"shortsLockupViewModel": ParseShortsLockupViewModel
|
||||||
"tvBrowseRenderer": ParseTvBrowseRenderer
|
"tvBrowseRenderer": ParseTvBrowseRenderer
|
||||||
@@ -674,6 +675,10 @@ namespace Innertube
|
|||||||
return invalid
|
return invalid
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
function ParseGridShelfViewModel(nodeData as object, context as object) as object
|
||||||
|
return nodeData["contents"]
|
||||||
|
end function
|
||||||
|
|
||||||
function ParseLockupViewModel(nodeData as object, context as object) as object
|
function ParseLockupViewModel(nodeData as object, context as object) as object
|
||||||
contentType = ValidString(nodeData["contentType"])
|
contentType = ValidString(nodeData["contentType"])
|
||||||
if contentType = "LOCKUP_CONTENT_TYPE_PLAYLIST"
|
if contentType = "LOCKUP_CONTENT_TYPE_PLAYLIST"
|
||||||
|
|||||||
Reference in new issue
Block a user