feat(chat): integrate podcast support into chat components

- Updated ChatMessage and ChatWindow components to handle podcast content alongside films and songs.
- Enhanced useContentPanel to extract and manage podcasts, allowing for richer media interactions.
- Added PodcastCard and PodcastGrid components for displaying podcast information.
- Improved UI elements to accommodate podcast selection and detail viewing.
- Updated styles for empty state icons and added new CSS for podcast-related elements.

Made-with: Cursor
This commit is contained in:
Dorian
2026-03-02 19:57:44 +00:00
parent 7a0e42bf63
commit 49ec6c09b6
18 changed files with 890 additions and 39 deletions
+25
View File
@@ -52,3 +52,28 @@ export interface Song {
genres?: string[]
sources?: SongSource[]
}
export interface PodcastSource {
type: 'fountain' | 'rumble' | 'youtube' | 'podcastindex' | 'castopod' | 'odysee' | 'podverse' | 'ipfs' | 'rss'
name: string
url: string
icon?: string
}
export interface Podcast {
id: string
title: string
host?: string
description?: string
coverUrl?: string
year?: number
episodeCount?: number
genres?: string[]
sources: PodcastSource[]
}
export interface PodcastRendererData {
podcasts: Podcast[]
query?: string
totalResults?: number
}