Removed subscriptions_use_youtubedl_archive setting, to use youtube-dl archive functionality, there is now just one setting for both subscription and non-subscription videos

This commit is contained in:
Isaac Abadi
2020-08-08 15:58:48 -04:00
parent 68037613d8
commit d7aa39599d
9 changed files with 9 additions and 28 deletions

View File

@@ -59,11 +59,6 @@ export class SubscriptionComponent implements OnInit {
this.getSubscription();
}
});
if (!this.initialized) {
this.getConfig();
this.getSubscription();
}
});
if (this.route.snapshot.paramMap.get('id')) {
this.id = this.route.snapshot.paramMap.get('id');
@@ -101,7 +96,7 @@ export class SubscriptionComponent implements OnInit {
}
getConfig() {
this.use_youtubedl_archive = this.postsService.config['Subscriptions']['subscriptions_use_youtubedl_archive'];
this.use_youtubedl_archive = this.postsService.config['Downloader']['use_youtubedl_archive'];
}
goToFile(emit_obj) {