feat: enhance mixed media support and add duplicate resolution

This commit is contained in:
nimbold
2026-06-08 05:37:27 +03:30
parent 34ca209e09
commit baddf0da6d
9 changed files with 302 additions and 96 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import Foundation
struct RawMediaFormat: Decodable, Sendable {
struct RawMediaFormat: Decodable, Sendable, Equatable {
let format_id: String?
let ext: String?
let resolution: String?
@@ -12,7 +12,7 @@ struct RawMediaFormat: Decodable, Sendable {
let filesize_approx: Int64?
}
struct MediaMetadata: Decodable, Sendable {
struct MediaMetadata: Decodable, Sendable, Equatable {
let id: String?
let title: String?
let uploader: String?