-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Create bundled and non-bundled (downloadable dependencies/packages) versions #256
base: master
Are you sure you want to change the base?
Conversation
Moved plugins declaration
… clean architecture
feat(NEW APP): Created a Jetpack Compose test app
perf: Improved StreamProcessExtractor
feat: Started plugin downloader feature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yt-dlp but updates of it in commit a71509
refactor: Optimized imports in `library` module
The plugins support is almost finished; I have to change some things related to the initPython function and even the FFMpeg and Aria2c modules of the lib, but the YoutbeDL module itself can start to be reviewed. |
library/src/main/java/com/yausername/youtubedl_android/util/plugins/PluginsUtil.kt
Outdated
Show resolved
Hide resolved
library/src/main/java/com/yausername/youtubedl_android/YoutubeDL.kt
Outdated
Show resolved
Hide resolved
library/src/main/java/com/yausername/youtubedl_android/util/files/FilesUtil.kt
Outdated
Show resolved
Hide resolved
library/src/main/java/com/yausername/youtubedl_android/YoutubeDL.kt
Outdated
Show resolved
Hide resolved
library/src/main/java/com/yausername/youtubedl_android/YoutubeDL.kt
Outdated
Show resolved
Hide resolved
library/src/main/java/com/yausername/youtubedl_android/Constants.kt
Outdated
Show resolved
Hide resolved
refactor: Separated the dependencies ensure from the init function
fix: Dependency download with `installDependencies` updated every single iteration the progress
fix: Dependency download with `installDependencies` updated every single iteration the progress
Sorry for this last commit duplicated message d4a2554. The changes made:
|
I hadn't a lot of time to continue on this, but will do. It seems to be more complex than what I thought, because also FFmpeg and Aria2c has to be downloadable, and by how the library is built we need to have some kind of shared code, meaning that I have to create another package with that shared code. |
…ependencies downloader. Now it's mandatory to implement the common package. A solution for this must be found
…loadable_packages
The |
⚠️ (WIP): Created product flavors for `:library` module - nonBundled version not finished and Android doesn't take it as a product variant
@JunkFood02 Can we talk about how we should handle the libraries downloading? I mean. Should the download function be inside the |
EDIT: FIXEDSeems to be an error at build time because of the app, here is the log. I think that the targetConfiguration isn't correct since I would say that the target should be "bundled" or "nonbundled" but when using those cases Gradle isn't able to find the library: implementation project(":library") targetConfiguration("bundledDebugRuntimeElements") |
- Added flavor to the test app - Preparing the other dependencies for flavor-ization
… an abstract function
Pull Request: Move to Downloadable Plugins
Description
This pull request addresses the following changes:
Changes Made
Benefits
Testing
Additional Notes
Related Issues
Please review and provide feedback on the proposed changes.