aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-file.model.ts
blob: 6cc2d5aeec082d8e8c4787b12c9392860b7dcdf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { VideoConstant, VideoResolution } from '@shared/models'
import { FfprobeData } from 'fluent-ffmpeg'

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