Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into categories

This commit is contained in:
Isaac Abadi
2020-10-23 02:00:57 -04:00
33 changed files with 2091 additions and 1697 deletions

View File

@@ -341,7 +341,8 @@ export class PlayerComponent implements OnInit, AfterViewInit, OnDestroy {
const zipName = fileNames[0].split(' ')[0] + fileNames[1].split(' ')[0];
this.downloading = true;
this.postsService.downloadFileFromServer(fileNames, this.type, zipName).subscribe(res => {
this.postsService.downloadFileFromServer(fileNames, this.type, zipName, null, null, null, null,
!this.uuid ? this.postsService.user.uid : this.uuid, this.id).subscribe(res => {
this.downloading = false;
const blob: Blob = res;
saveAs(blob, zipName + '.zip');