Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 7857ae2

Browse files
Merge branch 'master' into sponsorblock
2 parents 3e688b1 + 53a659c commit 7857ae2

File tree

13 files changed

+15
-7
lines changed

13 files changed

+15
-7
lines changed

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ android {
1616
resValue "string", "app_name", "NewPipe SponsorBlock"
1717
minSdk 19
1818
targetSdk 29
19-
versionCode 984
20-
versionName "0.22.1"
19+
versionCode 985
20+
versionName "0.22.2"
2121

2222
multiDexEnabled true
2323

@@ -189,7 +189,7 @@ dependencies {
189189
// name and the commit hash with the commit hash of the (pushed) commit you want to test
190190
// This works thanks to JitPack: https://jitpack.io/
191191
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
192-
implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.21.14'
192+
implementation 'com.github.TeamNewPipe:NewPipeExtractor:b77c72fb8826c3ffca0be5f96b066cca0a07b1c9'
193193

194194
/** Checkstyle **/
195195
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"

app/src/main/java/org/schabi/newpipe/fragments/detail/DescriptionFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ private void setupUploadDate() {
8484
private void setupDescription() {
8585
final Description description = streamInfo.getDescription();
8686
if (description == null || isEmpty(description.getContent())
87-
|| description == Description.emptyDescription) {
87+
|| description == Description.EMPTY_DESCRIPTION) {
8888
binding.detailDescriptionView.setVisibility(View.GONE);
8989
binding.detailSelectDescriptionButton.setVisibility(View.GONE);
9090
return;

app/src/main/java/org/schabi/newpipe/settings/PeertubeInstanceListFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private void restoreDefaults() {
193193
.setNegativeButton(R.string.cancel, null)
194194
.setPositiveButton(R.string.yes, (dialog, which) -> {
195195
sharedPreferences.edit().remove(savedInstanceListKey).apply();
196-
selectInstance(PeertubeInstance.defaultInstance);
196+
selectInstance(PeertubeInstance.DEFAULT_INSTANCE);
197197
updateInstanceList();
198198
instanceListAdapter.notifyDataSetChanged();
199199
})

app/src/main/java/us/shandian/giga/get/DownloadMissionRecover.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ private void resolveStream() throws IOException, ExtractionException, HttpError
132132
switch (mRecovery.getKind()) {
133133
case 'a':
134134
for (AudioStream audio : mExtractor.getAudioStreams()) {
135-
if (audio.average_bitrate == mRecovery.getDesiredBitrate() && audio.getFormat() == mRecovery.getFormat()) {
135+
if (audio.getAverageBitrate() == mRecovery.getDesiredBitrate() && audio.getFormat() == mRecovery.getFormat()) {
136136
url = audio.getUrl();
137137
break;
138138
}

app/src/main/java/us/shandian/giga/get/MissionRecoveryInfo.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class MissionRecoveryInfo(
2121
constructor(stream: Stream) : this(format = stream.getFormat()!!) {
2222
when (stream) {
2323
is AudioStream -> {
24-
desiredBitrate = stream.average_bitrate
24+
desiredBitrate = stream.averageBitrate
2525
isDesired2 = false
2626
kind = 'a'
2727
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Behoben, dass YouTube keinen Stream abspielte.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed YouTube not playing any stream
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
תוקנה התקלה ש־YouTube לא מנגן אף תזרים.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sistemato un problema nell'estrattore di YouTube che impediva di guardare qualsiasi video.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Opgelost: YouTube speelt geen stream af.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixade att YouTube inte spelade någon stream.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Виправлено проблему невідтворюваності трансляцій YouTube.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
修复YouTube无法播放任何视频

0 commit comments

Comments
 (0)