From 9f2ca0fd1838b14c28cde16debc01a1b30436557 Mon Sep 17 00:00:00 2001 From: Cameron Radmore Date: Mon, 10 Aug 2026 18:45:19 -0400 Subject: [PATCH] feat(Parser): Add station as possible LockupView content_type --- src/core/mixins/Feed.ts | 2 +- src/parser/classes/LockupView.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/mixins/Feed.ts b/src/core/mixins/Feed.ts index 86a954750f..979da99b06 100644 --- a/src/core/mixins/Feed.ts +++ b/src/core/mixins/Feed.ts @@ -87,7 +87,7 @@ export default class Feed { PlaylistVideo, PlaylistPanelVideo, WatchCardCompactVideo - ).filter((item) => !item.is(LockupView) || (item.content_type === 'VIDEO' || item.content_type === 'MOVIE' || item.content_type === 'SHORT'))); + ).filter((item) => !item.is(LockupView) || (item.content_type === 'VIDEO' || item.content_type === 'MOVIE' || item.content_type === 'SHORT' || item.content_type == 'STATION'))); } /** diff --git a/src/parser/classes/LockupView.ts b/src/parser/classes/LockupView.ts index 425264ae95..fc64f51bfb 100644 --- a/src/parser/classes/LockupView.ts +++ b/src/parser/classes/LockupView.ts @@ -11,7 +11,7 @@ export default class LockupView extends YTNode { public content_image: CollectionThumbnailView | ThumbnailView | null; public metadata: LockupMetadataView | null; public content_id: string; - public content_type: 'UNSPECIFIED' | 'VIDEO' | 'PLAYLIST' | 'SHORT' | 'CHANNEL' | 'ALBUM' | 'PRODUCT' | 'GAME' | 'CLIP' | 'PODCAST' | 'SOURCE' | 'SHOPPING_COLLECTION' | 'MOVIE'; + public content_type: 'UNSPECIFIED' | 'VIDEO' | 'PLAYLIST' | 'SHORT' | 'CHANNEL' | 'ALBUM' | 'PRODUCT' | 'GAME' | 'CLIP' | 'PODCAST' | 'SOURCE' | 'SHOPPING_COLLECTION' | 'MOVIE' | 'STATION'; public renderer_context: RendererContext; constructor(data: RawNode) {