From afc51f88f16c68257309a99d97fe618359708ed1 Mon Sep 17 00:00:00 2001 From: kostas214pro Date: Wed, 10 May 2023 00:53:24 +0300 Subject: [PATCH] Aria2c installed + bug fix This commit contains the addition of the download library aria2c provided by youtubeDl-android to make download more reliable and fatser. Also a bug has been fixed in the song fragment where sometimes if there was no result for the given crash the app would crash. Also i added a better implementation of the progress bar bacuse using aria2c broke it --- .idea/gradle.xml | 1 + .idea/misc.xml | 2 +- app/build.gradle | 12 ++++++-- app/src/main/AndroidManifest.xml | 1 - .../example/spotifydownloader/Application.kt | 2 ++ .../Fragments/SongDownloadFragment.kt | 14 ++++++--- .../Fragments/SongFragment.kt | 30 +++++++++++-------- .../Fragments/downloadFragment.kt | 27 +++++++++++++---- build.gradle | 4 +-- gradle.properties | 3 +- 10 files changed, 67 insertions(+), 29 deletions(-) diff --git a/.idea/gradle.xml b/.idea/gradle.xml index f01eec3..ae388c2 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -5,6 +5,7 @@