Merge pull request #8215 from TeamNewPipe/release/0.22.2
Hotfix release v0.22.2
This commit is contained in:
commit
955748f00f
|
@ -16,8 +16,8 @@ android {
|
||||||
resValue "string", "app_name", "NewPipe"
|
resValue "string", "app_name", "NewPipe"
|
||||||
minSdk 19
|
minSdk 19
|
||||||
targetSdk 29
|
targetSdk 29
|
||||||
versionCode 984
|
versionCode 985
|
||||||
versionName "0.22.1"
|
versionName "0.22.2"
|
||||||
|
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
|
||||||
|
@ -189,7 +189,7 @@ dependencies {
|
||||||
// name and the commit hash with the commit hash of the (pushed) commit you want to test
|
// name and the commit hash with the commit hash of the (pushed) commit you want to test
|
||||||
// This works thanks to JitPack: https://jitpack.io/
|
// This works thanks to JitPack: https://jitpack.io/
|
||||||
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
|
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
|
||||||
implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.21.14'
|
implementation 'com.github.TeamNewPipe:NewPipeExtractor:bebdc55ad42ef964a547059110573a177331cf4d'
|
||||||
|
|
||||||
/** Checkstyle **/
|
/** Checkstyle **/
|
||||||
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"
|
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"
|
||||||
|
|
|
@ -84,7 +84,7 @@ public class DescriptionFragment extends BaseFragment {
|
||||||
private void setupDescription() {
|
private void setupDescription() {
|
||||||
final Description description = streamInfo.getDescription();
|
final Description description = streamInfo.getDescription();
|
||||||
if (description == null || isEmpty(description.getContent())
|
if (description == null || isEmpty(description.getContent())
|
||||||
|| description == Description.emptyDescription) {
|
|| description == Description.EMPTY_DESCRIPTION) {
|
||||||
binding.detailDescriptionView.setVisibility(View.GONE);
|
binding.detailDescriptionView.setVisibility(View.GONE);
|
||||||
binding.detailSelectDescriptionButton.setVisibility(View.GONE);
|
binding.detailSelectDescriptionButton.setVisibility(View.GONE);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -193,7 +193,7 @@ public class PeertubeInstanceListFragment extends Fragment {
|
||||||
.setNegativeButton(R.string.cancel, null)
|
.setNegativeButton(R.string.cancel, null)
|
||||||
.setPositiveButton(R.string.yes, (dialog, which) -> {
|
.setPositiveButton(R.string.yes, (dialog, which) -> {
|
||||||
sharedPreferences.edit().remove(savedInstanceListKey).apply();
|
sharedPreferences.edit().remove(savedInstanceListKey).apply();
|
||||||
selectInstance(PeertubeInstance.defaultInstance);
|
selectInstance(PeertubeInstance.DEFAULT_INSTANCE);
|
||||||
updateInstanceList();
|
updateInstanceList();
|
||||||
instanceListAdapter.notifyDataSetChanged();
|
instanceListAdapter.notifyDataSetChanged();
|
||||||
})
|
})
|
||||||
|
|
|
@ -132,7 +132,7 @@ public class DownloadMissionRecover extends Thread {
|
||||||
switch (mRecovery.getKind()) {
|
switch (mRecovery.getKind()) {
|
||||||
case 'a':
|
case 'a':
|
||||||
for (AudioStream audio : mExtractor.getAudioStreams()) {
|
for (AudioStream audio : mExtractor.getAudioStreams()) {
|
||||||
if (audio.average_bitrate == mRecovery.getDesiredBitrate() && audio.getFormat() == mRecovery.getFormat()) {
|
if (audio.getAverageBitrate() == mRecovery.getDesiredBitrate() && audio.getFormat() == mRecovery.getFormat()) {
|
||||||
url = audio.getUrl();
|
url = audio.getUrl();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ class MissionRecoveryInfo(
|
||||||
constructor(stream: Stream) : this(format = stream.getFormat()!!) {
|
constructor(stream: Stream) : this(format = stream.getFormat()!!) {
|
||||||
when (stream) {
|
when (stream) {
|
||||||
is AudioStream -> {
|
is AudioStream -> {
|
||||||
desiredBitrate = stream.average_bitrate
|
desiredBitrate = stream.averageBitrate
|
||||||
isDesired2 = false
|
isDesired2 = false
|
||||||
kind = 'a'
|
kind = 'a'
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Behoben, dass YouTube keinen Stream abspielte.
|
|
@ -0,0 +1 @@
|
||||||
|
Fixed YouTube not playing any stream
|
|
@ -0,0 +1 @@
|
||||||
|
תוקנה התקלה ש־YouTube לא מנגן אף תזרים.
|
|
@ -0,0 +1 @@
|
||||||
|
Sistemato un problema nell'estrattore di YouTube che impediva di guardare qualsiasi video.
|
|
@ -0,0 +1 @@
|
||||||
|
Opgelost: YouTube speelt geen stream af.
|
|
@ -0,0 +1 @@
|
||||||
|
Fixade att YouTube inte spelade någon stream.
|
|
@ -0,0 +1 @@
|
||||||
|
Виправлено проблему невідтворюваності трансляцій YouTube.
|
|
@ -0,0 +1 @@
|
||||||
|
修复YouTube无法播放任何视频
|
Loading…
Reference in New Issue