diff --git a/app/build.gradle.kts b/app/build.gradle.kts index a8630b6ca..2f83fe4dd 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -15,8 +15,8 @@ android { applicationId = "com.github.libretube" minSdk = 26 targetSdk = 34 - versionCode = 59 - versionName = "0.27.0" + versionCode = 60 + versionName = "0.27.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" resValue("string", "app_name", "LibreTube") diff --git a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt index fd479e974..b5a5a1ade 100644 --- a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt +++ b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt @@ -1,7 +1,6 @@ package com.github.libretube.ui.activities import android.annotation.SuppressLint -import android.content.Context import android.content.Intent import android.content.res.Configuration import android.os.Build @@ -19,8 +18,6 @@ import androidx.appcompat.widget.SearchView import androidx.core.content.pm.ShortcutManagerCompat import androidx.core.net.toUri import androidx.core.os.bundleOf -import androidx.core.text.bold -import androidx.core.text.buildSpannedString import androidx.core.view.allViews import androidx.core.view.children import androidx.core.view.isNotEmpty @@ -607,7 +604,7 @@ class MainActivity : BaseActivity() { // mapping of version code to info message val infoMessages = listOf( - 59 to getUpdateInfoText(this) + 60 to "If you use Local Streams Extraction, please disable \"Use HLS\" in the instance settings." ) val message = @@ -626,30 +623,4 @@ class MainActivity : BaseActivity() { } .show() } - - private fun getUpdateInfoText(context: Context) = buildSpannedString { - append("Most public Piped instances are not able to load any videos as of today because they're rate-limited very quickly by YouTube. Therefore please consider enabling ") - bold { - append(context.getString(R.string.local_stream_extraction)) - } - append(" under ") - bold { - append("Settings -> Instance") - } - append(" in order to fetch video streams directly from YouTube without Piped in-between. Any other content will still be loaded via Piped.") - - appendLine() - appendLine() - - append("Due to the above mentioned issue, some instances do not properly generate the subscriptions feed. To fetch the feed directly from your phone, enable ") - bold { - append(context.getString(R.string.local_feed_extraction)) - } - append(". Note that this might be slow if you have a lot of subscriptions.") - - appendLine() - appendLine() - - append("Please see the pinned issues at GitHub for more information on that topic.") - } } diff --git a/fastlane/metadata/android/en-US/changelogs/60.txt b/fastlane/metadata/android/en-US/changelogs/60.txt new file mode 100644 index 000000000..9ee519568 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/60.txt @@ -0,0 +1,5 @@ +This release fixes the "iOS player response not valid" error yet another time. + +If you don't self-host a Piped instance and therefore use "Local streams extraction", please disable "Use HLS" in the instance settings. + +Please note that Android versions below 7.1.1 are no longer supported by LibreTube.!