AudricV and Stypox
4648cac9c6
Allow changing video and text tracks state without stream info
...
This allows disabling these track types when stream info has been not
loaded while the ExoPlayer instance is.
It is now possible to do so with the background player, in order to
disable fetching video and text tracks for manifest sources,
especially used for livestreams.
Also set the recovery first before reloading play queue manager in the
useVideoAndSubtitles method of the Player class.
2026-01-28 02:13:14 +01:00
AudricV and Stypox
0578e7fde0
Rename useVideoSource to useVideoAndSubtitles in Player
...
As both subtitles and video tracks are disabled in this method, the
goal of this rename is to highlight disabling/enabled subtitles.
2026-01-28 02:13:14 +01:00
AudricV and Stypox
c670ad80ee
Use DASH first instead of HLS and YouTube's DASH parser for lives
2026-01-28 02:13:14 +01:00
AudricV and Stypox
077f34c922
Add a YouTube DASH manifest parser to make live DASH manifests usable
...
This is a hacky solution, a better one should be investigated and used.
2026-01-28 02:13:14 +01:00
Stypox and GitHub
635b306de0
Merge pull request #13134 from TeamNewPipe/revert-12781-feat/similar-youtube-client-screen-rotation
2026-01-28 02:12:35 +01:00
Stypox and GitHub
11af6a2902
Merge pull request #13129 from AudricV/npe_update
2026-01-28 02:08:26 +01:00
Stypox and GitHub
7e3657831c
Merge pull request #13133 from Stypox/missing-report-button
2026-01-28 02:05:16 +01:00
Stypox and GitHub
c0613b5e54
Merge pull request #13132 from Stypox/regression-detailfragment-flickers
2026-01-28 02:04:15 +01:00
Stypox and GitHub
49e95d95a1
Revert "Remember and restore orientation on fullscreen exit"
2026-01-28 01:44:39 +01:00
Stypox
dc160da034
Allow reporting ContentNotAvailableException
2026-01-28 00:14:21 +01:00
Stypox
5155b24ed6
Partial revert: fix VideoDetailFragment flickering
...
This partially reverts commit 92a07a3445 , which was needed to fix ghost notifications. There I broke the "cycle" causing the useless notifications to popup in 2 different places (see points 3 and 4 of the commit description).
However, breaking the cycle in point 4 ("`PlayerHolder::tryBindIfNeeded()` is now used to passively try to bind, instead of `PlayerHolder::startService()`" was not correct, for the following reason.
I assumed that `ACTION_PLAYER_STARTED` was used for notifying that the player was instantiated anew, while it actually is used to notify that something is now ready for use: it could be the player, but it could also just be that the bottom sheet view was just added and thus the VideoDetailFragment needs to start the player.
Therefore, when handling `ACTION_PLAYER_STARTED` it is correct to start the player service and not just try to bind to it.
The other point in which I broke the cycle (point 3) should still prevent ghost notifications, although I could not test.
2026-01-27 23:44:25 +01:00
Stypox
817fccb7a3
Swap && to reduce computation
2026-01-27 22:02:01 +01:00
tobigr and Stypox
8d9af62736
Extract dialog creation into its own method
2026-01-27 22:02:01 +01:00
tobigr and Stypox
8f32532acd
"Removed watched videos" changed to "Remove watched streams"
...
Playlists can also contain audio-only items. Therefore, the term "stream" is used.
2026-01-27 22:01:59 +01:00
tobigr and Stypox
0611d650e7
Use checkbox to remove partially watched videos
2026-01-27 22:00:15 +01:00
tobigr and Stypox
d1f6337c6e
Fix removing unwatched streams from playlist when using "remove watched"
...
The bug is caused by a wanted but forgotten inconsistency in the database.
A stream can be listed in the watch history (StreamHistoryEntity) while having no corresponding playback state (StreamStateEntity) containing the matching playback position. This is caused by the fact that NewPipe does not consider a watch time of less than five seconds to be worthy to be put into the StreamStateEntity because the video was most likely played by error. Those videos are, however, counted and stored in the watch history.
2026-01-27 22:00:15 +01:00
Stypox
d7dffb7a90
Add deprecation to LocalItemListAdapter.showFooter(true)
2026-01-27 21:35:21 +01:00
Stypox and GitHub
d0f32b3842
Merge pull request #12996 from whistlingwoods/reapply-local-list-header-fix-by-j-haldane
2026-01-27 21:32:29 +01:00
AudricV
25b133946d
[YouTube] Adapt YoutubeHttpDataSource to TVHTML5 client removal in NPE
2026-01-23 22:04:05 +01:00
Aayush Gupta
6b2a1cedef
ktlint: Fix function-literal violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:32:03 +08:00
Aayush Gupta
8c5f13ab5c
ktlint: Fix function-signature violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:32:03 +08:00
Aayush Gupta
81ddd5a115
ktlint: Fix no-empty-first-line-in-method-block violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:32:02 +08:00
Aayush Gupta
7d5647b0ba
ktlint: Fix standard_argument-list-wrapping violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:44 +08:00
Aayush Gupta
9b7874ff51
ktlint: Fix blank-line-between-when-conditions violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:44 +08:00
Aayush Gupta
ff2390b144
ktlint: Fix enum wrapping violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:44 +08:00
Aayush Gupta
81fd089a32
ktlint: Fix block comment violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:44 +08:00
Aayush Gupta
1466dd17b1
ktlint: Fix indentation violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:44 +08:00
Aayush Gupta
555cd3acb7
ktlint: Fix standard_kdoc violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:44 +08:00
Aayush Gupta
e86846ba6a
ktlint: Fix spacing-between-declarations-with-annotations violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:44 +08:00
Aayush Gupta
dcb2460c81
ktlint: Fix spacing-between-declarations-with-comments violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:44 +08:00
Aayush Gupta
6190db7d2f
ktlint: Fix violations regarding statement wrapping
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:43 +08:00
Aayush Gupta
80a543e7ab
ktlint: Fix violation related to comment placement
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:14 +08:00
Aayush Gupta
c76d14dfd4
ktlint: Drop unused trailing commas
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:14 +08:00
Aayush Gupta
d6f3dee9f4
ktlint: Drop unused semi-colons
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:14 +08:00
Aayush Gupta
0641c19388
ktlint: Fix multi-line if-else violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:14 +08:00
Aayush Gupta
2c808b0e86
ktlint: Fix ktlint_standard_annotation violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:14 +08:00
Aayush Gupta
f23d8eff57
ktlint: Order imports in lexicographic order
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-24 00:31:13 +08:00
Aayush Gupta and GitHub
675dbd35d0
Merge pull request #13036 from dustdfg/kotlin_misc_refactor
...
Misc small kotlin based refactors
2026-01-23 14:51:15 +08:00
Aayush Gupta
bcb7469d30
Run checkstyle with JDK 21
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-01-22 17:41:08 +08:00
Aayush Gupta and GitHub
7d95ec71aa
Merge pull request #13019 from dustdfg/orphaned_again
...
Remove file orphaned for long time
2026-01-19 14:01:48 +08:00
whistlingwoods
cea5dd474b
Merge branch dev into reapply-local-list-header-fix-by-j-haldane
2026-01-15 19:24:32 +05:30
Yevhen Babiichuk (DustDFG)
402f43e895
Fixed a bug that prevented the display of multiple empty playlists
...
Turned out this bug was already fixed two years ago but unfortunately
it made its way back again. It was solved in #9642 but back then another
method was used for querying playlists from db (for add playlist dialog) then in
ef4a6238c8 was introduced another method
which had the same problem as fixed in #9642 and which eventually replaced
original method in code for querying playlists from db (for add playlist dialog)
2026-01-15 12:27:07 +02:00
Yevhen Babiichuk (DustDFG)
914feef5e9
Fix playlist item dragging video to only neighbor positions
...
Call `saveImmediate` only after used actually dropped item instead
of every time View is updated which happens several times to show
user a feedback where item would be moved
2026-01-12 20:35:14 +02:00
TobiGr
4ed2b9748f
Merge branch 'master' into dev
2026-01-11 22:53:11 +01:00
tobigr
6c5d58bed3
Fix minify step of release build by ignoring two classes
...
This fixes the following error during the minifyWithR8 task:
> Task :app:minifyReleaseWithR8 FAILED
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /home/runner/work/NewPipe/NewPipe/app/build/outputs/mapping/release/missing_rules.txt.
ERROR: R8: Missing class com.google.re2j.Matcher (referenced from: com.google.re2j.Matcher org.jsoup.helper.Re2jRegex$Re2jMatcher.delegate and 3 other contexts)
Missing class com.google.re2j.Pattern (referenced from: com.google.re2j.Pattern org.jsoup.helper.Re2jRegex.re2jPattern and 4 other contexts)
2026-01-11 22:06:32 +01:00
Yevhen Babiichuk (DustDFG)
6ddd4a7e63
VideoDetailFragment: hide relatedItemsLayout in tablet mode after fullscreen
...
Fixes : #7617
2026-01-11 18:04:26 +02:00
Yevhen Babiichuk (DustDFG)
4f0e62e599
Misc small kotlin based refactors
...
Java file here because it uses kotlin function which returns non null
2026-01-11 17:10:13 +02:00
56489e5ddd
Translated using Weblate (Polish)
...
Currently translated at 56.3% (49 of 87 strings)
Translated using Weblate (French)
Currently translated at 77.0% (67 of 87 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (764 of 764 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl >
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: Mickaël Binos <mickaelbinos@outlook.com >
Co-authored-by: whistlingwoods <72640314+whistlingwoods@users.noreply.github.com >
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/fr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translation: NewPipe/Metadata
2026-01-11 15:01:52 +01:00
8e389c49e6
Translated using Weblate (Polish)
...
Currently translated at 56.3% (49 of 87 strings)
Translated using Weblate (French)
Currently translated at 77.0% (67 of 87 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (764 of 764 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl >
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: Mickaël Binos <mickaelbinos@outlook.com >
Co-authored-by: whistlingwoods <72640314+whistlingwoods@users.noreply.github.com >
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/fr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translation: NewPipe/Metadata
2026-01-11 15:01:07 +01:00
+10
3323868042
Translated using Weblate (Bengali (India))
...
Currently translated at 39.2% (300 of 764 strings)
Translated using Weblate (Lombard)
Currently translated at 0.3% (3 of 764 strings)
Translated using Weblate (French)
Currently translated at 75.8% (66 of 87 strings)
Translated using Weblate (Slovak)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Hungarian)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Tigrinya)
Currently translated at 21.8% (167 of 764 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Belarusian)
Currently translated at 99.0% (757 of 764 strings)
Translated using Weblate (Slovak)
Currently translated at 77.0% (67 of 87 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Bulgarian)
Currently translated at 3.4% (3 of 87 strings)
Translated using Weblate (Santali)
Currently translated at 1.1% (1 of 87 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (87 of 87 strings)
Translated using Weblate (German)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (87 of 87 strings)
Translated using Weblate (Turkish)
Currently translated at 33.3% (29 of 87 strings)
Translated using Weblate (Punjabi)
Currently translated at 78.1% (68 of 87 strings)
Translated using Weblate (German)
Currently translated at 100.0% (87 of 87 strings)
Translated using Weblate (French)
Currently translated at 74.7% (65 of 87 strings)
Translated using Weblate (French)
Currently translated at 74.7% (65 of 87 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (87 of 87 strings)
Translated using Weblate (Slovak)
Currently translated at 74.7% (65 of 87 strings)
Translated using Weblate (Hindi)
Currently translated at 77.0% (67 of 87 strings)
Translated using Weblate (Punjabi)
Currently translated at 68.9% (60 of 87 strings)
Co-authored-by: 135 <135135@users.noreply.hosted.weblate.org >
Co-authored-by: Balázs Meskó <meskobalazs@mailbox.org >
Co-authored-by: Ding User <dengus@users.noreply.hosted.weblate.org >
Co-authored-by: Dizro <weblate.delirium794@passmail.net >
Co-authored-by: Erenay <erenaydev@proton.me >
Co-authored-by: Femini <nizamismidov4@gmail.com >
Co-authored-by: Fjuro <fjuro@alius.cz >
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: Kuko <kuko7@protonmail.ch >
Co-authored-by: MatthieuPh <matthieu.philippe@protonmail.com >
Co-authored-by: Mickaël Binos <mickaelbinos@outlook.com >
Co-authored-by: Milan <mobrcian@hotmail.com >
Co-authored-by: Prasanta-Hembram <Prasantahembram720@gmail.com >
Co-authored-by: STV <steeven.lombardi@gmail.com >
Co-authored-by: ShareASmile <ShareASmile@users.noreply.hosted.weblate.org >
Co-authored-by: Sumon Kayal <sumankayalsuman4@gmail.com >
Co-authored-by: Trunars <trunars@abv.bg >
Co-authored-by: VfBFan <drop0815@posteo.de >
Co-authored-by: whistlingwoods <72640314+whistlingwoods@users.noreply.github.com >
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/bg/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/cs/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/fr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hi/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pa/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sat/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/tr/
Translation: NewPipe/Metadata
2026-01-09 21:14:38 +01:00