Merge pull request #7136 from Bnyro/master

chore: bump version to v0.27.1
This commit is contained in:
Bnyro 2025-02-27 13:59:57 +01:00 committed by GitHub
commit 1fd15a5603
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 32 deletions

View File

@ -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")

View File

@ -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.")
}
}

View File

@ -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.!