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