]>
Commit | Line | Data |
---|---|---|
583eb04b | 1 | export class VideoFileMetadata { |
8319d6ae RK |
2 | streams: { [x: string]: any, [x: number]: any }[] |
3 | format: { [x: string]: any, [x: number]: any } | |
4 | chapters: any[] | |
5 | ||
583eb04b | 6 | constructor (hash: { chapters: any[], format: any, streams: any[] }) { |
8319d6ae RK |
7 | this.chapters = hash.chapters |
8 | this.format = hash.format | |
9 | this.streams = hash.streams | |
10 | ||
11 | delete this.format.filename | |
12 | } | |
13 | } |