diff --git a/app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt b/app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt index 4f905a550..5512dfeaf 100644 --- a/app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt @@ -69,8 +69,9 @@ object SettingsDownloadScreen : SearchableSettings { Preference.PreferenceItem.ListPreference( pref = downloadPreferences.numberOfDownloads(), title = stringResource(R.string.pref_download_slots), - entries = listOf(1, 2, 3).associateWith { it.toString() }, + entries = (1..5).associateWith { it.toString() }, ), + Preference.PreferenceItem.InfoPreference(stringResource(R.string.download_slots_info)), getDeleteChaptersGroup( downloadPreferences = downloadPreferences, categories = allCategories, diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt b/app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt index d5aefad1d..495bef260 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt @@ -216,10 +216,14 @@ class AnimeDownloader( .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) }, - downloadPreferences.numberOfDownloads().get(), + if (sourceManager.get(bySource.key.id) is UnmeteredSource) { + downloadPreferences.numberOfDownloads().get() + } else { + 1 + }, ) }, - 3, + 5, ) .subscribe( { completedDownload -> diff --git a/i18n/src/main/res/values/strings-aniyomi.xml b/i18n/src/main/res/values/strings-aniyomi.xml index 3e169b30e..67898bcd6 100644 --- a/i18n/src/main/res/values/strings-aniyomi.xml +++ b/i18n/src/main/res/values/strings-aniyomi.xml @@ -339,4 +339,5 @@ resmush.it Bandwidth Hero Proxy Server Put Bandwidth Hero Proxy server url here + Will only download concurrently from self-hosted or unmetered sources \ No newline at end of file