2020-06-26 02:37:26 -04:00
|
|
|
export class VideoFileMetadata {
|
2020-03-10 09:39:40 -04:00
|
|
|
streams: { [x: string]: any, [x: number]: any }[]
|
|
|
|
format: { [x: string]: any, [x: number]: any }
|
|
|
|
chapters: any[]
|
|
|
|
|
2020-06-26 02:37:26 -04:00
|
|
|
constructor (hash: { chapters: any[], format: any, streams: any[] }) {
|
2020-03-10 09:39:40 -04:00
|
|
|
this.chapters = hash.chapters
|
|
|
|
this.format = hash.format
|
|
|
|
this.streams = hash.streams
|
|
|
|
|
|
|
|
delete this.format.filename
|
|
|
|
}
|
|
|
|
}
|