aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/file/video-file.model.ts
blob: 2bbff48eb6b1b8ea89774116f1e8676f9be29dc8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                       
                                                               
                                                         

                            

            

                                            
 

                            
 

                         
 
             
 
                              
                      
 
                          
 
import { VideoConstant } from '../video-constant.model'
import { VideoFileMetadata } from './video-file-metadata.model'
import { VideoResolution } from './video-resolution.enum'

export interface VideoFile {
  id: number

  resolution: VideoConstant<VideoResolution>
  size: number // Bytes

  torrentUrl: string
  torrentDownloadUrl: string

  fileUrl: string
  fileDownloadUrl: string

  fps: number

  metadata?: VideoFileMetadata
  metadataUrl?: string

  magnetUri: string | null
}