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