From 1a495266fbbf7dd203b666ed560e8dc0314b3fc8 Mon Sep 17 00:00:00 2001 From: jmir1 Date: Sat, 29 May 2021 11:58:20 +0200 Subject: [PATCH] always save downloaded episodes as mp4 --- .../eu/kanade/tachiyomi/data/download/AnimeDownloader.kt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/download/AnimeDownloader.kt b/app/src/main/java/eu/kanade/tachiyomi/data/download/AnimeDownloader.kt index b898f4fe2..f793f904c 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/download/AnimeDownloader.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/download/AnimeDownloader.kt @@ -288,7 +288,6 @@ class AnimeDownloader( download.source.fetchVideoList(download.episode) .doOnNext { video -> if (video == null) { - Timber.w("mah m9") throw Exception(context.getString(R.string.page_list_empty_error)) } download.video = video @@ -301,7 +300,6 @@ class AnimeDownloader( videoObservable .doOnNext { _ -> // Delete all temporary (unfinished) files - Timber.w("delfiles") tmpDir.listFiles() ?.filter { it.name!!.endsWith(".tmp") } ?.forEach { it.delete() } @@ -364,7 +362,6 @@ class AnimeDownloader( private fun getOrAnimeDownloadImage(video: Video, download: AnimeDownload, tmpDir: UniFile): Observable