feat: media search, choices, library management (Phase 6)

This commit is contained in:
snowspeeder committed 2026-08-30 08:39:57 -04:00
1 parent c10ea72cd6
commit cbf18306ff
4 files changed
+343 -4

No files matched your search

+2
View File
@@ -87,6 +87,7 @@ struct MediaLibrary: Decodable, Equatable {
struct MediaSearchResult: Decodable, Equatable {
let videoID: String?
let trackID: String?
let title: String?
let channel: String?
let duration: Double?
@@ -95,6 +96,7 @@ struct MediaSearchResult: Decodable, Equatable {
enum CodingKeys: String, CodingKey {
case title, channel, duration
case videoID = "video_id"
case trackID = "track_id"
case inLibrary = "in_library"
}
}