Yevhen Babiichuk (DustDFG)
3102c65f8a
Convert newpipe/util/PlayButtonHelper to kotlin
2026-02-10 09:51:13 +02:00
Yevhen Babiichuk (DustDFG)
12b766f175
Uitilize kotlin elvis operator
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
a54c55e7a4
SharedPreferences.edit applies changes automatically
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
b6902e2587
Utilize kotlins ifEmpty
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
62f224e01c
Refactor settings/preferencesearch/PreferenceSearchItem#allRelevantSearchFields
...
It doesn't need to return mutable list
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
25934e01eb
Correct inverted check
...
If performs action when value is true but check when false
Fix for 07e53a2d7a
2026-02-09 14:31:56 +02:00
Aayush Gupta
c7c3520c63
Merge pull request #13137 from dustdfg/info_item_builder_dead
...
Remove dead code from info_list/InfoItemBuilder
2026-02-08 22:28:19 +08:00
Aayush Gupta
b5edd0a25e
Merge pull request #13131 from dustdfg/tabs_json_helper_refactor
...
TabsJsonHelper refactor
2026-02-08 22:06:25 +08:00
Yevhen Babiichuk (DustDFG)
07e53a2d7a
Replace Illegal{State,Argument} exceptions with more idiomatic kotlin code
2026-02-08 21:59:10 +08:00
Tobi
e0892ca9df
Merge pull request #13161 from jpds/outdated-subscription-shuffle
...
FeedLoadManager: Shuffle the order outdated subscriptions are updated in
2026-02-06 02:13:56 -08:00
AbsurdlyLongUsername
b5b6b6bdc4
Fix additional setRecovery from rebase errors
2026-02-05 11:17:30 +00:00
AbsurdlyLongUsername
bd255606d6
Add conditional guard to prevent useVideoAndSubtitles overwriting recovery position that was set in Player.handleIntent for RESUME_PLAYBACK when resuming playback
2026-02-05 05:05:41 +00:00
AbsurdlyLongUsername
b7d69682f7
Update useVideoAndSubtitles rename in comment
2026-02-05 05:05:40 +00:00
AbsurdlyLongUsername
10fc6bf2a3
Small refactor getPlayQueueFromCache
2026-02-05 05:05:40 +00:00
Yevhen Babiichuk (DustDFG)
5d681646e9
Refactor settings/tabs/TabsJsonHelper.java to use java streams
2026-02-02 23:59:01 +02:00
Jonathan Davies
6ccda31305
FeedLoadManager: Shuffle the order outdated subscriptions are updated in
2026-01-31 20:47:48 +00:00
Yevhen Babiichuk (DustDFG)
1905200e4d
Remove dead code from info_list/InfoItemBuilder
...
It no longer really builds any view and used only for stroing click
gesture callbacks. In the same way lik local/LocalItemBuilder does
Last usage of build functions: 93d12e5bf0
2026-01-29 15:01:40 +02:00
Stypox
2c2a595246
Avoid rebuilding BackgroundPlayerUi if already in place
2026-01-28 02:39:56 +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
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
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
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
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
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