Commit Graph

2268 Commits

Author SHA1 Message Date
Bnyro
185ad31bf0 Switch to LifecycleService in the offline audio player 2023-04-11 09:52:43 +02:00
Isira Seneviratne
5c1a0a4e7a Reuse PictureInPictureCompat method. 2023-04-11 06:58:07 +05:30
Bnyro
dcdd1af176 Audio/background player for downloads 2023-04-10 15:54:09 +02:00
Bnyro
57b7dfdda9 Separate swipe gestures and fullscreen gestures 2023-04-10 14:53:28 +02:00
Bnyro
db4a32e845 Update displayed chapter while scrubbing time bar 2023-04-10 14:04:36 +02:00
Bnyro
d8dd433e7c Hide notification bell if notifications disabled 2023-04-10 13:42:03 +02:00
Bnyro
ed67d09779 Fix crash when adding to playlist while instance down 2023-04-10 13:38:48 +02:00
Bnyro
5b2d502f89 Fix crashes in downloads fragment 2023-04-10 13:34:19 +02:00
Bnyro
c0241222ee Fix crashes caused by view bindings 2023-04-10 13:31:58 +02:00
Bnyro
a42f7ddb50 Fix displayed information in the short tabs of channels 2023-04-10 13:21:11 +02:00
Bnyro
e7995b4bd9
In-built browser intent chooser (#3511)
Co-authored-by: Isira Seneviratne <31027858+Isira-Seneviratne@users.noreply.github.com>
2023-04-10 12:44:41 +02:00
Isira Seneviratne
992a6e2724
Merge pull request #3510 from Isira-Seneviratne/PendingIntentCompat
Switch to AndroidX's PendingIntentCompat class.
2023-04-10 07:23:41 +05:30
Isira Seneviratne
2ab3f5c0d8 Switch to AndroidX's PendingIntentCompat class. 2023-04-09 17:47:46 +05:30
Isira Seneviratne
8e8a6d6b7d Use TransitionAdapter. 2023-04-09 16:39:32 +05:30
Isira Seneviratne
cea8d0062c Free fragment view bindings when their fragments are destroyed. 2023-04-08 07:14:44 +05:30
Isira Seneviratne
0d12ea062c
Merge pull request #3487 from Isira-Seneviratne/Insert
Add single item insertion methods.
2023-04-05 17:40:14 +05:30
Isira Seneviratne
21ffd0b8b7 Fix crash if no uploader avatar is present. 2023-04-05 06:51:56 +05:30
Isira Seneviratne
58f1871abd Add single item insertion methods. 2023-04-05 06:32:00 +05:30
Bnyro
5838e2bd4f
Merge pull request #3481 from Bnyro/master
Fix sharing short videos to the app
2023-04-02 18:57:11 +02:00
Bnyro
a69e7125b3 Fix sharing short videos to the app 2023-04-02 18:56:18 +02:00
Bnyro
0689e69d09
Merge pull request #3480 from Bnyro/master
Fix that channel group items get lost on scrolling
2023-04-02 18:49:06 +02:00
Bnyro
909de96160 Fix that channel group items get lost on scrolling 2023-04-02 18:48:48 +02:00
Bnyro
31a0acf4f4
Merge pull request #3479 from Bnyro/master
Preference to not play videos automatically
2023-04-02 18:33:40 +02:00
Bnyro
9409b53343 Preference to not play videos automatically 2023-04-02 18:33:07 +02:00
Bnyro
e597cbe54c
Merge pull request #3478 from Bnyro/master
Fix playback speed preference summary
2023-04-02 18:26:09 +02:00
Bnyro
061ea34c76 Fix playback speed preference summary 2023-04-02 18:25:45 +02:00
Isira Seneviratne
26335ebd61
Merge pull request #3474 from Isira-Seneviratne/getSystemService_extension
Use getSystemService() extension.
2023-04-02 17:04:33 +05:30
Isira Seneviratne
f1b924e69e
Merge pull request #3475 from Isira-Seneviratne/Use_nullable_binding
Reuse existing nullable binding variables.
2023-04-02 17:03:54 +05:30
Isira Seneviratne
66b64a7474 Reuse existing nullable binding variables. 2023-04-02 10:38:23 +05:30
Isira Seneviratne
38e7693e78 Use getSystemService() extension. 2023-04-02 09:15:01 +05:30
Bnyro
89bc48e3f3
Merge pull request #3450 from anilbeesetti/fix-statusbar
Fix two taps required to interact with player when in fullscreen mode
2023-04-01 16:49:20 +02:00
anilbeesetti
fb8145752c refactor show and hide system bars function 2023-04-01 18:51:55 +05:30
Isira Seneviratne
21541b9578
Merge pull request #3470 from Isira-Seneviratne/Improve_time_check
Improve time check in NotificationWorker.
2023-04-01 16:19:45 +05:30
Isira Seneviratne
e8a8b6a0da Improve time check in NotificationWorker. 2023-04-01 11:11:07 +05:30
Isira Seneviratne
c6c2b260f1 Add NewApi suppressions. 2023-04-01 09:58:27 +05:30
Isira Seneviratne
49ebe82b9c
Merge pull request #3460 from Isira-Seneviratne/Simplify_service_check
Simplify isServiceRunning() method.
2023-04-01 07:20:51 +05:30
Isira Seneviratne
ec61059fa0
Merge pull request #3459 from Isira-Seneviratne/BackgroundMode_channel
Remove notification channel creation from BackgroundMode.
2023-04-01 07:20:04 +05:30
Isira Seneviratne
b7f0bd7f5f Simplify isServiceRunning() method. 2023-03-31 08:57:53 +05:30
anilbeesetti
6e452ad156 fix lint issues 2023-03-31 07:12:56 +05:30
anilbeesetti
8e24cc878b fix navigation bars showing when controller is visible 2023-03-31 07:12:56 +05:30
anilbeesetti
7f68deb33b move extension functions to extensions package 2023-03-31 07:12:56 +05:30
anilbeesetti
7c72c4bea1 Fix two taps required for interacting with player controls 2023-03-31 07:12:56 +05:30
Isira Seneviratne
9bbdd9e789 Remove notification channel creation from BackgroundMode. 2023-03-31 06:28:11 +05:30
Isira Seneviratne
3fd5e2144d
Merge pull request #3454 from Isira-Seneviratne/Disable_alternative_PiP
Hide alternative PiP controls setting if PiP is not enabled.
2023-03-31 06:20:48 +05:30
Bnyro
269ef10001
Merge pull request #3455 from Bnyro/master
Simplify `BasePreferenceFragment.kt` and remove duplicated calls
2023-03-30 18:55:35 +02:00
Bnyro
715e1b6f7c Simplify BasePreferenceFragment.kt and remove duplicated calls 2023-03-30 18:55:14 +02:00
Isira Seneviratne
e66c0b6674 Hide alternative PiP controls setting if PiP is not enabled. 2023-03-30 18:29:50 +05:30
Anil Kumar Beesetti
fe9a48e1d3
Fix dark status bar icons when player is in fullscreen (#3445)
* Fix dark status bar icons on light theme when player is in fullscreen

* Move Activity extension file to ui extension package

* fix lint issue

* remove extension functions

* fix activity is null error when instanstiating
2023-03-30 07:35:38 +02:00
Bnyro
648949e360 Fix crashes in SearchResultFragment 2023-03-28 18:49:08 +02:00
Bnyro
b3c6a74968 Fix closing video player with auto fullscreen enabled 2023-03-28 18:35:37 +02:00
Bnyro
a1618a6556 Fix crash when restoring old backups 2023-03-28 18:31:14 +02:00
Bnyro
f9a25738cd Cleanup link handling in router activity 2023-03-28 18:23:41 +02:00
Bnyro
7a2f97de6d Support sharing live links to LibreTube 2023-03-28 18:17:12 +02:00
Bnyro
98a094ffd7
Merge pull request #3431 from Bnyro/subscription-groups
Subscription groups
2023-03-28 18:09:39 +02:00
Bnyro
caea47d0ed Fix some UI subscription groups issues 2023-03-28 18:08:50 +02:00
Bnyro
a4088189bf Allow creating backups of subscripton groups 2023-03-28 17:45:21 +02:00
Bnyro
4402bf1baf Fix some minor subscription group issues 2023-03-28 17:40:48 +02:00
Isira Seneviratne
a54659f181 Disable picture-in-picture controls on Android Go devices. 2023-03-28 18:11:03 +05:30
Bnyro
a2117bd74b Subscription groups 2023-03-28 12:16:47 +02:00
Bnyro
29a855d415
Merge pull request #3411 from Isira-Seneviratne/Pip_compat
Add picture-in-picture helper classes.
2023-03-28 07:12:14 +02:00
Isira Seneviratne
d56c4e33af Remove unused file. 2023-03-28 05:58:10 +05:30
Muhammad Nayeem
54f1f18fd7
Fix quick swipe up video fullscreen error 2023-03-27 20:03:34 +02:00
Isira Seneviratne
c513d7bd25 Add picture-in-picture helper classes. 2023-03-27 06:10:36 +05:30
Bnyro
4470e4f757
Merge pull request #3406 from Bnyro/master
Fix crash on login
2023-03-26 16:36:58 +02:00
Bnyro
6702d345c6 Fix crash on login 2023-03-26 16:36:37 +02:00
Isira Seneviratne
3bc3f26f06 Fix lint issue. 2023-03-26 15:33:18 +05:30
Bnyro
38507c8ea9 Fix duplicated error messages 2023-03-26 11:27:52 +02:00
Bnyro
42000a74dd Use the toastFromMainThread extension 2023-03-26 11:11:22 +02:00
Bnyro
50a7acb5d7 Fix various crashes caused by the player binding 2023-03-26 10:59:27 +02:00
Isira Seneviratne
e3a38fba1f Make ChapterSegment parameters non-null. 2023-03-26 04:17:15 +05:30
Isira Seneviratne
26735d2f88 Use CompactDecimalFormat to format counts. 2023-03-25 19:00:41 +05:30
Bnyro
d6232dfcda
Merge pull request #3382 from Isira-Seneviratne/Visibility_extensions
Use visibility extensions.
2023-03-25 10:54:59 +01:00
Bnyro
afbf642dd5
Merge pull request #3381 from Isira-Seneviratne/Timestamp_extension
Convert timestamp parsing method to an extension function.
2023-03-25 10:53:59 +01:00
Isira Seneviratne
cab21d0abe Use visibility extensions. 2023-03-25 14:43:18 +05:30
nayeemdv
07f9a3b8e2 close dialog 2023-03-25 09:49:12 +05:30
Isira Seneviratne
0b2bd1f7d9 Convert timestamp parsing method to an extension function. 2023-03-25 06:23:52 +05:30
Bnyro
8346bd1f19 Hide button to delete playlist and playlist videos 2023-03-24 16:22:16 +01:00
Bnyro
0924c48fab Fix crash when bottom sheet is being dismissed 2023-03-24 16:11:56 +01:00
Bnyro
11dc261f91 Option for auto fullscreen on shorts 2023-03-24 16:02:56 +01:00
Bnyro
158185a010 Update playlist name properly after renaming 2023-03-24 15:41:20 +01:00
Bnyro
65a45456ba Simplify number formatting 2023-03-23 20:05:38 +01:00
Bnyro
d471cedd5d Move back in navigation after deleting playlist 2023-03-23 19:53:49 +01:00
Isira Seneviratne
a927511d55 Remove runOnUiThread(). 2023-03-23 06:08:01 +05:30
Bnyro
d1cc16c6fb Migrate add to playlist dialog to MD3 dropdown menu 2023-03-22 12:09:53 +01:00
Bnyro
bae235dabf Display the time within the seekbar preview 2023-03-22 11:40:46 +01:00
Bnyro
abadd23fb4 Fix crashes on audio player transitions 2023-03-22 11:20:20 +01:00
Bnyro
17ae715d32
Fix shrinked player layout after PiP (#3342)
* Fix shrinked player layout after PiP
2023-03-22 11:14:54 +01:00
Bnyro
46e64eaab2 Fix crash when closing player 2023-03-22 11:00:53 +01:00
Bnyro
43626143a7 Fix crash when unregistering downloads receiver 2023-03-21 19:48:01 +01:00
Bnyro
38be961011 Fix that queue controls are visible while player closed 2023-03-21 19:32:00 +01:00
Bnyro
9ff86d3155 Fix forward and rewind buttons when player locked 2023-03-21 19:23:41 +01:00
Bnyro
aaae5d81ac
Merge pull request #3290 from Bnyro/disable-proxy
Add option to disable Piped proxy
2023-03-21 19:18:20 +01:00
Bnyro
a5f44c4e25
Merge pull request #3335 from Bnyro/audio-mini-player
Audio mini player
2023-03-21 19:15:23 +01:00
Bnyro
5b97c011da Audio mini player 2023-03-21 19:14:24 +01:00
Isira Seneviratne
21eae99eae Use only the date in relative time formatting. 2023-03-20 08:53:08 +05:30
Bnyro
21543750ca
Merge branch 'master' into disable-proxy 2023-03-18 18:12:32 +01:00
Bnyro
b78f98d813
Simplify playing queue logic (#3324)
* Simplify playing queue logic
2023-03-18 17:28:48 +01:00
Bnyro
a552004df1
Merge pull request #3318 from Isira-Seneviratne/updateParameters_inline
Convert updateParameters() to an inline function.
2023-03-17 07:11:56 +01:00
Isira Seneviratne
105d345301 Add toAndroidUriOrNull() extension. 2023-03-17 09:17:33 +05:30
Isira Seneviratne
9b06f83b48 Convert updateParameters() to an inline function. 2023-03-17 09:09:36 +05:30
Isira Seneviratne
13f8b3d49d Use java.nio.file APIs in download functionality. 2023-03-16 09:01:07 +05:30
Bnyro
a4e8a7b1dc Avoid null as url when un-proxying 2023-03-15 20:03:21 +01:00
Bnyro
c569bfb708
Merge branch 'master' into disable-proxy 2023-03-15 19:30:49 +01:00
Bnyro
5011c35413 Fix the preference key of disable proxy preference 2023-03-11 16:59:58 +01:00
Bnyro
24151e023c Fix title in the home fragment if feed or boomarks empty 2023-03-11 16:54:04 +01:00
Bnyro
02d16ca7f5 Fix closing the audio player 2023-03-11 16:33:53 +01:00
Bnyro
6e3b349e79
Fix SponsorBlock markers and toggle (#3291)
* Fix SponsorBlock markers and toggle
2023-03-11 16:27:45 +01:00
Bnyro
dba5dd048e Add option to disable Piped proxy 2023-03-11 16:11:43 +01:00
Bnyro
3326305309 Fix the formatting of copied comments 2023-03-10 18:11:38 +01:00
Bnyro
e08505491f
Fix crash when clicking links in about without browser available (#3284)
* Fix crash when clicking links in about without browser available
2023-03-10 18:00:42 +01:00
Bnyro
95bd8b8baf
Merge pull request #3276 from Isira-Seneviratne/Improve_count_formatting
Improve count formatting.
2023-03-10 17:11:40 +01:00
Bnyro
e3a648d15e
Merge pull request #3281 from nayeemdv/libissue1
Fix Shuffle Button Error
2023-03-10 13:30:29 +01:00
nayeem
ea2fdf2292 Fix Shuffle Button Error 2023-03-10 15:34:30 +05:30
Isira Seneviratne
d816612022 Fix item count for private playlists. 2023-03-10 07:25:13 +05:30
Isira Seneviratne
44a70cdc0b Improve subscriber, playlist uploader and video count formatting. 2023-03-10 06:49:42 +05:30
Isira Seneviratne
53913c9e1f Use BufferedReader#lines(). 2023-03-09 05:38:47 +05:30
Isira Seneviratne
77b9923a36 Format upload date in downloads view. 2023-03-07 12:16:21 +05:30
Isira Seneviratne
f938e16a83 Inline AddToPlaylistDialog binding field, fix file name. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
00b5d0a12a Inline NavBarOptionsDialog binding field. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
38a5dc2933 Inline LogoutDialog binding field. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
4c56089b4c Inline LoginDialog binding field. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
7b2b252657 Inline DownloadDialog binding field. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
f8994a08af Inline DeleteAccountDialog binding field. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
3dbf49510a Inline CreatePlaylistDialog binding field. 2023-03-07 05:32:24 +05:30
Bnyro
43d82bb232
Merge pull request #3251 from Isira-Seneviratne/Simplify_ImageHelper
Simplify ImageHelper IO methods.
2023-03-06 16:42:09 +01:00
Isira Seneviratne
4388743b6f Convert WindowHelper to an object. 2023-03-06 11:26:07 +05:30
Isira Seneviratne
7f0daef88f Simplify ImageHelper IO methods. 2023-03-06 07:50:52 +05:30
Bnyro
76ec558f0a
Merge pull request #3241 from Bnyro/master
Support for LBRY HLS
2023-03-05 12:37:59 +01:00
Bnyro
d3895124ef Support for LBRY HLS 2023-03-05 12:37:41 +01:00
Bnyro
0b1e499053
Merge pull request #3238 from Bnyro/master
Fix suggestions after changing the selected video/audio quality
2023-03-04 19:01:34 +01:00
Bnyro
a096a6af5e Fix suggestions after changing the selected video/audio quality 2023-03-04 19:01:07 +01:00
Bnyro
e9b71b1422
Merge pull request #3237 from Bnyro/master
Use MD3 dropdown menus in DownloadFragment
2023-03-04 18:49:48 +01:00
Bnyro
1340de9d4a Use MD3 dropdown menus in DownloadFragment 2023-03-04 18:49:17 +01:00
Bnyro
c50bd97344
Merge pull request #3229 from Bnyro/master
Clickable comment timestamps
2023-03-03 17:55:12 +01:00
Bnyro
91f11b60b6 Clickable comment timestamps 2023-03-03 17:54:51 +01:00
Bnyro
3db3457d58
Merge pull request #3227 from Bnyro/master
Close video player when entering audio mode
2023-03-03 17:26:41 +01:00
Bnyro
0d932426e4 Close video player when entering audio mode 2023-03-03 17:25:46 +01:00
Bnyro
eb6aece3d3
Merge pull request #3225 from Isira-Seneviratne/Fix_relative_formatting
Fix relative time formatting on Android versions below 7.0.
2023-03-03 17:11:50 +01:00
Bnyro
9e239e6a79
Merge pull request #3226 from Bnyro/master
Fix crash on some videos when the instance is down
2023-03-03 17:10:58 +01:00
Bnyro
641754c82c Fix crash on some videos when the instance is down 2023-03-03 17:10:38 +01:00
Isira Seneviratne
65d07b54a4 Fix relative time formatting on Android versions below 7.0. 2023-03-03 20:34:03 +05:30
Bnyro
51de20cbbd
Merge pull request #3222 from Isira-Seneviratne/Report_shortcuts
Report selected shortcut to the system.
2023-03-03 09:06:33 +01:00
Bnyro
5ecb798a2e
Merge pull request #3214 from Isira-Seneviratne/Watch_history_date
Format watch history item dates.
2023-03-03 09:02:53 +01:00
Isira Seneviratne
d0ce0368c5 Report selected shortcut to the system. 2023-03-03 05:16:33 +05:30
Bnyro
3368708609
Merge pull request #3220 from Bnyro/master
Fix negative subscriber and views count for channels
2023-03-02 16:39:39 +01:00
Bnyro
23c3134327 Fix negative subscriber and views count for channels 2023-03-02 16:39:14 +01:00
Isira Seneviratne
57477ff9fd Format watch history item dates. 2023-03-01 19:56:13 +05:30
Bnyro
58374ddba1
Merge pull request #3210 from Isira-Seneviratne/toBitmap
Use toBitmap() extension function.
2023-03-01 07:46:56 +01:00
Isira Seneviratne
d4f18799ea Use ShortcutManagerCompat.setDynamicShortcuts(). 2023-03-01 05:33:12 +05:30
Isira Seneviratne
a8c8940026 Use toBitmap(). 2023-03-01 05:02:51 +05:30