aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-file.model.ts
blob: e9839229d2d461f7870db89bebddc54f17942116 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { VideoConstant } from './video-constant.model'
import { VideoFileMetadata } from './video-file-metadata'
import { VideoResolution } from './video-resolution.enum'

export interface VideoFile {
  magnetUri: string
  resolution: VideoConstant<VideoResolution>
  size: number // Bytes
  torrentUrl: string
  torrentDownloadUrl: string
  fileUrl: string
  fileDownloadUrl: string
  fps: number
  metadata?: VideoFileMetadata
  metadataUrl?: string
}