1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-29 19:32:16 +00:00

- removed useless function/properties

- added filename property to Video type
This commit is contained in:
Luca Armaroli
2020-09-09 04:54:17 +02:00
parent a185f51eb5
commit 96f4c90277
2 changed files with 29 additions and 22 deletions

View File

@@ -6,6 +6,7 @@ export type Session = {
export type Video = {
// the following properties are all for the title template
title: string;
duration: string;
publishDate: string;
@@ -13,11 +14,16 @@ export type Video = {
author: string;
authorEmail: string;
uniqueId: string;
outPath: string;
totalChunks: number; // Abstraction of FFmpeg timemark
// the following properties are all the urls neede for the download
playbackUrl: string;
posterImageUrl: string;
captionsUrl?: string
// final filename, already sanitized and unique
filename: string;
// complete path to save the video
outPath: string;
}