Merge branch 'master' into sponsorblock

This commit is contained in:
polymorphicshade 2021-06-19 12:54:17 -06:00
commit ff80ecf482
4 changed files with 18 additions and 3 deletions

View file

@ -17,8 +17,8 @@ android {
resValue "string", "app_name", "NewPipe" resValue "string", "app_name", "NewPipe"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 29 targetSdkVersion 29
versionCode 970 versionCode 971
versionName "0.21.4" versionName "0.21.5"
multiDexEnabled true multiDexEnabled true

View file

@ -32,7 +32,8 @@ public class LoadController implements LoadControl {
final DefaultLoadControl.Builder builder = new DefaultLoadControl.Builder(); final DefaultLoadControl.Builder builder = new DefaultLoadControl.Builder();
builder.setBufferDurationsMs(minimumPlaybackBufferMs, optimalPlaybackBufferMs, builder.setBufferDurationsMs(minimumPlaybackBufferMs, optimalPlaybackBufferMs,
initialPlaybackBufferMs, initialPlaybackBufferMs); initialPlaybackBufferMs,
DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS);
internalLoadControl = builder.build(); internalLoadControl = builder.build();
} }

View file

@ -578,6 +578,17 @@
android:tint="?attr/colorAccent" android:tint="?attr/colorAccent"
app:srcCompat="@drawable/ic_shuffle" app:srcCompat="@drawable/ic_shuffle"
tools:ignore="ContentDescription,RtlHardcoded" /> 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> </RelativeLayout>
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView

View file

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