Yevhen Babiichuk (DustDFG)
70cdaf5550
Partially revert: ErrorActivity: Kotlin-fy buildMarkdown method
...
Partially reverts c3dbed54e5
Fix the bug where collapse container for several crashlogs is created
when only one crash log present
2026-02-13 13:43:54 +02:00
Yevhen Babiichuk (DustDFG)
54090ca7b6
ErrorActivity use normal \n instead of \\n in resource strings
2026-02-11 16:54:35 +02:00
Aayush Gupta
c3dbed54e5
ErrorActivity: Kotlin-fy buildMarkdown method
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-02-11 21:40:02 +08:00
Aayush Gupta
8968aab578
ErrorActivity: Catch exceptions not throwables
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-02-11 21:40:02 +08:00
Aayush Gupta
d7a4435e94
ErrorActivity: Use better variable names and encapsulation
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-02-11 21:39:56 +08:00
Yevhen Babiichuk (DustDFG)
4a7eaed3a7
ErrorActivity convert to kotlin
...
Co-authored-by: Aayush Gupta <aayushgupta219@protonmail.com >
2026-02-11 18:31:12 +08:00
Yevhen Babiichuk (DustDFG)
869a3cea9b
ErrorActivity small refactor
2026-02-11 18:31:12 +08:00
Aayush Gupta
224a5d0cb9
Minor improvements
...
- Use early return in case of nulls
- Use better variable names
- Remove non-required newlines, imports and add missing ones
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2026-02-10 16:33:43 +08:00
Yevhen Babiichuk (DustDFG)
c6fc94e7bd
Convert newpipe/settings/export/PreferencesObjectInputStream to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
1eedfd7eee
Convert /newpipe/util/StreamTypeUtil to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
2c7654a579
Covert newpipe/util/DependentPreferenceHelper to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
09a746dd6a
Convert newpipe/util/ServiceHelper to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
d665a4f016
Convert newpipe/util/NewPipeTextViewHelper to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
6cf932b2a7
Convert newpipe/ExitActivity to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
48467669b6
Convert newpipe/util/PeertubeHelper to kotlin
2026-02-10 09:51:14 +02:00
Yevhen Babiichuk (DustDFG)
780e6a4848
Convert newpipe/util/PlayButtonHelper to kotlin
2026-02-10 09:51:13 +02:00
Yevhen Babiichuk (DustDFG)
edfdbe805f
Uitilize kotlin elvis operator
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
451409fc3b
SharedPreferences.edit applies changes automatically
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
289d22eed7
Utilize kotlins ifEmpty
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
21f446a78e
Refactor settings/preferencesearch/PreferenceSearchItem#allRelevantSearchFields
...
It doesn't need to return mutable list
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
37cef825a2
Correct inverted check
...
If performs action when value is true but check when false
Fix for d6be966db3
2026-02-09 14:31:56 +02:00
Aayush Gupta
dab8e056e9
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
020dbdc82a
Merge pull request #13131 from dustdfg/tabs_json_helper_refactor
...
TabsJsonHelper refactor
2026-02-08 22:06:25 +08:00
Yevhen Babiichuk (DustDFG)
d6be966db3
Replace Illegal{State,Argument} exceptions with more idiomatic kotlin code
2026-02-08 21:59:10 +08:00
Tobi
56a043669a
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
1554f77762
Fix additional setRecovery from rebase errors
2026-02-05 11:17:30 +00:00
AbsurdlyLongUsername
118def08b4
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
725cb70cbd
Update useVideoAndSubtitles rename in comment
2026-02-05 05:05:40 +00:00
AbsurdlyLongUsername
5525d206dc
Small refactor getPlayQueueFromCache
2026-02-05 05:05:40 +00:00
Yevhen Babiichuk (DustDFG)
07fe1e758a
Refactor settings/tabs/TabsJsonHelper.java to use java streams
2026-02-02 23:59:01 +02:00
Jonathan Davies
ae60f7d7eb
FeedLoadManager: Shuffle the order outdated subscriptions are updated in
2026-01-31 20:47:48 +00:00
Yevhen Babiichuk (DustDFG)
8a2c47bc12
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: 2e9a860aaa
2026-01-29 15:01:40 +02:00
Stypox
c2723096ab
Avoid rebuilding BackgroundPlayerUi if already in place
2026-01-28 02:39:56 +01:00
Stypox
216867c597
Address review comments
2026-01-28 02:20:33 +01:00
AudricV
1d8ea0181f
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
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
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
c670ad80ee
Use DASH first instead of HLS and YouTube's DASH parser for lives
2026-01-28 02:13:14 +01:00
AudricV
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
635b306de0
Merge pull request #13134 from TeamNewPipe/revert-12781-feat/similar-youtube-client-screen-rotation
2026-01-28 02:12:35 +01:00
Stypox
11af6a2902
Merge pull request #13129 from AudricV/npe_update
2026-01-28 02:08:26 +01:00
Stypox
7e3657831c
Merge pull request #13133 from Stypox/missing-report-button
2026-01-28 02:05:16 +01:00
Stypox
c0613b5e54
Merge pull request #13132 from Stypox/regression-detailfragment-flickers
2026-01-28 02:04:15 +01:00
Stypox
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
8d9af62736
Extract dialog creation into its own method
2026-01-27 22:02:01 +01:00
tobigr
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
0611d650e7
Use checkbox to remove partially watched videos
2026-01-27 22:00:15 +01:00