Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

[Renderer] New renderer: shortsLockupViewModel #58

Open
atomGit opened this issue Sep 9, 2024 · 2 comments
Open

[Renderer] New renderer: shortsLockupViewModel #58

atomGit opened this issue Sep 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@atomGit
Copy link

atomGit commented Sep 9, 2024

Describe the bug

i've run into this error more often than not when searching for content - the LT instance doesn't seem to matter

LightTube instance this error occured on (tube.instellate.xyz)
LightTube & InnerTube versions (2024.8.15 / 2.0.0.18)
The full resource path (/results?search_query=yaesu+radioddity+cb)
InnerTube language & region (en_JP)
System.InvalidCastException: Unable to cast object of type 'InnerTube.Renderers.UnknownRendererData' to type 'InnerTube.Renderers.VideoRendererData'.
at AspNetCoreGeneratedDocument.Views_Shared_Renderers_ContainerRenderer.ExecuteAsync() in /src/LightTube/Views/Shared/Renderers/ContainerRenderer.cshtml:line 208
at AspNetCoreGeneratedDocument.Views_Shared_Renderers_SearchRenderer.ExecuteAsync() in /src/LightTube/Views/Shared/Renderers/SearchRenderer.cshtml:line 151
at AspNetCoreGeneratedDocument.Views_Youtube_Search.ExecuteAsync() in /src/LightTube/Views/Youtube/Search.cshtml:line 453
--- End of stack trace from previous location --- 

Notes

No response

@atomGit atomGit added the bug Something isn't working label Sep 9, 2024
@kevinfiol
Copy link

Also seeing this. Seems to happen on the official instance as well.

@kuylar
Copy link
Member

kuylar commented Sep 10, 2024

Looks like YouTube replaced the renderer used for short videos with "shortsLockupViewModel", which LightTube doesn't expect. Moving to (InnerTube)[https://github.com/lighttube-org/InnerTube] since it's an extractor issue.

===

Data about the renderer:

Protobuf (base64 encoded)

qpuYuQ+hFQodc2hvcnRzLXNoZWxmLWl0ZW0tOGwzb3VPcV9pUzAie1hpZWd1IEc5MCArIERTUCBTcGVha2VyIGlzIGEgZ2FtZSBjaGFuZ2VyICNnOTAgI2hhbXJhZGlvICNwb3RhICNpY29tICN5YWVzdSAjeGllZ3VnOTAgI2Z0ZHg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NvdU9xX2lTMBIV+oq+3AMPCgZsb2NrdXASBXNoZWxmgAEAqgEMTW9yZSBhY3Rpb25zsgF0CmQKYlhpZWd1IEc5MCArIERTUCBTcGVha2VyIGlzIGEgZ2FtZSBjaGFuZ2VyICNnOTAgI2hhbXJhZGlvICNwb3RhICNpY29tICN5YWVzdSAjeGllZ3VnOTAgI2Z0ZHgxMCAjcXJ6EgwKCjMuM0sgdmlld3O6PiYKHgj6ARCH9gQYACITCMKRk62GuYgDFRx0egUdb5g59yICCAxYAQ==

JSON:

{"shortsLockupViewModel":{"entityId":"shorts-shelf-item-8l3ouOq_iS0","accessibilityText":"Xiegu G90 + DSP Speaker is a game changer #g90 #hamradio #pota #icom #yaesu #xiegug90 #ftdx10 #qrz, 3.3K views - play Short","thumbnail":{"sources":[{"url":"https://i.ytimg.com/vi/8l3ouOq_iS0/oar2.jpg?sqp=-oaymwEdCJUDENAFSFWQAgHyq4qpAwwIARUAAIhCcAHAAQY=&rs=AOn4CLC9P-UcEvKcONAyrapqYFYQcZJ3nA","width":405,"height":720}]},"onTap":{"innertubeCommand":{"clickTrackingParams":"CPgBEIf2BBgAIhMIqaSx3Ya5iAMVbklBAh1oISLyUhN5YWVzdSByYWRpb2RkaXR5IGNimgEFCDIQ9CQ=","commandMetadata":{"webCommandMetadata":{"url":"/shorts/8l3ouOq_iS0","webPageType":"WEB_PAGE_TYPE_SHORTS","rootVe":37414}},"reelWatchEndpoint":{"videoId":"8l3ouOq_iS0","playerParams":"8AEByAMyuAQUogYVAa6PwSbE2YRrVi190iyPRsdZAxR4kAcC","thumbnail":{"thumbnails":[{"url":"https://i.ytimg.com/vi/8l3ouOq_iS0/frame0.jpg","width":720,"height":1280}],"isOriginalAspectRatio":true},"overlay":{"reelPlayerOverlayRenderer":{"style":"REEL_PLAYER_OVERLAY_STYLE_SHORTS","trackingParams":"CPoBELC1BCITCKmksd2GuYgDFW5JQQIdaCEi8g==","reelPlayerNavigationModel":"REEL_PLAYER_NAVIGATION_MODEL_UNSPECIFIED"}},"params":"CBQwAkosChUiE3lhZXN1IHJhZGlvZGRpdHkgY2ISE3lhZXN1IHJhZGlvZGRpdHkgY2I%3D","sequenceProvider":"REEL_WATCH_SEQUENCE_PROVIDER_RPC","sequenceParams":"Cgs4bDNvdU9xX2lTMCr8AgoNCgs4bDNvdU9xX2lTMAoNCgtjVWhPdDR4VVRiRQoNCgstRHJlUFJmMjRPcwoNCgtqZjJLNFg2VUc2RQoNCgthNURkd2duUGc0NAoNCgtvOU1MSWRpV2dkTQoNCgtESm1hTDdnNER2cwoNCgtzVnRCZWlPTnZLWQoNCgt3WUxVakZWUFZIUQoNCgs0cTU4NXZMSTZwZwoNCgtScDRiY3RaV2NYawoNCgs0X3VTOTdrMU9JNAoNCgtBZjJoNjR5RG5JdwoNCgtaRDFVWENVNURGZwoNCgstUHRVWm5venpBdwoNCgtpQlhPMW5oS2JWawoNCgtZTzB6d1c0c1pjdwoNCgtfUzF1NUJOLXZOdwoNCgtFRTQ3a1J6UHNlQQoNCgt6al92VGRCZU90ZwoNCgtzTGFCZmRqZGVCUQoNCgtFdENXdmRhMko0bxAAGBQiLAoVIhN5YWVzdSByYWRpb2RkaXR5IGNiEhN5YWVzdSByYWRpb2RkaXR5IGNiaAFwBA%3D%3D","loggingContext":{"vssLoggingContext":{"serializedContextData":"CgIIDA%3D%3D"},"qoeLoggingContext":{"serializedContextData":"CgIIDA%3D%3D"}},"ustreamerConfig":"CAwSIFBuN2hadDFrc2VTanpFRXFxWE9IUXdxMVVOcC9KZz09"}}},"inlinePlayerData":{"onVisible":{"innertubeCommand":{"clickTrackingParams":"CPgBEIf2BBgAIhMIqaSx3Ya5iAMVbklBAh1oISLyMgZzZWFyY2hSE3lhZXN1IHJhZGlvZGRpdHkgY2KaAQUIMhD0JA==","commandMetadata":{"webCommandMetadata":{"url":"/watch?v=8l3ouOq_iS0&pp=YAHIAQHwAQG6AwIYAugFAaIGFQGuj8EmxNmEa1YtfdIsj0bHWQMUeJAHAg%3D%3D","webPageType":"WEB_PAGE_TYPE_WATCH","rootVe":3832}},"watchEndpoint":{"videoId":"8l3ouOq_iS0","playerParams":"YAHIAQHwAQG6AwIYAugFAaIGFQGuj8EmxNmEa1YtfdIsj0bHWQMUeJAHAg%3D%3D","playerExtraUrlParams":[{"key":"inline","value":"1"}],"watchEndpointSupportedOnesieConfig":{"html5PlaybackOnesieConfig":{"commonConfig":{"url":"https://rr5---sn-u0g3uxax3-txpe.googlevideo.com/initplayback?source=youtube&oeis=1&c=WEB&oad=3200&ovd=3200&oaad=11000&oavd=11000&ocs=700&oewis=1&oputc=1&ofpcc=1&siu=1&msp=1&odepv=1&id=f25de8b8eabf892d&ip=78.190.231.135&initcwndbps=962500&mt=1725994164&oweuc="}}}}}}},"menuOnTap":{"innertubeCommand":{"clickTrackingParams":"CPgBEIf2BBgAIhMIqaSx3Ya5iAMVbklBAh1oISLy","showSheetCommand":{"panelLoadingStrategy":{"inlineContent":{"sheetViewModel":{"content":{"listViewModel":{"listItems":[{"listItemViewModel":{"title":{"content":"Add to queue"},"leadingImage":{"sources":[{"clientResource":{"imageName":"ADD_TO_QUEUE_TAIL"}}]},"rendererContext":{"loggingContext":{"loggingDirectives":{"trackingParams":"CPkBEP6YBBgAIhMIqaSx3Ya5iAMVbklBAh1oISLy","enableDisplayloggerExperiment":true}},"commandContext":{"onTap":{"innertubeCommand":{"clickTrackingParams":"CPkBEP6YBBgAIhMIqaSx3Ya5iAMVbklBAh1oISLy","commandMetadata":{"webCommandMetadata":{"sendPost":true}},"signalServiceEndpoint":{"signal":"CLIENT_SIGNAL","actions":[{"clickTrackingParams":"CPkBEP6YBBgAIhMIqaSx3Ya5iAMVbklBAh1oISLy","addToPlaylistCommand":{"openMiniplayer":true,"videoId":"8l3ouOq_iS0","listType":"PLAYLIST_EDIT_LIST_TYPE_QUEUE","onCreateListCommand":{"clickTrackingParams":"CPkBEP6YBBgAIhMIqaSx3Ya5iAMVbklBAh1oISLy","commandMetadata":{"webCommandMetadata":{"sendPost":true,"apiUrl":"/youtubei/v1/playlist/create"}},"createPlaylistServiceEndpoint":{"videoIds":["8l3ouOq_iS0"],"params":"CAQ%3D"}},"videoIds":["8l3ouOq_iS0"]}}]}}}}}}},{"listItemViewModel":{"title":{"content":"Report"},"leadingImage":{"sources":[{"clientResource":{"imageName":"FLAG"}}]},"rendererContext":{"commandContext":{"onTap":{"innertubeCommand":{"clickTrackingParams":"CPgBEIf2BBgAIhMIqaSx3Ya5iAMVbklBAh1oISLy","commandMetadata":{"webCommandMetadata":{"sendPost":true,"apiUrl":"/youtubei/v1/flag/get_form"}},"getReportFormEndpoint":{"params":"Egs4bDNvdU9xX2lTMEABWABwAXgD2AEA6AEB"}}}}}}},{"listItemViewModel":{"title":{"content":"Send feedback"},"leadingImage":{"sources":[{"clientResource":{"imageName":"FEEDBACK"}}]},"rendererContext":{"commandContext":{"onTap":{"innertubeCommand":{"clickTrackingParams":"CPgBEIf2BBgAIhMIqaSx3Ya5iAMVbklBAh1oISLy","commandMetadata":{"webCommandMetadata":{"ignoreNavigation":true}},"userFeedbackEndpoint":{"additionalDatas":[{"userFeedbackEndpointProductSpecificValueData":{"key":"video_id","value":"8l3ouOq_iS0"}},{"userFeedbackEndpointProductSpecificValueData":{"key":"lockup","value":"shelf"}}]}}}}}}}]}}}}}}}},"indexInCollection":0,"menuOnTapA11yLabel":"More actions","overlayMetadata":{"primaryText":{"content":"Xiegu G90 + DSP Speaker is a game changer #g90 #hamradio #pota #icom #yaesu #xiegug90 #ftdx10 #qrz"},"secondaryText":{"content":"3.3K views"}},"loggingDirectives":{"trackingParams":"CPgBEIf2BBgAIhMIqaSx3Ya5iAMVbklBAh1oISLy","visibility":{"types":"12"},"enableDisplayloggerExperiment":true}}}

@kuylar kuylar transferred this issue from lighttube-org/LightTube Sep 10, 2024
@kuylar kuylar changed the title [Bug] error searching for video [Renderer] New renderer: shortsLockupViewModel Sep 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants