diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index 3eca123..0607653 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -100,12 +100,12 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) { { title: "ODDAJE", videos: (() => { - // Filter content that are specifically shows/episodes + // Filter content that are specifically shows/episodes (EXCLUDING Gipfelstammtisch) const showVideos = videos.filter(video => - video.title.toLowerCase().includes("oddaja") || - video.title.toLowerCase().includes("sendung") || - video.title.toLowerCase().includes("episode") || - video.title.includes("Gipfelstammtisch") + (video.title.toLowerCase().includes("oddaja") || + video.title.toLowerCase().includes("sendung") || + video.title.toLowerCase().includes("episode")) && + !video.title.includes("Gipfelstammtisch") // EXCLUDE Gipfelstammtisch from ODDAJE ); // Shuffle the show videos randomly @@ -115,6 +115,21 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) { return shuffled.slice(0, 10); })() }, + { + title: "GIPFELSTAMMTISCH", + videos: (() => { + // Filter videos that specifically contain "Gipfelstammtisch" in title + const gipfelVideos = videos.filter(video => + video.title.includes("Gipfelstammtisch") + ); + + // Shuffle the Gipfelstammtisch videos randomly + const shuffled = [...gipfelVideos].sort(() => Math.random() - 0.5); + + // Return 10 random videos from the GIPFELSTAMMTISCH collection + return shuffled.slice(0, 10); + })() + }, { title: "DIE Geschichte des Liedes", videos: (() => {