feat: cancel playlist adding mid-operation (closes #840)

This commit is contained in:
ddmoney420
2026-03-01 19:11:29 -07:00
parent fd3aaea9d9
commit 880eda8435
5 changed files with 39 additions and 11 deletions
+7
View File
@@ -433,6 +433,13 @@ export class App implements AfterViewInit, OnInit {
});
}
cancelAdding() {
this.downloads.cancelAdd().subscribe({
next: () => { this.addInProgress = false; },
error: () => { this.addInProgress = false; }
});
}
downloadItemByKey(id: string) {
this.downloads.startById([id]).subscribe();
}