2020-08-27 02:58:27 -05:00
|
|
|
import { VideoConstant } from './video-constant.model'
|
|
|
|
import { VideoFileMetadata } from './video-file-metadata'
|
|
|
|
import { VideoResolution } from './video-resolution.enum'
|
2019-11-15 08:06:03 -06:00
|
|
|
|
|
|
|
export interface VideoFile {
|
|
|
|
resolution: VideoConstant<VideoResolution>
|
|
|
|
size: number // Bytes
|
2021-02-16 09:25:53 -06:00
|
|
|
|
2019-11-15 08:06:03 -06:00
|
|
|
torrentUrl: string
|
|
|
|
torrentDownloadUrl: string
|
2021-02-16 09:25:53 -06:00
|
|
|
|
2019-11-15 08:06:03 -06:00
|
|
|
fileUrl: string
|
|
|
|
fileDownloadUrl: string
|
2021-02-16 09:25:53 -06:00
|
|
|
|
2019-11-15 08:06:03 -06:00
|
|
|
fps: number
|
2021-02-16 09:25:53 -06:00
|
|
|
|
2020-06-26 01:37:26 -05:00
|
|
|
metadata?: VideoFileMetadata
|
2020-03-10 08:39:40 -05:00
|
|
|
metadataUrl?: string
|
2021-02-16 09:25:53 -06:00
|
|
|
|
|
|
|
// FIXME: deprecated in 3.2
|
|
|
|
magnetUri: string
|
2019-11-15 08:06:03 -06:00
|
|
|
}
|