Stypox
e4fc9adfbe
Merge pull request #12601 from AudricV/live-prefer-dash-and-fetch-bg-audio-only
2026-01-28 02:41:09 +01:00
Stypox
2c2a595246
Avoid rebuilding BackgroundPlayerUi if already in place
2026-01-28 02:39:56 +01:00
Stypox
a16de24fcc
Remove file committed by accident
2026-01-28 02:20:58 +01:00
Stypox
3a7abecdcb
Address review comments
2026-01-28 02:20:33 +01:00
AudricV
b25240eea9
Disable fetching video and text tracks in background player
...
This reduces data usage for manifest sources with demuxed audio and
video, such as livestreams, for non-HLS sources only due to an
ExoPlayer bug.
2026-01-28 02:13:14 +01:00
AudricV
503ae74dd1
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
85bb37368d
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
8edbc1b8d9
Use DASH first instead of HLS and YouTube's DASH parser for lives
2026-01-28 02:13:14 +01:00
AudricV
4b88b9faff
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
58e8bc273d
Merge pull request #13134 from TeamNewPipe/revert-12781-feat/similar-youtube-client-screen-rotation
2026-01-28 02:12:35 +01:00
Stypox
080b95a6e0
Merge pull request #13129 from AudricV/npe_update
2026-01-28 02:08:26 +01:00
Stypox
e56e4f864d
Merge pull request #13133 from Stypox/missing-report-button
2026-01-28 02:05:16 +01:00
Stypox
a0196ea21c
Merge pull request #13132 from Stypox/regression-detailfragment-flickers
2026-01-28 02:04:15 +01:00
AudricV
114c9143fb
Update NewPipeExtractor
2026-01-28 02:01:45 +01:00
Stypox
ff0436ecce
Revert "Remember and restore orientation on fullscreen exit"
2026-01-28 01:44:39 +01:00
Stypox
403897af39
Allow reporting ContentNotAvailableException
2026-01-28 00:14:21 +01:00
Stypox
c0a007a023
Partial revert: fix VideoDetailFragment flickering
...
This partially reverts commit c31ae95f1f , 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
58ee741964
Merge pull request #12929 from TeamNewPipe/fix/playlist-remove-watched
2026-01-27 22:07:10 +01:00
Stypox
3a5f51f2e8
Swap && to reduce computation
2026-01-27 22:02:01 +01:00
tobigr
a55c90c536
Extract dialog creation into its own method
2026-01-27 22:02:01 +01:00
tobigr
df0c051df6
"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
c8e8f13e9f
Use checkbox to remove partially watched videos
2026-01-27 22:00:15 +01:00
tobigr
ec87d3e0bc
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
03abf7a950
Add deprecation to LocalItemListAdapter.showFooter(true)
2026-01-27 21:35:21 +01:00
Stypox
4ff958eef5
Merge pull request #12996 from whistlingwoods/reapply-local-list-header-fix-by-j-haldane
2026-01-27 21:32:29 +01:00
AudricV
a7ce0765ea
[YouTube] Adapt YoutubeHttpDataSource to TVHTML5 client removal in NPE
2026-01-23 22:04:05 +01:00
Aayush Gupta
6d2b14fb28
Merge pull request #13081 from TeamNewPipe/ktlint
...
Fix and enable multiple ktlint rules
2026-01-24 00:41:17 +08:00
Aayush Gupta
4fb23ab880
ktlint: Drop non-required backing-property-naming supression
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:32:03 +08:00
Aayush Gupta
cce4f68fc9
ktlint: Drop unused chain-method-continuation violation supression
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:32:03 +08:00
Aayush Gupta
022ee94ba3
ktlint: Fix function-literal violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:32:03 +08:00
Aayush Gupta
17c7f78ed9
ktlint: Fix function-signature violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:32:03 +08:00
Aayush Gupta
c075bd574a
ktlint: Drop non-required violation supression
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:32:03 +08:00
Aayush Gupta
3b4a372e3f
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
3ae93402cf
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
8f779d8ac5
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
560f4c861a
ktlint: Fix enum wrapping violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:44 +08:00
Aayush Gupta
da15bd635f
ktlint: Fix block comment violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:44 +08:00
Aayush Gupta
9f60f8b6a1
ktlint: Fix indentation violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:44 +08:00
Aayush Gupta
94419818c5
ktlint: Fix standard_kdoc violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:44 +08:00
Aayush Gupta
67f35b9317
ktlint: Drop non-required violation supressions again
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:44 +08:00
Aayush Gupta
fbcba84932
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
176cb8b672
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
9f12066a17
ktlint: Fix violations regarding statement wrapping
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:43 +08:00
Aayush Gupta
9432947cd1
ktlint: Drop non-required violation supression
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:14 +08:00
Aayush Gupta
303e13a33c
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
4fd959ed60
ktlint: Drop unused trailing commas
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:14 +08:00
Aayush Gupta
f388d7abb0
ktlint: Drop unused semi-colons
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:14 +08:00
Aayush Gupta
991cd6eef0
ktlint: Drop non-required violation supressions
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:14 +08:00
Aayush Gupta
d0089313de
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
85ca59699c
ktlint: Fix ktlint_standard_annotation violations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-24 00:31:14 +08:00