Skip to content

Commit d403a83

Browse files
authored
Merge pull request #5246 from TeamNewPipe/release_0.20.7
Release 0.20.7
2 parents efb417d + 35fc27c commit d403a83

132 files changed

Lines changed: 3251 additions & 2125 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build-and-test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- name: set up JDK 1.8
12+
uses: actions/setup-java@v1.4.3
13+
with:
14+
java-version: 1.8
15+
16+
- name: Cache Gradle dependencies
17+
uses: actions/cache@v2
18+
with:
19+
path: ~/.gradle/caches
20+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
21+
restore-keys: ${{ runner.os }}-gradle
22+
23+
- name: Build debug APK and run Tests
24+
run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace
25+
26+
- name: Upload APK
27+
uses: actions/upload-artifact@v2
28+
with:
29+
name: app
30+
path: app/build/outputs/apk/debug/*.apk

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

README.ko.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p align="center"><a href="https://newpipe.schabi.org"><img src="assets/new_pipe_icon_5.png" width="150"></a></p>
1+
<p align="center"><a href="https://newpipe.net"><img src="assets/new_pipe_icon_5.png" width="150"></a></p>
22
<h2 align="center"><b>NewPipe</b></h2>
33
<h4 align="center">A libre lightweight streaming frontend for Android.</h4>
44
<p align="center"><a href="https://f-droid.org/packages/org.schabi.newpipe/"><img src="https://f-droid.org/wiki/images/0/06/F-Droid-button_get-it-on.png"></a></p>
@@ -13,7 +13,7 @@
1313
</p>
1414
<hr>
1515
<p align="center"><a href="#screenshots">Screenshots</a> &bull; <a href="#description">Description</a> &bull; <a href="#features">Features</a> &bull; <a href="#updates">Updates</a> &bull; <a href="#contribution">Contribution</a> &bull; <a href="#donate">Donate</a> &bull; <a href="#license">License</a></p>
16-
<p align="center"><a href="https://newpipe.schabi.org">Website</a> &bull; <a href="https://newpipe.schabi.org/blog/">Blog</a> &bull; <a href="https://newpipe.schabi.org/FAQ/">FAQ</a> &bull; <a href="https://newpipe.schabi.org/press/">Press</a></p>
16+
<p align="center"><a href="https://newpipe.net">Website</a> &bull; <a href="https://newpipe.net/blog/">Blog</a> &bull; <a href="https://newpipe.net/FAQ/">FAQ</a> &bull; <a href="https://newpipe.net/press/">Press</a></p>
1717
<hr>
1818

1919
*Read this in other languages: [English](README.md), [한국어](README.ko.md).*
@@ -86,7 +86,7 @@ NewPipe 코드의 변경이 있을 때(기능 추가 또는 버그 수정으로
8686
1. 직접 디버그 APK를 생성할 수 있습니다. 이 방법은 당신의 기기에서 새로운 기능을 얻을 수 있는 가장 빠른 방법이지만, 꽤 많이 복잡합니다.
8787
따라서 우리는 다른 방법들 중 하나를 사용하는 것을 추천합니다.
8888
2. 우리의 커스텀 저장소를 F-Droid에 추가하고 우리가 릴리즈를 게시하는 대로 저곳에서 릴리즈를 설치할 수 있습니다.
89-
이에 대한 설명서는 이곳에서 확인할 수 있습니다: https://newpipe.schabi.org/FAQ/tutorials/install-add-fdroid-repo/
89+
이에 대한 설명서는 이곳에서 확인할 수 있습니다: https://newpipe.net/FAQ/tutorials/install-add-fdroid-repo/
9090
3. 우리가 릴리즈를 게시하는 대로 [Github Releases](https://github.com/TeamNewPipe/NewPipe/releases)에서 APK를 다운받고 이것을 설치할 수 있습니다.
9191
4. F-Droid를 통해 업데이트 할 수 있습니다. F-Droid는 변화를 인식하고, 스스로 APK를 생성하고, 이것에 서명하고, 사용자들에서 업데이트를 전달해야만 하기 때문에,
9292
이것은 업데이트를 받는 가장 느린 방법입니다.
@@ -111,7 +111,7 @@ NewPipe 코드의 변경이 있을 때(기능 추가 또는 버그 수정으로
111111
</a>
112112

113113
## Donate
114-
만약 NewPipe가 마음에 들었다면, 우리는 기부에 대해 기꺼이 환영합니다. bitcoin을 보내거나, Bountysource 또는 Liberapay를 통해 기부할 수 있습니다. NewPipe에 기부하는 것에 대한 자세한 정보를 원한다면, 우리의 [웹사이트](https://newpipe.schabi.org/donate)를 방문하여 주십시오.
114+
만약 NewPipe가 마음에 들었다면, 우리는 기부에 대해 기꺼이 환영합니다. bitcoin을 보내거나, Bountysource 또는 Liberapay를 통해 기부할 수 있습니다. NewPipe에 기부하는 것에 대한 자세한 정보를 원한다면, 우리의 [웹사이트](https://newpipe.net/donate)를 방문하여 주십시오.
115115

116116
<table>
117117
<tr>
@@ -134,7 +134,7 @@ NewPipe 코드의 변경이 있을 때(기능 추가 또는 버그 수정으로
134134
## Privacy Policy
135135

136136
NewPipe 프로젝트는 미디어 웹 서비스를 사용하는 것에 대한 사적의, 익명의 경험을 제공하는 것을 목표로 하고 있습니다.
137-
그러므로, 앱은 당신의 동의 없이 어떤 데이터도 수집하지 않습니다. NewPipe의 개인정보보호정책은 당신이 충돌 리포트를 보내거나, 또는 우리의 블로그에 글을 남길 때 어떤 데이터가 보내지고 저장되는지에 대해 상세히 설명합니다. 이 문서는 [여기](https://newpipe.schabi.org/legal/privacy/)에서 확인할 수 있습니다.
137+
그러므로, 앱은 당신의 동의 없이 어떤 데이터도 수집하지 않습니다. NewPipe의 개인정보보호정책은 당신이 충돌 리포트를 보내거나, 또는 우리의 블로그에 글을 남길 때 어떤 데이터가 보내지고 저장되는지에 대해 상세히 설명합니다. 이 문서는 [여기](https://newpipe.net/legal/privacy/)에서 확인할 수 있습니다.
138138

139139
## License
140140
[![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-127x51.png)](http://www.gnu.org/licenses/gpl-3.0.en.html)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p align="center"><a href="https://newpipe.schabi.org"><img src="assets/new_pipe_icon_5.png" width="150"></a></p>
1+
<p align="center"><a href="https://newpipe.net"><img src="assets/new_pipe_icon_5.png" width="150"></a></p>
22
<h2 align="center"><b>NewPipe</b></h2>
33
<h4 align="center">A libre lightweight streaming frontend for Android.</h4>
44
<p align="center"><a href="https://f-droid.org/packages/org.schabi.newpipe/"><img src="https://f-droid.org/wiki/images/0/06/F-Droid-button_get-it-on.png"></a></p>
@@ -13,7 +13,7 @@
1313
</p>
1414
<hr>
1515
<p align="center"><a href="#screenshots">Screenshots</a> &bull; <a href="#description">Description</a> &bull; <a href="#features">Features</a> &bull; <a href="#updates">Updates</a> &bull; <a href="#contribution">Contribution</a> &bull; <a href="#donate">Donate</a> &bull; <a href="#license">License</a></p>
16-
<p align="center"><a href="https://newpipe.schabi.org">Website</a> &bull; <a href="https://newpipe.schabi.org/blog/">Blog</a> &bull; <a href="https://newpipe.schabi.org/FAQ/">FAQ</a> &bull; <a href="https://newpipe.schabi.org/press/">Press</a></p>
16+
<p align="center"><a href="https://newpipe.net">Website</a> &bull; <a href="https://newpipe.net/blog/">Blog</a> &bull; <a href="https://newpipe.net/FAQ/">FAQ</a> &bull; <a href="https://newpipe.net/press/">Press</a></p>
1717
<hr>
1818

1919
*Read this in other languages: [English](README.md), [한국어](README.ko.md).*
@@ -83,7 +83,7 @@ NewPipe supports multiple services. Our [docs](https://teamnewpipe.github.io/doc
8383
## Updates
8484
When a change to the NewPipe code occurs (due to either adding features or bug fixing), eventually a release will occur. These are in the format x.xx.x . In order to get this new version, you can:
8585
1. Build a debug APK yourself. This is the fastest way to get new features on your device, but is much more complicated, so we recommend using one of the other methods.
86-
2. Add our custom repo to F-Droid and install it from there as soon as we publish a release. The instructions are here: https://newpipe.schabi.org/FAQ/tutorials/install-add-fdroid-repo/
86+
2. Add our custom repo to F-Droid and install it from there as soon as we publish a release. The instructions are here: https://newpipe.net/FAQ/tutorials/install-add-fdroid-repo/
8787
3. Download the APK from [Github Releases](https://github.com/TeamNewPipe/NewPipe/releases) and install it as soon as we publish a release.
8888
4. Update via F-droid. This is the slowest method of getting updates, as F-Droid must recognize changes, build the APK itself, sign it, then push the update to users.
8989

@@ -106,7 +106,7 @@ If you'd like to get involved, check our [contribution notes](.github/CONTRIBUTI
106106
</a>
107107

108108
## Donate
109-
If you like NewPipe we'd be happy about a donation. You can either send bitcoin or donate via Bountysource or Liberapay. For further info on donating to NewPipe, please visit our [website](https://newpipe.schabi.org/donate).
109+
If you like NewPipe we'd be happy about a donation. You can either send bitcoin or donate via Bountysource or Liberapay. For further info on donating to NewPipe, please visit our [website](https://newpipe.net/donate).
110110

111111
<table>
112112
<tr>
@@ -129,7 +129,7 @@ If you like NewPipe we'd be happy about a donation. You can either send bitcoin
129129
## Privacy Policy
130130

131131
The NewPipe project aims to provide a private, anonymous experience for using media web services.
132-
Therefore, the app does not collect any data without your consent. NewPipe's privacy policy explains in detail what data is sent and stored when you send a crash report, or comment in our blog. You can find the document [here](https://newpipe.schabi.org/legal/privacy/).
132+
Therefore, the app does not collect any data without your consent. NewPipe's privacy policy explains in detail what data is sent and stored when you send a crash report, or comment in our blog. You can find the document [here](https://newpipe.net/legal/privacy/).
133133

134134
## License
135135
[![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-127x51.png)](http://www.gnu.org/licenses/gpl-3.0.en.html)

app/build.gradle

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ android {
1313
resValue "string", "app_name", "NewPipe"
1414
minSdkVersion 19
1515
targetSdkVersion 29
16-
versionCode 960
17-
versionName "0.20.6"
16+
versionCode 961
17+
versionName "0.20.7"
1818

1919
multiDexEnabled true
2020

@@ -85,11 +85,15 @@ android {
8585
sourceSets {
8686
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
8787
}
88+
89+
buildFeatures {
90+
viewBinding true
91+
}
8892
}
8993

9094
ext {
9195
icepickVersion = '3.2.0'
92-
checkstyleVersion = '8.37'
96+
checkstyleVersion = '8.38'
9397
stethoVersion = '1.5.1'
9498
leakCanaryVersion = '2.5'
9599
exoPlayerVersion = '2.11.8'
@@ -162,7 +166,7 @@ dependencies {
162166
kapt "frankiesardo:icepick-processor:${icepickVersion}"
163167

164168
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"
165-
ktlint "com.pinterest:ktlint:0.39.0"
169+
ktlint "com.pinterest:ktlint:0.40.0"
166170

167171
debugImplementation "com.facebook.stetho:stetho:${stethoVersion}"
168172
debugImplementation "com.facebook.stetho:stetho-okhttp3:${stethoVersion}"
@@ -175,7 +179,7 @@ dependencies {
175179

176180
// NewPipe dependencies
177181
// You can use a local version by uncommenting a few lines in settings.gradle
178-
implementation 'com.github.TeamNewPipe:NewPipeExtractor:b3835bd616ab28b861c83dcefd56e1754c6d20be'
182+
implementation 'com.github.TeamNewPipe:NewPipeExtractor:b2837698f55296e00aeca5cb1847755dd1174af4'
179183
implementation "com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751"
180184

181185
implementation "org.jsoup:jsoup:1.13.1"
@@ -199,6 +203,7 @@ dependencies {
199203
implementation 'androidx.core:core-ktx:1.3.2'
200204
implementation 'androidx.documentfile:documentfile:1.0.1'
201205
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
206+
implementation 'androidx.webkit:webkit:1.4.0'
202207

203208
implementation "androidx.lifecycle:lifecycle-livedata:${androidxLifecycleVersion}"
204209
implementation "androidx.lifecycle:lifecycle-viewmodel:${androidxLifecycleVersion}"

app/src/main/AndroidManifest.xml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -227,20 +227,18 @@
227227
<data android:host="invidio.us" />
228228
<data android:host="dev.invidio.us" />
229229
<data android:host="www.invidio.us" />
230+
<data android:host="vid.encryptionin.space" />
230231
<data android:host="invidious.snopyta.org" />
231-
<data android:host="fi.invidious.snopyta.org" />
232232
<data android:host="yewtu.be" />
233-
<data android:host="invidious.ggc-project.de" />
234-
<data android:host="yt.maisputain.ovh" />
235-
<data android:host="invidious.13ad.de" />
236-
<data android:host="invidious.toot.koeln" />
233+
<data android:host="tube.connect.cafe" />
234+
<data android:host="invidious.zapashcanon.fr" />
235+
<data android:host="invidious.kavin.rocks" />
236+
<data android:host="invidious.tube" />
237+
<data android:host="invidious.site" />
238+
<data android:host="invidious.xyz" />
239+
<data android:host="vid.mint.lgbt" />
240+
<data android:host="invidiou.site" />
237241
<data android:host="invidious.fdn.fr" />
238-
<data android:host="watch.nettohikari.com" />
239-
<data android:host="invidious.snwmds.net" />
240-
<data android:host="invidious.snwmds.org" />
241-
<data android:host="invidious.snwmds.com" />
242-
<data android:host="invidious.sunsetravens.com" />
243-
<data android:host="invidious.gachirangers.com" />
244242
<data android:pathPrefix="/" />
245243
</intent-filter>
246244

@@ -268,7 +266,7 @@
268266
<data android:mimeType="text/plain" />
269267
</intent-filter>
270268

271-
<!-- MediaCCC filter -->
269+
<!-- media.ccc.de filter -->
272270
<intent-filter>
273271
<action android:name="android.intent.action.VIEW" />
274272
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />

app/src/main/java/org/schabi/newpipe/App.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,9 @@ private void initNotificationChannels() {
242242
String name = getString(R.string.notification_channel_name);
243243
String description = getString(R.string.notification_channel_description);
244244

245-
// Keep this below DEFAULT to avoid making noise on every notification update
246-
final int importance = NotificationManager.IMPORTANCE_LOW;
245+
// Keep this below DEFAULT to avoid making noise on every notification update for the main
246+
// and update channels
247+
int importance = NotificationManager.IMPORTANCE_LOW;
247248

248249
final NotificationChannel mainChannel = new NotificationChannel(id, name, importance);
249250
mainChannel.setDescription(description);
@@ -255,9 +256,17 @@ private void initNotificationChannels() {
255256
final NotificationChannel appUpdateChannel = new NotificationChannel(id, name, importance);
256257
appUpdateChannel.setDescription(description);
257258

259+
id = getString(R.string.hash_channel_id);
260+
name = getString(R.string.hash_channel_name);
261+
description = getString(R.string.hash_channel_description);
262+
importance = NotificationManager.IMPORTANCE_HIGH;
263+
264+
final NotificationChannel hashChannel = new NotificationChannel(id, name, importance);
265+
hashChannel.setDescription(description);
266+
258267
final NotificationManager notificationManager = getSystemService(NotificationManager.class);
259268
notificationManager.createNotificationChannels(Arrays.asList(mainChannel,
260-
appUpdateChannel));
269+
appUpdateChannel, hashChannel));
261270
}
262271

263272
protected boolean isDisposedRxExceptionsReported() {

app/src/main/java/org/schabi/newpipe/CheckForNewAppVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private CheckForNewAppVersion() { }
4848

4949
private static final String GITHUB_APK_SHA1
5050
= "B0:2E:90:7C:1C:D6:FC:57:C3:35:F0:88:D0:8F:50:5F:94:E4:D2:15";
51-
private static final String NEWPIPE_API_URL = "https://newpipe.schabi.org/api/data.json";
51+
private static final String NEWPIPE_API_URL = "https://newpipe.net/api/data.json";
5252

5353
/**
5454
* Method to get the APK's SHA1 key. See https://stackoverflow.com/questions/9293019/#22506133.

0 commit comments

Comments
 (0)