2021-11-18 08:35:08 -05:00
|
|
|
import { VideoConstant } from '../video-constant.model'
|
2021-05-11 05:27:40 -04:00
|
|
|
import { VideoFileMetadata } from './video-file-metadata.model'
|
2020-08-27 03:58:27 -04:00
|
|
|
import { VideoResolution } from './video-resolution.enum'
|
2019-11-15 09:06:03 -05:00
|
|
|
|
|
|
|
export interface VideoFile {
|
2022-07-29 05:32:46 -04:00
|
|
|
id: number
|
|
|
|
|
2019-11-15 09:06:03 -05:00
|
|
|
resolution: VideoConstant<VideoResolution>
|
|
|
|
size: number // Bytes
|
2021-02-16 10:25:53 -05:00
|
|
|
|
2019-11-15 09:06:03 -05:00
|
|
|
torrentUrl: string
|
|
|
|
torrentDownloadUrl: string
|
2021-02-16 10:25:53 -05:00
|
|
|
|
2019-11-15 09:06:03 -05:00
|
|
|
fileUrl: string
|
|
|
|
fileDownloadUrl: string
|
2021-02-16 10:25:53 -05:00
|
|
|
|
2019-11-15 09:06:03 -05:00
|
|
|
fps: number
|
2021-02-16 10:25:53 -05:00
|
|
|
|
2020-06-26 02:37:26 -04:00
|
|
|
metadata?: VideoFileMetadata
|
2020-03-10 09:39:40 -04:00
|
|
|
metadataUrl?: string
|
2021-02-16 10:25:53 -05:00
|
|
|
|
2021-02-18 05:22:35 -05:00
|
|
|
magnetUri: string | null
|
2019-11-15 09:06:03 -05:00
|
|
|
}
|