mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-28 15:40:56 +03:00
Migrated playlist and subscription (per video and sub-wide) video downloading functionality to new schema
Migrated modify playlist component to new schema Moved wait function and playlist generation function(s) to utils - added tests for zip generation
This commit is contained in:
@@ -657,7 +657,7 @@ export class MainComponent implements OnInit {
|
||||
}
|
||||
|
||||
downloadPlaylist(playlist) {
|
||||
this.postsService.downloadFileFromServer(playlist.id, null, true).subscribe(res => {
|
||||
this.postsService.downloadPlaylistFromServer(playlist.id).subscribe(res => {
|
||||
if (playlist.id) { this.downloading_content[playlist.type][playlist.id] = false };
|
||||
const blob: Blob = res;
|
||||
saveAs(blob, playlist.name + '.zip');
|
||||
|
||||
Reference in New Issue
Block a user