blob: 8f527c0a7e52489a1d0b11258745f9bf90f939ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
}
}
|