Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/mixins/Feed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default class Feed<T extends IParsedResponse = IParsedResponse> {
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')));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/LockupView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading