From c93ccb98291a35347b78f9f0bca7defa91423912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=AB=E3=82=A4=E3=82=BF=E3=82=A4=E3=82=BC=E3=83=B3?= Date: Thu, 21 Sep 2023 09:43:40 +0700 Subject: [PATCH 1/3] Change baseUrl to https://anime-owl.net --- .../eu/kanade/tachiyomi/animeextension/en/animeowl/AnimeOwl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/animeowl/src/eu/kanade/tachiyomi/animeextension/en/animeowl/AnimeOwl.kt b/src/en/animeowl/src/eu/kanade/tachiyomi/animeextension/en/animeowl/AnimeOwl.kt index 296b39de20..2fc4d50c51 100644 --- a/src/en/animeowl/src/eu/kanade/tachiyomi/animeextension/en/animeowl/AnimeOwl.kt +++ b/src/en/animeowl/src/eu/kanade/tachiyomi/animeextension/en/animeowl/AnimeOwl.kt @@ -46,7 +46,7 @@ class AnimeOwl : ConfigurableAnimeSource, ParsedAnimeHttpSource() { override val name = "AnimeOwl" - override val baseUrl by lazy { preferences.getString("preferred_domain", "https://animeowl.net")!! } + override val baseUrl by lazy { preferences.getString("preferred_domain", "https://anime-owl.net")!! } override val lang = "en" From 42a6f10f74ed82131abb08ba507145a7c538205c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=AB=E3=82=A4=E3=82=BF=E3=82=A4=E3=82=BC=E3=83=B3?= Date: Thu, 21 Sep 2023 09:45:12 +0700 Subject: [PATCH 2/3] Update extVersionCode on build.gradle --- src/en/animeowl/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/animeowl/build.gradle b/src/en/animeowl/build.gradle index c07fdcf006..1cb4cb8d86 100644 --- a/src/en/animeowl/build.gradle +++ b/src/en/animeowl/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'AnimeOwl' pkgNameSuffix = 'en.animeowl' extClass = '.AnimeOwl' - extVersionCode = 13 + extVersionCode = 14 libVersion = '13' } From d6548d54022e732e1ee55dca00a507cd2307661b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=AB=E3=82=A4=E3=82=BF=E3=82=A4=E3=82=BC=E3=83=B3?= Date: Sun, 24 Sep 2023 16:52:01 +0700 Subject: [PATCH 3/3] deleted preference domain --- .../animeextension/en/animeowl/AnimeOwl.kt | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/en/animeowl/src/eu/kanade/tachiyomi/animeextension/en/animeowl/AnimeOwl.kt b/src/en/animeowl/src/eu/kanade/tachiyomi/animeextension/en/animeowl/AnimeOwl.kt index 2fc4d50c51..1d513fed56 100644 --- a/src/en/animeowl/src/eu/kanade/tachiyomi/animeextension/en/animeowl/AnimeOwl.kt +++ b/src/en/animeowl/src/eu/kanade/tachiyomi/animeextension/en/animeowl/AnimeOwl.kt @@ -46,7 +46,7 @@ class AnimeOwl : ConfigurableAnimeSource, ParsedAnimeHttpSource() { override val name = "AnimeOwl" - override val baseUrl by lazy { preferences.getString("preferred_domain", "https://anime-owl.net")!! } + override val baseUrl = "https://anime-owl.net" override val lang = "en" @@ -334,21 +334,6 @@ class AnimeOwl : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } override fun setupPreferenceScreen(screen: PreferenceScreen) { - val domainPref = ListPreference(screen.context).apply { - key = "preferred_domain" - title = "Preferred domain (requires app restart)" - entries = arrayOf("animeowl.net") - entryValues = arrayOf("https://animeowl.net") - setDefaultValue("https://animeowl.net") - summary = "%s" - - setOnPreferenceChangeListener { _, newValue -> - val selected = newValue as String - val index = findIndexOfValue(selected) - val entry = entryValues[index] as String - preferences.edit().putString(key, entry).commit() - } - } val videoQualityPref = ListPreference(screen.context).apply { key = "preferred_quality" title = "Preferred quality" @@ -379,7 +364,6 @@ class AnimeOwl : ConfigurableAnimeSource, ParsedAnimeHttpSource() { preferences.edit().putString(key, entry).commit() } } - screen.addPreference(domainPref) screen.addPreference(videoQualityPref) screen.addPreference(videoLangPref) }