mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-19 03:00:57 +03:00
added download_only_mode to encryption configuration
reloading of mp3s/mp4s only happens if file manager is enabled
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
},
|
||||
"Extra": {
|
||||
"title_top": "Youtube Downloader",
|
||||
"file_manager_enabled": true
|
||||
"download_only_mode": false,
|
||||
"file_manager_enabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -139,7 +139,9 @@ export class AppComponent implements OnInit {
|
||||
}
|
||||
|
||||
// reloads mp3s
|
||||
this.getMp3s();
|
||||
if (this.fileManagerEnabled) {
|
||||
this.getMp3s();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -169,7 +171,9 @@ export class AppComponent implements OnInit {
|
||||
}
|
||||
|
||||
// reloads mp4s
|
||||
this.getMp4s();
|
||||
if (this.fileManagerEnabled) {
|
||||
this.getMp4s();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user