Commit graph

806 commits

Author SHA1 Message Date
TacoTheDank
a01e59e9db Update AndroidX Room library 2023-07-17 21:09:44 -04:00
Stypox
135f0f7249
Make all leak canary libs debugImplementation-only 2023-07-14 18:32:30 +02:00
TacoTheDank
db7de05f2b Update LeakCanary library 2023-07-11 20:32:29 -04:00
TobiGr
1a2fbd8122 Update acra and checkstyle fixing vulnerability in dependency com.google.guava
See https://app.snyk.io/org/thescrabi/project/27dc214e-7f4f-47bb-a77c-443201491254
2023-07-01 13:30:37 +02:00
TacoTheDank
4e3bf3c2f9 Update some libraries 2023-05-30 12:22:05 -04:00
TacoTheDank
fe82029dc7 Fix unresolved extractor 2023-05-12 01:12:12 -04:00
Stypox
8519897089
Fix ktlint formatter after upgrade to Java 17
See https://github.com/pinterest/ktlint/issues/1195 and https://github.com/ScoopInstaller/Extras/issues/10313. Note that although this should have been fixed in the latest version of ktlint (we are using an old one), the fix doesn't seems to have worked for me.
2023-04-25 18:37:04 +02:00
Isira Seneviratne
f74d794b2a
Merge pull request #10035 from Stypox/update-gradle
Upgrade Gradle and AGP from 7.x to 8.x and use Java 17
2023-04-20 19:55:31 +05:30
Stypox
69ef4a987e
Update CI Java version 2023-04-20 15:42:33 +02:00
Stypox
70b3ba310a
Upgrade to Gradle 8.0 2023-04-20 10:36:23 +02:00
Stypox
ba3afd1e35
Merge pull request #10021 from Isira-Seneviratne/PendingIntentCompat
Switch to AndroidX's PendingIntentCompat.
2023-04-14 14:20:47 +02:00
Isira Seneviratne
74bd28cbd9 Update AndroidX Core to 1.10.0. 2023-04-09 18:45:57 +05:30
polymorphicshade
7ca71fee42 Merge branch 'master' into sponsorblock
# Conflicts:
#	app/src/main/res/values-es/strings.xml
#	app/src/main/res/values-it/strings.xml
#	app/src/main/res/values-zh-rTW/strings.xml
2023-04-06 20:05:53 -06:00
TobiGr
c08538d25d Remove jsoup files from APK
Two jsoup files slipped into the META-INF dir of the APK for some reason. README.md and CHANGES are removed automatically now.
2023-04-04 17:42:34 +02:00
Stypox
6f428d0c6b
Merge pull request #9890 from Redirion/bumpexo184
Bump ExoPlayer to 2.18.5
2023-04-03 14:11:15 +02:00
TobiGr
41da2bfb00 Bump NewPipe Extractor to 0.22.6 2023-04-02 23:02:19 +02:00
Robin
2317864422 Bump ExoPlayer to 2.18.5 2023-03-23 15:03:07 +01:00
Robin
7c39421297 bump ExoPlayer to 2.18.4 2023-03-06 16:49:43 +01:00
Stypox
c5cf2f4514
Release v0.25.1 (993) 2023-03-01 10:52:05 +01:00
Stypox
3f8e44dc66
Update NewPipeExtractor 2023-03-01 10:51:17 +01:00
Robin
5560cea470 Update to ExoPlayer 2.18.3 2023-02-23 12:46:05 +01:00
polymorphicshade
5d222fce16 Merge branch 'master' into sponsorblock
# Conflicts:
#	app/src/main/java/org/schabi/newpipe/NewVersionWorker.kt
#	app/src/main/java/org/schabi/newpipe/error/ErrorUtil.kt
#	app/src/main/java/org/schabi/newpipe/player/playback/MediaSourceManager.java
#	app/src/main/java/org/schabi/newpipe/player/ui/VideoPlayerUi.java
#	app/src/main/java/us/shandian/giga/service/DownloadManagerService.java
#	app/src/main/java/us/shandian/giga/ui/adapter/MissionAdapter.java
#	app/src/main/res/values-es/strings.xml
#	app/src/main/res/values-it/strings.xml
#	app/src/main/res/values-zh-rTW/strings.xml
2023-02-11 16:21:57 -07:00
Stypox
d2f8f31d1f
Update NewPipeExtractor again, because of JitPack problems 2023-02-08 22:37:17 +01:00
Stypox
8d43499e5b
Update NewPipeExtractor again 2023-02-08 22:27:49 +01:00
Stypox
c85af7861a
Merge pull request #9742 from TeamNewPipe/revert-9553-exo182
Revert PR #9553 "Update ExoPlayer to 2.18.2"
2023-02-07 10:48:18 +01:00
TobiGr
812efca08e Update core libraray desugaring libs from 2.0.0 to 2.0.2 2023-02-03 18:42:12 +01:00
Stypox
1db1a00581 Add snippet to ensure baseline.profm file is sorted
Thanks to obfusk, see https://issuetracker.google.com/issues/231837768 and #6486
2023-02-03 18:40:48 +01:00
Tobi
e0ba872b66 Revert "Update ExoPlayer to 2.18.2"
This commit reverts 1bb166a
2023-02-03 18:33:35 +01:00
AudricV
5af5c90492
[YouTube] Add support for live links
The addition of this support requires an extractor update.
2023-01-29 10:59:27 +01:00
Stypox
cd12503f99
Merge pull request #9631 from TeamNewPipe/update-npe
Update NewPipeExtractor and properly linkify comments
2023-01-28 22:40:19 +01:00
Stypox
b9228df32c
Release v0.25.0 (992) 2023-01-22 08:59:21 +01:00
Stypox
489df0ed7d
Update NewPipeExtractor and properly linkify comments 2023-01-15 19:27:56 +01:00
Isira Seneviratne
223150aa42 Update desugar_jdk_libs to 2.0.0. 2023-01-14 11:00:00 +05:30
Stypox
1bb166a9e8
Merge pull request #9553 from Redirion/exo182
Update ExoPlayer to 2.18.2
2023-01-02 18:21:53 +01:00
Robin
f17155bb3f
Merge branch 'TeamNewPipe:dev' into exo182 2023-01-02 10:35:20 +01:00
Isira Seneviratne
7988fe0c5a Use new NewPipe Extractor Utils methods. 2023-01-02 07:03:18 +05:30
Stypox
464247784d
Merge pull request #9520 from Isira-Seneviratne/Update_RxJava
Update RxJava to 3.1.5.
2023-01-01 12:52:06 +01:00
Stypox
56800c24b9
Update rxandroid from 3.0.0 to 3.0.2 2023-01-01 12:46:56 +01:00
Stypox
8078620977
Merge pull request #9481 from TacoTheDank/bumpDesugaring
Update Desugaring to 1.1.8
2022-12-31 17:15:00 +01:00
Stypox
69e8e4d63e
Merge pull request #9306 from Stypox/target-api-33
Set compileSdk and targetSdk to 33 (Android 13)
2022-12-31 14:49:30 +01:00
Robin
eea4f0f41c Update ExoPlayer to 2.18.2 2022-12-16 17:53:56 +01:00
Isira Seneviratne
7c5b4510af Update RxJava to 3.1.5. 2022-12-09 07:56:14 +05:30
TacoTheDank
074a8ff46a Update Desugaring to 1.1.8 2022-12-02 13:52:30 -05:00
TacoTheDank
8282b8a6c0 Update Sonarqube to 3.5 2022-11-29 11:20:31 -05:00
Stypox
048b0972de Set compileSdk and targetSdk to 33 (Android 13)
android:exported in now required in the manifest on all activities/services/receivers/providers. It was set to true for those that need to interact with outside apps or the OS, while others have exported=false.
This also required updating LeakCanary to the latest version as the older version being used was not using android:exported in AndroidManifest.xml.
2022-11-18 08:33:13 +01:00
polymorphicshade
0da8d00ddd Merge branch 'master' into sponsorblock
# Conflicts:
# app/src/main/res/values-es/strings.xml
# app/src/main/res/values-it/strings.xml
# app/src/main/res/values-zh-rTW/strings.xml
# app/src/main/res/values/strings.xml
2022-11-06 10:17:23 -07:00
TobiGr
b066457ccf Update NewPipe to 0.24.1 (991) 2022-11-04 17:07:13 +01:00
AudricV
9912c11043
Update NewPipe Extractor to support handles 2022-11-04 12:26:42 +01:00
Tobi
1de662f779
Merge pull request #9272 from TeamNewPipe/prettytime
Update PrettyTime from 5.0.3 to 5.0.6 to include new localizations
2022-11-03 16:17:02 +01:00
TobiGr
bf766f1670 Update PrettyTime from 5.0.3 to 5.0.6 to include new localizations 2022-11-01 19:32:31 +01:00
Isira Seneviratne
4b892e2b30 Update AppCompat to 1.5.1. 2022-11-01 06:29:08 +05:30
Stypox
30a91f59ae
Update extractor to fix Jitpack failures in CI
Jitpack seems to have deleted the previous commit form their servers (5c710da160f488bb40ab2cf4469bec9bd4cefd38)
2022-10-26 23:38:23 +02:00
Isira Seneviratne
6277d4981c Update Android Gradle Plugin to 7.3.0. 2022-10-15 04:09:08 +05:30
polymorphicshade
5b3c971d67 Merge branch 'master' into sponsorblock
# Conflicts:
#	.github/ISSUE_TEMPLATE/feature_request.yml
#	README.md
#	app/build.gradle
#	app/src/main/java/org/schabi/newpipe/DownloaderImpl.java
#	app/src/main/java/org/schabi/newpipe/error/ErrorActivity.java
#	app/src/main/java/org/schabi/newpipe/player/Player.java
#	app/src/main/res/values-es/strings.xml
#	app/src/main/res/values-so/strings.xml
#	app/src/main/res/values-zh-rTW/strings.xml
#	app/src/main/res/values/strings.xml
2022-09-25 15:36:33 -06:00
Stypox
aa9cd8c88f
Update NewPipeExtractor again 2022-09-25 13:33:49 +02:00
Stypox
8313f6bb51
Update NewPipeExtractor again 2022-09-19 09:17:25 +02:00
Stypox
e6391a860a
Release v0.24.0 (990) 2022-08-27 14:52:49 +02:00
polymorphicshade
c2a1cc8d11 Merge branch 'master' into sponsorblock 2022-08-25 16:29:25 -06:00
Stypox
208dde631f
Merge branch 'master' into dev 2022-08-25 10:45:24 +02:00
Stypox
e1b8a3fbdf
Hotfix release v0.23.3 (989) 2022-08-25 10:16:56 +02:00
Stypox
1a432f2ee3
Update jsoup to 1.15.3
This fixes a vulnerability issue related to Cross Site Scripting
2022-08-25 10:15:30 +02:00
Stypox
db45042a56
Update NewPipeExtractor
This removes the usage of the SourceVersion class, which was not available on Android and caused issues such as #8876
2022-08-25 10:14:46 +02:00
Stypox
b9b09d325a
Merge branch 'master' into dev 2022-08-14 17:23:30 +02:00
polymorphicshade
8c6fb6532d Merge branch 'master' into sponsorblock
# Conflicts:
#	app/build.gradle
2022-08-13 08:59:45 -06:00
AudricV
fcaebc838e
Release v0.23.2 (988) 2022-08-12 23:50:41 +02:00
AudricV
ec3efea05a
Update NewPipe Extractor to fix YouTube playback issues 2022-08-12 23:41:12 +02:00
Stypox
571bf397c5
Merge pull request #8666 from TacoTheDank/filepicker
Update FilePicker to our custom fork and disable Jetifier
2022-08-12 09:15:34 +02:00
Stypox
7972678fe6
Merge branch 'dev' into bumpRoom 2022-08-04 10:40:09 +02:00
Stypox
8a774dc90d
Merge pull request #8667 from Isira-Seneviratne/Update_AppCompat
Update AppCompat to 1.4.2.
2022-08-03 22:59:45 +02:00
Stypox
a548b34811
Merge pull request #8692 from TacoTheDank/bumpMaterial
Update Google Material to 1.6.1
2022-08-02 11:05:24 +02:00
Stypox
ad30eb809c
Merge branch 'dev' into bumpFragment 2022-08-02 10:54:39 +02:00
Stypox
ee368452ae
Merge pull request #8687 from TacoTheDank/bumpExoPlayer
Update ExoPlayer to 2.18.1
2022-08-02 10:34:58 +02:00
Isira Seneviratne
947242d913 Update AppCompat to 1.4.2. 2022-08-01 08:26:07 +05:30
TacoTheDank
582032f372 Update AndroidX Room to 2.4.3 2022-07-31 00:14:23 -04:00
Isira Seneviratne
5c68c8ece8 Update Lifecycle to 2.5.1. 2022-07-31 08:30:17 +05:30
TacoTheDank
d66997c2ed Update Google Material to 1.6.1 2022-07-24 16:51:26 -04:00
TacoTheDank
d7a654fc27 Update AndroidX Fragment to 1.4.1 2022-07-24 15:35:33 -04:00
TacoTheDank
229422bfa9 Update ExoPlayer to 2.18.1 2022-07-24 14:11:31 -04:00
TacoTheDank
8f5d564f84 Migrate NoNonsense-FilePicker to our updated fork 2022-07-24 15:07:31 +02:00
litetex
dcb332e08d
Merge pull request #8624 from TacoTheDank/bumpOkhttp
Update OkHttp to 4.10.0
2022-07-24 15:02:08 +02:00
TacoTheDank
c1e78cf55b Update OkHttp to 4.x 2022-07-14 03:23:45 -04:00
TacoTheDank
4536e8b55b Update some miscellaneous libraries 2022-07-14 01:48:52 -04:00
TacoTheDank
4ec9cbe379
Remove AndroidX Webkit 2022-07-13 19:03:47 +02:00
litetex
b125780991
Clean up pre-Lollipop compat attributes 2022-07-13 19:03:45 +02:00
litetex
7cb137ae8d
Remove MultiDex 2022-07-13 19:02:24 +02:00
litetex
e55e79bcca
Bump minSdk to 21 (Android 5 / Lollipop) 2022-07-13 19:02:23 +02:00
Taco
f7d8781bac
Specify used ExoPlayer libraries (#8469) 2022-07-13 17:57:14 +02:00
Robin
93b913e14d
Merge pull request #8536 from TacoTheDank/bumpExoPlayer
Update ExoPlayer to 2.18.0
2022-07-13 12:59:12 +02:00
polymorphicshade
e00fc5e813 updated version 2022-07-12 20:00:16 -06:00
polymorphicshade
d4d37af486 Merge branch 'master' into sponsorblock
# Conflicts:
#	README.md
#	app/src/main/java/org/schabi/newpipe/download/DownloadDialog.java
#	app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java
#	app/src/main/java/org/schabi/newpipe/player/Player.java
#	app/src/main/java/us/shandian/giga/ui/adapter/MissionAdapter.java
#	app/src/main/res/values-es/strings.xml
#	app/src/main/res/values-zh-rTW/strings.xml
#	app/src/main/res/values/strings.xml
#	doc/README.es.md
#	doc/README.ja.md
#	doc/README.ko.md
#	doc/README.pt_BR.md
#	doc/README.ro.md
#	doc/README.so.md
#	doc/README.tr.md
2022-07-09 10:26:42 -06:00
Stypox
e4987d9a59
Update NewPipeExtractor again 2022-07-04 23:30:20 +02:00
litetex
9c00e681bb
Updated extractor to latest revision 2022-07-04 23:19:41 +02:00
TacoTheDank
1404581e9b Update ExoPlayer to 2.18.0 2022-06-25 21:14:42 -04:00
Stypox
4ee1cd5826
Release v0.23.1 (987) 2022-06-24 19:01:37 +02:00
AudricV
210834fbe9
Add support of other delivery methods than progressive HTTP (in the player only)
Detailed changes:

- External players:

  - Add a message instruction about stream selection;
  - Add a message when there is no stream available for external players;
  - Return now HLS, DASH and SmoothStreaming URL contents, in addition to progressive HTTP ones.

- Player:

  - Support DASH, HLS and SmoothStreaming streams for videos, whether they are content URLs or the manifests themselves, in addition to progressive HTTP ones;
  - Use a custom HttpDataSource to play YouTube contents, based of ExoPlayer's default one, which allows better spoofing of official clients (custom user-agent and headers (depending of the client used), use of range and rn (set dynamically by the DataSource) parameters);
  - Fetch YouTube progressive contents as DASH streams, like official clients, support fully playback of livestreams which have ended recently and OTF streams;
  - Use ExoPlayer's default retries count for contents on non-fatal errors (instead of Integer.MAX_VALUE for non-live contents and 5 for live contents).

- Download dialog:

  - Add message about support of progressive HTTP streams only for downloading;
  - Remove several duplicated code and update relevant usages;
  - Support downloading of contents with an unknown media format.

- ListHelper:

  - Catch NumberFormatException when trying to compare two video streams between them.

- Tests:

  - Update ListHelperTest and StreamItemAdapterTest to fix breaking changes in the extractor.

- Other places:

  - Fixes deprecation of changes made in the extractor;
  - Improve some code related to the files changed.

- Issues fixed and/or improved with the changes:

  - Seeking of PeerTube HLS streams (the duration shown was the one from the stream duration and not the one parsed, incomplete because HLS streams are fragmented MP4s with multiple sidx boxes, for which seeking is not supported by ExoPlayer) (the app now uses the HLS manifest returned for each quality, in the master playlist (not fetched and computed by the extractor));
  - Crash when loading PeerTube streams with a separated audio;
  - Lack of some streams on some YouTube videos (OTF streams);
  - Loading times of YouTube streams, after a quality change or a playback start;
  - View count of YouTube ended livestreams interpreted as watching count (this type of streams is not interpreted anymore as livestreams);
  - Watchable time of YouTube ended livestreams;
  - Playback of SoundCloud HLS-only tracks (which cannot be downloaded anymore because the workaround which was used is being removed by SoundCloud, so it has been removed from the extractor).
2022-06-17 22:00:22 +02:00
litetex
b3f9f8275d
Merge pull request #8406 from TacoTheDank/bumpPlugins
Update AGP and Kotlin
2022-05-18 19:56:32 +02:00
TacoTheDank
e6f2e9791c Update Groupie and ACRA libraries 2022-05-16 11:45:56 -04:00
TacoTheDank
31b1370270 Fix AndroidX library order 2022-05-16 10:54:44 -04:00
polymorphicshade
29feaeba59 Merge branch 'master' into sponsorblock 2022-04-30 12:19:11 -06:00
Stypox
b59a601b52
Merge branch 'master' into dev 2022-04-29 16:41:18 +02:00