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



                                                   
                                                                        






                                 
export class VideoFileMetadata {
  streams: { [x: string]: any, [x: number]: any }[]
  format: { [x: string]: any, [x: number]: any }
  chapters: any[]

  constructor (hash: { chapters: any[], format: any, streams: any[] }) {
    this.chapters = hash.chapters
    this.format = hash.format
    this.streams = hash.streams

    delete this.format.filename
  }
}