Skip to content

Commit c8bb936

Browse files
committed
Updated extractor to latest version
1 parent 8b881d4 commit c8bb936

9 files changed

Lines changed: 19 additions & 34 deletions

File tree

0 Bytes
Binary file not shown.

.idea/compiler.xml

Lines changed: 1 addition & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ android {
1313
applicationId "com.stipess.youplay"
1414
minSdkVersion 19
1515
targetSdkVersion 28
16-
versionCode 72
17-
versionName "2.1.9"
16+
versionCode 73
17+
versionName "2.2.0"
1818
buildConfigField 'String', 'YOUPLAY_WEBSITE', '"https://youplayandroid.com"'
1919
multiDexEnabled true
2020
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -25,8 +25,8 @@ android {
2525
}
2626
buildTypes {
2727
release {
28-
minifyEnabled true
29-
useProguard true
28+
minifyEnabled false
29+
useProguard false
3030
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3131
android.applicationVariants.all { variant ->
3232
variant.outputs.all {
@@ -35,8 +35,8 @@ android {
3535
}
3636
}
3737
debug {
38-
minifyEnabled true
39-
useProguard true
38+
minifyEnabled false
39+
useProguard false
4040
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4141
android.applicationVariants.all { variant ->
4242
variant.outputs.all {
@@ -48,6 +48,7 @@ android {
4848
compileOptions {
4949
sourceCompatibility JavaVersion.VERSION_1_8
5050
targetCompatibility JavaVersion.VERSION_1_8
51+
coreLibraryDesugaringEnabled true
5152
}
5253
productFlavors {
5354
}
@@ -67,7 +68,7 @@ dependencies {
6768
implementation 'com.liulishuo.filedownloader:library:1.7.7'
6869
implementation 'com.google.firebase:firebase-core:18.0.0'
6970

70-
implementation 'com.github.TeamNewPipe:NewPipeExtractor:0.20.5'
71+
implementation 'com.github.TeamNewPipe:NewPipeExtractor:0.20.8'
7172
implementation "com.squareup.okhttp3:okhttp:3.12.11"
7273
implementation 'org.jsoup:jsoup:1.13.1'
7374
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
@@ -87,6 +88,7 @@ dependencies {
8788
implementation 'com.google.gms:google-services:4.3.4'
8889
implementation 'com.google.android.exoplayer:exoplayer:2.11.7'
8990
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
91+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.9'
9092

9193
}
9294

app/src/main/java/com/stipess/youplay/AudioService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ public Notification initNotification(String title, String image, String author)
392392
.addAction(R.drawable.next , "next", next_btn)
393393
.addAction(R.drawable.cancel, "cancel", cancel_btn)
394394
.setStyle(new androidx.media.app.NotificationCompat.MediaStyle().setMediaSession(mediaSessionCompat.getSessionToken()).setShowActionsInCompactView(0,1,2))
395-
.setOngoing(true);
395+
.setOngoing(true)
396+
.setShowWhen(false);
396397
if(id.equals("5385"))
397398
builder.setChannelId(id);
398399

app/src/main/java/com/stipess/youplay/youtube/loaders/YoutubeMusicLoader.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
import android.content.Context;
5-
import android.util.Log;
65

76
import androidx.loader.content.AsyncTaskLoader;
87

@@ -12,8 +11,6 @@
1211
import com.stipess.youplay.utils.FileManager;
1312
import com.stipess.youplay.utils.Utils;
1413

15-
16-
import org.schabi.newpipe.extractor.Info;
1714
import org.schabi.newpipe.extractor.InfoItem;
1815
import org.schabi.newpipe.extractor.ListExtractor;
1916
import org.schabi.newpipe.extractor.NewPipe;

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
google()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.0.1'
9+
classpath 'com.android.tools.build:gradle:4.1.1'
1010
classpath 'com.google.gms:google-services:4.2.0'
1111
// NOTE: Do not place your application dependencies here; they belong
1212
// in the individual module build.gradle files
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Oct 18 15:46:03 CEST 2020
1+
#Sat Dec 26 11:04:27 CET 2020
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip

0 commit comments

Comments
 (0)