2019-11-15 09:06:03 -05:00
|
|
|
import { VideoConstant, VideoResolution } from '@shared/models'
|
2020-03-10 09:39:40 -04:00
|
|
|
import { FfprobeData } from 'fluent-ffmpeg'
|
2019-11-15 09:06:03 -05:00
|
|
|
|
|
|
|
export interface VideoFile {
|
|
|
|
magnetUri: string
|
|
|
|
resolution: VideoConstant<VideoResolution>
|
|
|
|
size: number // Bytes
|
|
|
|
torrentUrl: string
|
|
|
|
torrentDownloadUrl: string
|
|
|
|
fileUrl: string
|
|
|
|
fileDownloadUrl: string
|
|
|
|
fps: number
|
2020-03-10 09:39:40 -04:00
|
|
|
metadata?: FfprobeData
|
|
|
|
metadataUrl?: string
|
2019-11-15 09:06:03 -05:00
|
|
|
}
|