22 lines
489 B
TypeScript
22 lines
489 B
TypeScript
import { VideoConstant } from './video-constant.model'
|
|
import { VideoFileMetadata } from './video-file-metadata'
|
|
import { VideoResolution } from './video-resolution.enum'
|
|
|
|
export interface VideoFile {
|
|
resolution: VideoConstant<VideoResolution>
|
|
size: number // Bytes
|
|
|
|
torrentUrl: string
|
|
torrentDownloadUrl: string
|
|
|
|
fileUrl: string
|
|
fileDownloadUrl: string
|
|
|
|
fps: number
|
|
|
|
metadata?: VideoFileMetadata
|
|
metadataUrl?: string
|
|
|
|
// FIXME: deprecated in 3.2
|
|
magnetUri: string
|
|
}
|