mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-21 03:33:20 +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,6 +16,7 @@
|
|||||||
},
|
},
|
||||||
"Extra": {
|
"Extra": {
|
||||||
"title_top": "Youtube Downloader",
|
"title_top": "Youtube Downloader",
|
||||||
|
"download_only_mode": false,
|
||||||
"file_manager_enabled": true
|
"file_manager_enabled": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -139,8 +139,10 @@ export class AppComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// reloads mp3s
|
// reloads mp3s
|
||||||
|
if (this.fileManagerEnabled) {
|
||||||
this.getMp3s();
|
this.getMp3s();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -169,8 +171,10 @@ export class AppComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// reloads mp4s
|
// reloads mp4s
|
||||||
|
if (this.fileManagerEnabled) {
|
||||||
this.getMp4s();
|
this.getMp4s();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user