Skip to content

Commit

Permalink
Merge pull request #6493 from TeamNewPipe/hotfix-v0.21.5
Browse files Browse the repository at this point in the history
Hotfix release 0.21.5
  • Loading branch information
TobiGr authored Jun 15, 2021
2 parents 70b9330 + cdfe686 commit a98c0bd
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ android {
resValue "string", "app_name", "NewPipe"
minSdkVersion 19
targetSdkVersion 29
versionCode 970
versionName "0.21.4"
versionCode 971
versionName "0.21.5"

multiDexEnabled true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ private LoadController(final int initialPlaybackBufferMs,

final DefaultLoadControl.Builder builder = new DefaultLoadControl.Builder();
builder.setBufferDurationsMs(minimumPlaybackBufferMs, optimalPlaybackBufferMs,
initialPlaybackBufferMs, initialPlaybackBufferMs);
initialPlaybackBufferMs,
DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS);
internalLoadControl = builder.build();
}

Expand Down
11 changes: 11 additions & 0 deletions app/src/main/res/layout-large-land/player.xml
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,17 @@
android:tint="?attr/colorAccent"
app:srcCompat="@drawable/ic_shuffle"
tools:ignore="ContentDescription,RtlHardcoded" />

<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/itemsListHeaderDuration"
style="@style/TextAppearance.AppCompat.Medium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/itemsListClose"
android:layout_toRightOf="@id/shuffleButton"
android:gravity="center"
android:textColor="@android:color/white" />
</RelativeLayout>

<androidx.recyclerview.widget.RecyclerView
Expand Down
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/971.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hotfix
• Increase buffer for playback after rebuffer
• Fixed crash on tablets and TVs when clicking on the play-queue icon in the player

0 comments on commit a98c0bd

Please sign in to comment.