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

Commit ff80ecf

Browse files
Merge branch 'master' into sponsorblock
2 parents 120d12a + a98c0bd commit ff80ecf

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ android {
1717
resValue "string", "app_name", "NewPipe"
1818
minSdkVersion 19
1919
targetSdkVersion 29
20-
versionCode 970
21-
versionName "0.21.4"
20+
versionCode 971
21+
versionName "0.21.5"
2222

2323
multiDexEnabled true
2424

app/src/main/java/org/schabi/newpipe/player/helper/LoadController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ private LoadController(final int initialPlaybackBufferMs,
3232

3333
final DefaultLoadControl.Builder builder = new DefaultLoadControl.Builder();
3434
builder.setBufferDurationsMs(minimumPlaybackBufferMs, optimalPlaybackBufferMs,
35-
initialPlaybackBufferMs, initialPlaybackBufferMs);
35+
initialPlaybackBufferMs,
36+
DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS);
3637
internalLoadControl = builder.build();
3738
}
3839

app/src/main/res/layout-large-land/player.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,17 @@
578578
android:tint="?attr/colorAccent"
579579
app:srcCompat="@drawable/ic_shuffle"
580580
tools:ignore="ContentDescription,RtlHardcoded" />
581+
582+
<androidx.appcompat.widget.AppCompatTextView
583+
android:id="@+id/itemsListHeaderDuration"
584+
style="@style/TextAppearance.AppCompat.Medium"
585+
android:layout_width="wrap_content"
586+
android:layout_height="wrap_content"
587+
android:layout_centerVertical="true"
588+
android:layout_toLeftOf="@id/itemsListClose"
589+
android:layout_toRightOf="@id/shuffleButton"
590+
android:gravity="center"
591+
android:textColor="@android:color/white" />
581592
</RelativeLayout>
582593

583594
<androidx.recyclerview.widget.RecyclerView
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Hotfix
2+
• Increase buffer for playback after rebuffer
3+
• Fixed crash on tablets and TVs when clicking on the play-queue icon in the player

0 commit comments

Comments
 (0)