Commit Graph

2630 Commits

Author SHA1 Message Date
Isira Seneviratne
6e0a016cc4
Merge pull request #3542 from Isira-Seneviratne/Stream_thumbnails
Display stream notification thumbnails.
2023-04-13 18:06:24 +05:30
Isira Seneviratne
3a405f44a8 Add setting to toggle thumbnail loading. 2023-04-13 17:20:04 +05:30
Bnyro
1710340bbf Fix black bar on displays with cutout/notch 2023-04-13 13:08:04 +02:00
Isira Seneviratne
184f46dd6b Avoid loading thumbnails if data saving mode is enabled. 2023-04-13 12:32:14 +05:30
Isira Seneviratne
4a17f5221e Display new stream thumbnails in their notifications. 2023-04-13 08:39:04 +05:30
Isira Seneviratne
1395a76c61
Merge pull request #3533 from Isira-Seneviratne/Stream_notifications
Improve notification grouping for new streams.
2023-04-12 07:14:26 +05:30
Isira Seneviratne
7bea6fdebd Improve notification grouping for new streams. 2023-04-11 21:20:08 +05:30
Isira Seneviratne
4615c662b4 Run load tasks concurrently. 2023-04-11 20:49:25 +05:30
Isira Seneviratne
6b69353e67 Switch to repeatOnLifecycle extension. 2023-04-11 20:49:23 +05:30
Isira Seneviratne
0cce8e4c9b
Merge pull request #3528 from Isira-Seneviratne/PictureInPictureCompat
Reuse PictureInPictureCompat method.
2023-04-11 18:35:20 +05:30
Bnyro
a35ff72f21 Add more options to the download options bottom sheet 2023-04-11 10:09:24 +02:00
Bnyro
338e3dafa9 Fix crash in TrendsFragment caused by bindings 2023-04-11 10:00:05 +02:00
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
Bnyro
03b215e9ff Fix crash when restoring legacy backup 2023-02-27 18:48:55 +01:00
Bnyro
44e66d0d74 Don't insert videos having a blank title to queue 2023-02-27 18:38:36 +01:00
Isira Seneviratne
b7ed45f044 Simplify ShareDialog view binding. 2023-02-27 18:44:24 +05:30
Bnyro
9a659d7a03
Merge pull request #3182 from Isira-Seneviratne/Remove_BaseFragment
Remove BaseFragment.
2023-02-26 15:39:25 +01:00
Bnyro
98f43d7841
Merge pull request #3186 from Bnyro/master
Fix that backup files might be empty
2023-02-25 11:58:22 +01:00
Bnyro
ea51fd0f02 Fix that backup files might be empty 2023-02-25 11:57:57 +01:00
Bnyro
8e603464d4
Merge pull request #3183 from Isira-Seneviratne/Intent_method_chaining
Use Intent method chaining.
2023-02-25 09:42:14 +01:00
Isira Seneviratne
57d8f174bb Remove getShareableTitle(). 2023-02-25 13:59:23 +05:30
Isira Seneviratne
d3c39ee3c2 Use Intent method chaining. 2023-02-25 12:56:20 +05:30
Isira Seneviratne
4996023ee8 Remove BaseFragment. 2023-02-25 12:45:54 +05:30
Bnyro
cec2e1e399
Merge pull request #3173 from Isira-Seneviratne/PlaylistBookmarkDao_suspend
Convert PlaylistBookmarkDao methods to suspend functions.
2023-02-24 07:19:59 +01:00
Isira Seneviratne
97107fa777 Use isEmpty() extension functions. 2023-02-24 08:11:11 +05:30
Isira Seneviratne
675340a190 Convert PlaylistBookmarkDao methods to suspend functions. 2023-02-24 07:04:26 +05:30
Bnyro
b883f160fd Only use YT-generated DASH for livestreams 2023-02-23 19:31:42 +01:00
Bnyro
7939a60698 Fix autoplay countdown crash 2023-02-23 19:24:26 +01:00
Bnyro
fa18d26b0f Disable platform diagnostics 2023-02-23 18:13:38 +01:00
Bnyro
a7837ac390
Autoplay Countdown when the video ended (optional) (#3159) 2023-02-22 12:27:03 +01:00
Bnyro
1b0b1e7379
Fix position when auto-playing next video (#3158)
* Fix position when auto-playing next video
2023-02-22 11:28:16 +01:00
Bnyro
5fa4233561 Stats for nerds 2023-02-22 11:15:43 +01:00
Bnyro
4b4b025b42 Fix error when renaming a playlist 2023-02-22 10:40:35 +01:00
Bnyro
0bcc73aea8 Fix toast when deleting a playlist, cleanup 2023-02-22 10:37:05 +01:00
Bnyro
a2ce37c8d2
Merge pull request #3124 from Isira-Seneviratne/Scope_extensions
Use lifecycle coroutine scope extensions.
2023-02-22 10:25:47 +01:00
Bnyro
f5f6bb2356 Fix adding videos to a playlist 2023-02-22 10:24:52 +01:00
Isira Seneviratne
494f0f4efd Update WatchPositionDao's insertAll() method to accept a List. 2023-02-22 04:07:36 +05:30
Isira Seneviratne
c464fe05d5 Remove unused WatchPositionDao methods. 2023-02-22 04:01:48 +05:30
Bnyro
2d80de9f52 Convert watch positions dao to coroutines, fix holes in the feed 2023-02-21 18:28:21 +01:00
Isira Seneviratne
10d6ad7633 Hide clone, create and rename playlist dialogs. 2023-02-21 18:42:10 +05:30
Bnyro
e81feb267d
Merge pull request #3149 from Bnyro/master
Fix the displayed chosen instance
2023-02-21 13:22:06 +01:00
Bnyro
d2224c85e2 Fix the displayed chosen instance 2023-02-21 13:21:49 +01:00
Bnyro
23ba2f2503
Merge pull request #3145 from Bnyro/master
Fix that kavin.rocks is not shown as selected by default
2023-02-21 11:29:17 +01:00
Bnyro
03cd871d02 Fix that kavin.rocks is not shown as selected by default 2023-02-21 11:28:37 +01:00
Bnyro
9fc766671e
Merge pull request #3141 from Isira-Seneviratne/Views_strings
Add trending and normal views localization strings.
2023-02-21 10:18:34 +01:00
Isira Seneviratne
4b19ec2645 Replace the views string with the normal views string. 2023-02-21 09:15:20 +05:30
Isira Seneviratne
e7a5f0bd85 Add trending and normal views localization strings. 2023-02-21 08:29:04 +05:30
Isira Seneviratne
17f76fde31 Use ChronoUnit in formatRelativeDate(). 2023-02-21 07:05:59 +05:30
Isira Seneviratne
40abc051b2 Dismiss dialogs after the long-running operations complete. 2023-02-20 20:40:59 +05:30
Isira Seneviratne
9a36a832a6 Hide clone dialog before starting the clone. 2023-02-20 20:20:27 +05:30
Isira Seneviratne
38b3de6bed Move use of lifecycleScope to BaseBottomSheet. 2023-02-20 20:06:15 +05:30
Isira Seneviratne
d1fd030ab0 Use viewModelScope extension. 2023-02-20 19:13:55 +05:30
Isira Seneviratne
3171c82dbc Use lifecycleScope extension. 2023-02-20 19:13:55 +05:30
Bnyro
f2285be082
Merge pull request #3133 from Bnyro/master
Display the video category in the description
2023-02-20 10:25:04 +01:00
Bnyro
7942563fcd Display the video category in the description 2023-02-20 10:24:42 +01:00
Praveen Rajput
3d8a782a7a
Fix crash on empty playlist shuffle and background playback (#3131)
* 🐛 Fixes crash on empty playlist shuffle and background playback

---------

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2023-02-20 10:18:54 +01:00
Bnyro
207e6cb6fc Improved relative date time formatting 2023-02-20 10:16:58 +01:00
Bnyro
3b27ca3205 Round the displayed playback speed 2023-02-20 09:30:55 +01:00
Bnyro
5c204097a0 Cleanup the instance preference 2023-02-20 09:23:27 +01:00
Bnyro
091a855e4b
Merge pull request #3119 from Linus789/fix-rt-connection
Fix no connection with gnirehtet reverse tethering
2023-02-20 09:17:33 +01:00
Bnyro
44b671c12a
Merge pull request #3123 from Isira-Seneviratne/SearchHistoryDao_suspend
Convert SearchHistoryDao methods to suspend functions.
2023-02-20 07:55:17 +01:00
Isira Seneviratne
bce6648a0a Use Patterns.EMAIL_ADDRESS regex. 2023-02-20 05:30:25 +05:30
Linus789
f9873fd634 Treat reverse tethering as not metered connection 2023-02-19 18:46:06 +01:00
Isira Seneviratne
7bb0c838ff Convert SearchHistoryDao methods to suspend functions. 2023-02-19 20:00:49 +05:30
Linus789
09ad638827 Fix no connection with gnirehtet reverse tethering 2023-02-19 00:31:54 +01:00
Bnyro
c31f17ab11
Merge pull request #3113 from Bnyro/master
Better error messages when a video is unavailable
2023-02-18 10:32:18 +01:00
Bnyro
da04059359 Better error messages when a video is unavailable 2023-02-18 10:29:26 +01:00
Bnyro
ee1484fafa
Merge pull request #3112 from Bnyro/master
Better login/register error messages
2023-02-18 10:21:11 +01:00
Bnyro
c673b7464b Better login/register error messages 2023-02-18 10:20:49 +01:00
Bnyro
933cff7ae6 Replace unneeded activity restarts 2023-02-18 10:14:05 +01:00
Bnyro
f20ab5b57a
Merge pull request #3111 from Bnyro/master
Fix crash when creating a playlist (closes #3102)
2023-02-18 09:52:17 +01:00
Bnyro
97bd9da857 Fix crash when creating a playlist (closes #3102) 2023-02-18 09:52:05 +01:00
Isira Seneviratne
b7af649d98 Fix lint issues. 2023-02-17 08:12:01 +05:30
Isira Seneviratne
c4c6ff5543 Fix package. 2023-02-17 07:23:39 +05:30
Isira Seneviratne
10aa703aa5 Convert some extension functions to member functions. 2023-02-17 07:23:38 +05:30
Bnyro
1366578f5a Option to manage Playback Speed ​​of Audio and Video Mode Separately 2023-02-16 20:23:46 +01:00
Bnyro
b5848f43b0
Merge pull request #3095 from Bnyro/master
Remove the inbuilt updater
2023-02-16 20:04:38 +01:00
Bnyro
cf37f3bf74 Remove the inbuilt updater 2023-02-16 20:04:23 +01:00
Bnyro
6c35e0649a
Merge pull request #3094 from Bnyro/master
Restore the orientation before entering PiP
2023-02-16 19:59:16 +01:00
Bnyro
dc16223b9a Restore the orientation before entering PiP 2023-02-16 19:59:01 +01:00
Bnyro
2ae5ebf637
Merge pull request #3082 from Isira-Seneviratne/DownloadDao_suspend
Convert DownloadDao methods to suspend functions.
2023-02-15 08:24:06 +01:00
Isira Seneviratne
c381437efd Convert DownloadDao methods to suspend functions. 2023-02-15 12:14:45 +05:30
Isira Seneviratne
2b2c16f9f2 Use removeIf() instead of removeAll(). 2023-02-15 05:06:41 +05:30
Faisal Khan
5eddd63ed3
Removes callbacks when player fragment is destroyed. (#3073)
* Made improvement to player double-tap further.

* Minor fixes.

* fix ktlint

* Filter out null comments returned from Piped API.

* Fixes: Labels under icons are not visible

* Minor player controls UI improvements

* Removes callbacks when player fragment is destroyed.

---------

Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-02-14 15:35:07 +01:00
Faisal Khan
c199d35913
Fixes: Labels under icons are not visible (#3066)
* Made improvement to player double-tap further.

* Minor fixes.

* fix ktlint

* Filter out null comments returned from Piped API.

* Fixes: Labels under icons are not visible

* Minor player controls UI improvements

---------

Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-02-14 11:35:24 +01:00
Isira Seneviratne
b99fb04cbd Simplify getAvailableResolutions(). 2023-02-14 06:55:46 +05:30
Faisal Khan
6053eae99b
Filter out null comments returned from Piped API. (#3061)
* Made improvement to player double-tap further.

* Minor fixes.

* fix ktlint

* Filter out null comments returned from Piped API.
2023-02-13 18:08:56 +01:00
Bnyro
582ab70bd1
Merge pull request #3053 from Isira-Seneviratne/Search_binding
Use view binding extensions in the search fragments.
2023-02-13 15:44:02 +01:00
Bnyro
16334d3bbe
Merge pull request #3037 from Isira-Seneviratne/Player_view_binding
Use view binding extensions in PlayerFragment.
2023-02-13 15:43:41 +01:00
Isira Seneviratne
5030453db4 Use view binding extensions in the search fragments. 2023-02-13 12:00:02 +05:30
Isira Seneviratne
0bea476772 Use view binding extensions in PlayerFragment. 2023-02-13 07:18:58 +05:30
Isira Seneviratne
4bdd5c1aa0 Use HttpUrl in ProxyHelper. 2023-02-13 06:17:06 +05:30
Bnyro
f0857633e9 Fix compatibility with previous backups 2023-02-12 17:42:51 +01:00
Bnyro
26a4eeea6f Remember the download selections 2023-02-12 16:52:31 +01:00
Bnyro
22af1f9362 [Download dialog] Cleanup and sort by quality 2023-02-12 16:35:55 +01:00
Bnyro
59a1378531 Handle errors properly on home fragmemt 2023-02-12 16:01:51 +01:00
Bnyro
883f14fd56 Improve home page loading behavior 2023-02-12 15:48:38 +01:00
Bnyro
cd21f64be2 Improve the dynamic instance list fetching 2023-02-12 15:32:57 +01:00
Bnyro
cd54f2beb0
Merge pull request #3038 from Isira-Seneviratne/CustomInstanceDao_suspend
Convert CustomInstanceDao methods to suspend functions.
2023-02-12 15:07:57 +01:00
Bnyro
e4627fd156 Fix SponsorBlock segment loop at end of video 2023-02-12 13:27:35 +01:00
Isira Seneviratne
3ef8dc0092 Convert CustomInstanceDao methods to suspend functions. 2023-02-12 17:53:11 +05:30
Bnyro
9746d5a5fd Refactor the SponsorBlock segment handling 2023-02-12 13:17:44 +01:00
Bnyro
7648f1822f Option to disable watch positions in audio mode 2023-02-12 12:55:31 +01:00
Bnyro
80be666b48 Button to quit the audio mode 2023-02-12 12:39:56 +01:00
Bnyro
4e9273f7cb Open audio player from three dot menu 2023-02-12 12:34:53 +01:00
Bnyro
df40c8e50d Search history improvements 2023-02-12 12:27:57 +01:00
Isira Seneviratne
a0408840c4 Release view bindings in SearchResultFragment. 2023-02-12 16:40:44 +05:30
Isira Seneviratne
cec4f4da66 Release view bindings in SearchFragment. 2023-02-12 15:50:18 +05:30
Bnyro
32533ca11c
Merge pull request #3026 from Isira-Seneviratne/URL_validation
Simplify custom instance URL validation.
2023-02-12 09:09:42 +01:00
Isira Seneviratne
00eef4ed65 Simplify custom instance URL validation. 2023-02-12 06:56:47 +05:30
Isira Seneviratne
f155bf8751 Convert DatabaseHolder to an object. 2023-02-12 05:44:22 +05:30
Bnyro
a051d70f48 Fullscreen swipe gestures 2023-02-10 18:53:36 +01:00
Bnyro
61334db826 Option to mark videos as watched 2023-02-10 18:10:17 +01:00
Bnyro
2c64692381
Merge pull request #3011 from Isira-Seneviratne/AudioHelper
Simplify AudioHelper.
2023-02-10 16:47:25 +01:00
Bnyro
ce3edce7d1
Merge pull request #3012 from Isira-Seneviratne/WatchHistoryDao_suspend
Convert WatchHistoryDao methods to suspend functions.
2023-02-10 16:46:27 +01:00
Isira Seneviratne
cfce0d1f3d Improve unsupported file type message. 2023-02-10 09:21:41 +05:30
Isira Seneviratne
fdc17d6dfd Convert WatchHistoryDao methods to suspend functions. 2023-02-10 06:50:09 +05:30
Isira Seneviratne
9d469b1627 Simplify AudioHelper. 2023-02-10 04:52:31 +05:30
Bnyro
ccc27c255d Fix the time stamp parsing in the PlayerFragment 2023-02-08 10:38:28 +01:00
Bnyro
5992b0c567 Fix history showing up when clearing search query 2023-02-08 10:10:46 +01:00
Bnyro
793ad8e731
Merge pull request #2993 from Isira-Seneviratne/LifecycleService
Use LifecycleService.
2023-02-08 10:00:58 +01:00
Bnyro
1e239faf03 Fix that thumbnails persist after deleting a download 2023-02-08 09:58:49 +01:00
Bnyro
8322fbd5c9 Add preference to choose video codecs 2023-02-08 09:41:59 +01:00
Isira Seneviratne
df565bb8da Fix lint issues. 2023-02-08 07:41:51 +05:30
Isira Seneviratne
2321ed22f1 Restore coroutine context originally used in DownloadService. 2023-02-08 06:20:06 +05:30
Isira Seneviratne
5e6d171675 Convert DownloadService and BackgroundMode to lifecycle services. 2023-02-08 04:50:45 +05:30
Bnyro
0821ac66db Prevent controls from disappearing while scrubbing 2023-02-07 19:42:08 +01:00
Bnyro
fb0054d15e Fix the downloads empty indicator 2023-02-07 19:36:59 +01:00
Bnyro
b5e7aeb5cd Convert delete download dialog to confirmation dialog 2023-02-07 19:31:43 +01:00
Faisal Khan
8017898c80
Further double tap gesture improvements (#2988) 2023-02-07 17:28:27 +01:00
Bnyro
6cd8792b9a
Merge branch 'master' into SparseBooleanArray 2023-02-06 15:33:01 +01:00
Bnyro
12d3991f01
Merge pull request #2979 from Isira-Seneviratne/CronetHelper_object
Convert CronetHelper to an object.
2023-02-06 15:30:16 +01:00
Isira Seneviratne
fd60959827 Use SparseBooleanArray in DownloadService. 2023-02-06 08:19:08 +05:30
Isira Seneviratne
8cd1094526 Use ServiceCompat. 2023-02-06 08:10:05 +05:30
Isira Seneviratne
73f488e3d2 Convert CronetHelper to an object. 2023-02-06 05:29:49 +05:30
Praveen Rajput
aa998d80a4 Merge remote-tracking branch 'origin/master' 2023-02-06 01:08:44 +05:30
Praveen Rajput
2f83327a3c 🐛 Fixes crash on playlist background playback
- Fixes #2965
2023-02-06 01:08:35 +05:30
Bnyro
3d78250daf
Merge pull request #2970 from Isira-Seneviratne/Backup_restore_improvements
Make backup and restore improvements.
2023-02-05 11:16:16 +01:00
Bnyro
da8b383153
Merge pull request #2968 from Isira-Seneviratne/ListAdapter_search
Convert SearchAdapter to a ListAdapter.
2023-02-05 11:13:18 +01:00
Bnyro
e7b6846845
Merge pull request #2969 from Isira-Seneviratne/Transaction_extensions
Use Fragment transaction extensions.
2023-02-05 11:07:28 +01:00
Bnyro
67a951f39e Unauthenticated: Use GET when subs <= 100 2023-02-05 11:05:03 +01:00
Isira Seneviratne
a90d22f111 Use Fragment transaction extensions. 2023-02-05 09:02:59 +05:30
Isira Seneviratne
3d7ef76d52 Convert import helper methods to suspend functions. 2023-02-05 06:17:21 +05:30
Isira Seneviratne
a5d6d8d9df Convert backup helper methods to suspend functions. 2023-02-05 06:17:21 +05:30
Isira Seneviratne
d2a6dd5c31 Initialize activity result listeners in the fragment constructor. 2023-02-05 06:17:21 +05:30
Isira Seneviratne
423c257dd7 Convert BackupHelper and ImportHelper to objects. 2023-02-05 06:17:21 +05:30
Isira Seneviratne
3b6ccdb91d Convert SearchAdapter to a ListAdapter. 2023-02-05 06:01:12 +05:30
Bnyro
1f2be76559 Use an elevated surface color for the swipe to refresh 2023-02-04 11:21:44 +01:00
Bnyro
b3ffb226d4 Improve double tap on center of player 2023-02-04 11:18:20 +01:00
Bnyro
4bd2d473bf Use POST requests for unauthenticated subscriptions 2023-02-04 11:16:55 +01:00
Isira Seneviratne
2973b204dd Remove unnecessary TextViewCompat calls. 2023-02-04 05:31:51 +05:30
faisalcodes
42272b878b Fixes: icons not showing in the player menu options. 2023-02-03 21:35:41 +05:30
Bnyro
1e379d5a91
Merge pull request #2951 from Isira-Seneviratne/Work_KTX
Use Work KTX functionality.
2023-02-03 13:24:13 +01:00
Isira Seneviratne
b2b444d3e5 Convert ClipboardHelper to an object.
Also improve some related code.
2023-02-03 14:47:09 +05:30
Isira Seneviratne
38e8cd1012 Use PeriodicWorkRequestBuilder. 2023-02-03 14:35:05 +05:30
Isira Seneviratne
5f1d41c790 Convert NotificationWorker to a CoroutineWorker. 2023-02-03 14:35:04 +05:30
Bnyro
fcbd12c32f Merge remote-tracking branch 'faisal/master' into HEAD 2023-02-02 15:46:12 +01:00
Bnyro
142be9dc03 Minor cleanup to the DrawableTextView 2023-02-02 15:45:13 +01:00
faisalcodes
1a7ad4fd68 Minor clean 2023-02-02 20:05:44 +05:30
Faisal Khan
9a9b127e9f
Merge branch 'libre-tube:master' into master 2023-02-02 20:03:06 +05:30
Bnyro
81568e2135 Cleanup common methods in the about and help acitvities 2023-02-01 18:49:59 +01:00
Bnyro
766c7c82d9 Cleanup the AboutActivity.kt 2023-02-01 18:45:40 +01:00
Bnyro
59a56f8467 Cleanup the HelpActivity.kt 2023-02-01 18:42:35 +01:00
Bnyro
4732ff2477 Help & About: Use icon without background 2023-02-01 18:36:39 +01:00
Bnyro
2cd8e7f7d8 Remove social media name strings from translations 2023-02-01 18:22:29 +01:00
Bnyro
89f85fa8ff [Help section] Add Mastodon, remove Twitter 2023-02-01 18:18:02 +01:00
Faisal Khan
5c593d7eb8
Merge branch 'libre-tube:master' into master 2023-02-01 22:45:22 +05:30
faisalcodes
89ac493496 Fix ktlint 2023-02-01 22:41:04 +05:30
Bnyro
8916bd8214 Merge master into Remove_String_all 2023-02-01 18:06:08 +01:00
Bnyro
0685e1c2d7 Merge remote-tracking branch 'upstream/master' into HEAD 2023-02-01 18:05:17 +01:00
faisalcodes
e584d7bed5 Follow-up to #2929. Simplified layouts. 2023-02-01 22:32:28 +05:30
Bnyro
cc53e17403
Merge branch 'master' into master 2023-02-01 10:00:25 +01:00
Isira Seneviratne
27f338cf72 Remove uses of String.all(). 2023-02-01 05:44:27 +05:30
faisalcodes
766e6ebc7f Adds more RTL languages support. 2023-01-31 22:47:45 +05:30
Bnyro
1403c3bc1c Play and pause the video on single touches 2023-01-31 18:08:37 +01:00
Bnyro
288067b044 [Audio Player] Volume controls 2023-01-31 17:57:24 +01:00
Bnyro
38859c43f6 [Audio player] Swipe listener 2023-01-31 17:34:40 +01:00
Bnyro
b734c69ea8 Move helpers from .util to .ui.listeners and .helpers 2023-01-31 16:43:39 +01:00
Bnyro
296ca42a19 Fix playlist importing issues 2023-01-31 16:35:00 +01:00
Bnyro
a096247c94 Import playlists asynchronously 2023-01-31 16:29:13 +01:00
Bnyro
f274dd205b Fix the importing of playlists 2023-01-31 16:23:34 +01:00
Bnyro
9607edef22 Simplify the local playlist handling 2023-01-31 16:12:19 +01:00
Bnyro
7b23da5eca Reload playlists after successfully cloning 2023-01-31 15:55:02 +01:00
Bnyro
2d4c616111
Merge pull request #2921 from faisalcodes/master
Fixes: Showing progress for unwatched videos.
2023-01-31 15:37:43 +01:00
Bnyro
c634cd9c9c Simplify watch progress length extension 2023-01-31 15:37:10 +01:00
faisalcodes
25c0d3c0c8 Fix ktlint 2023-01-31 11:20:57 +05:30
faisalcodes
bd556baa76 Fixes #2815 2023-01-31 11:11:00 +05:30
Isira Seneviratne
a7a885f88d Convert LocalPlaylistsDao methods to suspend functions. 2023-01-31 07:30:16 +05:30
Bnyro
432e301db5 Fix ktlint 2023-01-30 19:44:29 +01:00
Bnyro
cb88ae9eea
Merge pull request #2910 from faisalcodes/master
Added the original comment as the first item in replies.
2023-01-30 16:57:42 +01:00
Bnyro
c405ca08f0 Remove unused expression 2023-01-30 16:57:08 +01:00
Bnyro
ec25173503 Fix that multiple comments are hightlighted sometimes 2023-01-30 16:44:50 +01:00
Bnyro
758f559811 Minor UI improvements and code cleanup 2023-01-30 16:39:05 +01:00
Bnyro
8c6d20d64d
Merge pull request #2913 from Isira-Seneviratne/awaitAll
Use awaitAll() extension.
2023-01-30 16:20:41 +01:00
Isira Seneviratne
02d9aa5655 Use take() extension. 2023-01-30 20:44:26 +05:30
Isira Seneviratne
825fc7bda5 Use awaitAll() extension. 2023-01-30 20:14:20 +05:30
Bnyro
3e6fb49bf4
Merge pull request #2912 from Isira-Seneviratne/takeWhile
Use Kotlin's takeWhile() extension.
2023-01-30 15:08:21 +01:00
Isira Seneviratne
99f031f155 Use takeWhile() extension. 2023-01-30 19:23:44 +05:30
faisalcodes
3265ce81f4 - Removed hardcoded colors.
- Used colorSurface for the original comment in replies.
2023-01-30 19:17:01 +05:30
Bnyro
259a1c1400
Merge pull request #2904 from praveenrajput/master
Closes comments on auto play video change. Fixes #2898
2023-01-30 13:59:35 +01:00
faisalcodes
843bdfd8e4 ktlint 2023-01-30 12:19:53 +05:30
faisalcodes
bb784f5880 ktlint 2023-01-30 12:16:35 +05:30
faisalcodes
042cf26c1c Added the original comment as first item in replies. 2023-01-30 12:03:10 +05:30
Isira Seneviratne
96c41927fd Use Handler.postDelayed() extension to put the lambdas outside parentheses. 2023-01-30 08:36:44 +05:30
Isira Seneviratne
f522f1e1de Use Handler.postDelayed() extension with tokens. 2023-01-30 08:19:26 +05:30
Praveen Rajput
9eafffe712 Closes comments on auto play video change. Fixes #2898 2023-01-29 21:52:37 +05:30
Bnyro
c5e21b5f18
Merge pull request #2899 from Bnyro/master
Fix watching unprocessed livestreams
2023-01-29 14:56:06 +01:00
Bnyro
aee24d11d5 Fix watching unprocessed livestreams 2023-01-29 14:55:17 +01:00
Bnyro
30d6920fd1
Merge pull request #2886 from praveenrajput/master
Keep screen on only while video is playing #2877
2023-01-29 08:30:46 +01:00
Bnyro
d8cd1d46b8
Merge pull request #2896 from Isira-Seneviratne/ActivityCompat_recreate
Use ActivityCompat.recreate().
2023-01-29 08:30:08 +01:00
Bnyro
1efc73950d
Merge pull request #2893 from Isira-Seneviratne/Backup_timestamp
Use DateTimeFormatter to create backup file timestamp.
2023-01-29 08:29:02 +01:00
Praveen Rajput
275f304472
Merge branch 'libre-tube:master' into master 2023-01-29 11:11:12 +05:30
Praveen Rajput
2fcaea9ad6 Refactors keepScreenOn method 2023-01-29 11:08:51 +05:30
Isira Seneviratne
8c067dd32e Use ActivityCompat.recreate(). 2023-01-29 10:58:55 +05:30
Isira Seneviratne
fd319a0d49 Use HttpUrl in TextUtils. 2023-01-29 10:20:50 +05:30
Isira Seneviratne
71976f45c1 Use DateTimeFormatter to create backup file timestamp. 2023-01-29 05:58:17 +05:30
faisalcodes
c2da09ab77 Run ktlint 2023-01-28 23:44:35 +05:30
faisalcodes
4b395e0372 Fixes #2878 : Using multi-level comments display. 2023-01-28 23:42:51 +05:30
Bnyro
1eb50adf5e Fix cloning playlists in the create playlist dialog 2023-01-28 18:02:13 +01:00
Praveen Rajput
6795026a94 Keep screen on only while video is playing #2877
- Fixes Screen stays on when video is paused (no timeout)
2023-01-28 05:13:47 +05:30
Bnyro
326df3970a
Merge pull request #2880 from Bnyro/master
Don't kill the app when closing through PiP
2023-01-27 16:33:10 +01:00
Bnyro
34c0d8d72e Fix unresponsive screen when closing through PiP 2023-01-27 16:32:45 +01:00
Bnyro
a3e0c40a0f Don't kill the app when closing through PiP 2023-01-27 16:29:59 +01:00
Bnyro
378dc1326b
Merge pull request #2875 from Bnyro/master
Better download file naming scheme
2023-01-26 19:25:52 +01:00
Bnyro
9ec166dcef Better download file naming scheme 2023-01-26 19:25:23 +01:00
Bnyro
bf7f855c7a
Merge pull request #2873 from Isira-Seneviratne/updateLayoutParams
Use View.updateLayoutParams() extensions.
2023-01-26 13:44:06 +01:00
Isira Seneviratne
738f943a13 Use View.updateLayoutParams() extensions. 2023-01-26 08:58:12 +05:30
Isira Seneviratne
b9c1b00ae5 Use parseAsHtml() extension. 2023-01-26 07:20:16 +05:30
Isira Seneviratne
0d5a56da1c Check if the connected network is metered in NetworkHelper. 2023-01-25 20:31:32 +05:30
Bnyro
1972c0a45d Show whole title when description visible 2023-01-24 20:05:25 +01:00
Bnyro
68f87c56aa
Merge pull request #2842 from Isira-Seneviratne/LocalSubscriptionDao_suspend
Use suspend functions in LocalSubscriptionDao.
2023-01-24 19:53:48 +01:00
Bnyro
0c296ddf60 Fix crash in watch history when deleting video 2023-01-24 19:52:12 +01:00
Bnyro
20584f33b2
Fix the chapter title in the player
closes #2850
2023-01-24 10:05:12 +01:00
Isira Seneviratne
e238154217 Merge branch 'master' into LocalSubscriptionDao_suspend
# Conflicts:
#	app/src/main/java/com/github/libretube/util/BackupHelper.kt
2023-01-24 04:40:59 +05:30
Bnyro
7b16580cb1 Always use the chapters dialog as on title click action 2023-01-23 18:40:04 +01:00
Bnyro
93b073a357 Simplify the PlayerFragment 2023-01-23 18:38:03 +01:00
Bnyro
4815cc2b3e Fix ktlint 2023-01-23 18:29:27 +01:00
Bnyro
f27360d02c Reduce the player top bar margin 2023-01-23 18:29:05 +01:00
Bnyro
be514f1a45 Don't load the whole watch history at once 2023-01-23 18:21:51 +01:00
Bnyro
f6a42cc8a0 Simplify scroll listeners 2023-01-23 18:02:10 +01:00
Bnyro
22dce72e95 Limit the watch history size to 100 by default 2023-01-23 17:55:48 +01:00
Bnyro
93b235abea Fix backup backwards compatibility 2023-01-23 15:15:03 +01:00
Isira Seneviratne
cf9c6ffb99 Convert LocalSubscriptionDao methods to suspend functions, remove unused methods. 2023-01-23 19:14:49 +05:30
Bnyro
cbbfa64f76 [Audio mode] Show video options when clicking thumbnail 2023-01-22 19:50:50 +01:00
Bnyro
a04fb31947 Use Duration#parse for parsing timestamps 2023-01-22 19:45:25 +01:00
Bnyro
054846eb22 Fix clicking description links 2023-01-22 19:39:39 +01:00
Bnyro
4beb77fb11 Cleanup with some when expressions 2023-01-22 19:35:36 +01:00
Bnyro
ff6a0f1138 Keep the screen on while playing in the offline player 2023-01-22 19:27:08 +01:00
Bnyro
f119e39a1e
Merge pull request #2814 from Isira-Seneviratne/addCallback
Use OnBackPressedDispatcher.addCallback() extension.
2023-01-22 15:48:06 +01:00
Isira Seneviratne
5d3e54852d Add default values for the channel fields without existing defaults. 2023-01-22 17:05:37 +05:30
Isira Seneviratne
e96f36f277 Allow null bannerUrl values. 2023-01-22 16:27:14 +05:30
Isira Seneviratne
16922455d0 Use OnBackPressedDispatcher.addCallback() extension. 2023-01-22 06:06:29 +05:30
Isira Seneviratne
b2e32105d3 Use bundleOf(). 2023-01-22 05:14:25 +05:30
Bnyro
dd1821ada3
Merge pull request #2755 from Isira-Seneviratne/KotlinX_Serialization
Switch to Kotlinx Serialization.
2023-01-21 18:59:56 +01:00
Bnyro
a5304e3135
Merge pull request #2802 from Bnyro/master
[Audio Player] Auto scroll the title and uploader
2023-01-21 18:45:04 +01:00
Bnyro
c3b08ef5f6 Improve behavior when seeking to next video 2023-01-21 18:44:45 +01:00
Bnyro
f2fce67454 [Audio Player] Auto scroll the title and uploader 2023-01-21 18:31:50 +01:00
Bnyro
2adc8380fd
Merge pull request #2799 from Bnyro/master
[Audio player] Indefinite progress while loading thumbnails
2023-01-21 18:21:29 +01:00
Bnyro
00cf7d89d5 [Audio player] Indefinite progress while loading thumbnails 2023-01-21 18:20:45 +01:00
Bnyro
6b9bd70dba
Merge pull request #2796 from Bnyro/master
Remember position when switching from audio to video mode
2023-01-21 18:01:42 +01:00
Bnyro
9650f32f67 Remember position when switching from audio to video mode 2023-01-21 18:01:08 +01:00
Isira Seneviratne
56763ec1a9 Merge branch 'master' into KotlinX_Serialization
# Conflicts:
#	app/src/main/java/com/github/libretube/ui/adapters/SearchAdapter.kt
2023-01-21 17:24:37 +05:30
Bnyro
7a65a477d9
Merge pull request #2790 from Bnyro/master
Apply the remembered playback params for all players
2023-01-21 12:07:56 +01:00
Bnyro
79fab618df Apply playback params for all players 2023-01-21 12:07:28 +01:00
Bnyro
b03d080316 Use the same playback speed for background and video mode 2023-01-21 11:59:44 +01:00
Bnyro
ecabc7348c Fix crash when removing callbacks 2023-01-21 11:57:43 +01:00
Bnyro
33d09eb251
Merge pull request #2789 from Bnyro/master
[Audio Mode] Share, playback, queue and open video controls
2023-01-21 11:54:28 +01:00
Bnyro
ee0607fb07 Add control to open the video from the audio player 2023-01-21 11:53:52 +01:00
Bnyro
7ffe3a6ed9 [Audio Mode] Share, playback and queue controls 2023-01-21 11:46:56 +01:00
Bnyro
497bc9c2dd
Merge pull request #2788 from Bnyro/master
Fix the notification thumbnail vanishing
2023-01-21 11:24:48 +01:00
Bnyro
a5c3132916 Fix the notification thumbnail vanishing 2023-01-21 11:24:25 +01:00
Bnyro
2acd53515c
Merge pull request #2787 from Bnyro/master
Fix queue starts wrong video after reordering
2023-01-21 11:20:04 +01:00
Bnyro
c2f0d68ddf Fix queue starts wrong video after reordering 2023-01-21 11:19:47 +01:00
Bnyro
1d7f9b2f60
Merge pull request #2786 from Bnyro/master
Don't hide player controls when touching 'em
2023-01-21 11:14:26 +01:00
Bnyro
00c607db49 Don't hide player controls when touching 'em 2023-01-21 11:13:58 +01:00
Bnyro
e3ad011de6
Merge pull request #2785 from Bnyro/master
Fix the different colors of navigation and bottom bar
2023-01-21 11:08:39 +01:00
Bnyro
87519742da Use the same elevation for nav and bottom bar 2023-01-21 11:08:32 +01:00
Bnyro
c01cee3f83 Use a lower elevation for the navigation bar 2023-01-21 11:06:16 +01:00
Bnyro
ebfb5c70fc
Merge pull request #2784 from Bnyro/master
Fix that live videos are tagged as shorts
2023-01-21 11:03:58 +01:00
Bnyro
cf5ef1292f Use isShort to display the shorts label 2023-01-21 11:03:24 +01:00
Bnyro
4c60035c0f
Merge pull request #2783 from Bnyro/master
Apply top bar for vertical fullscreen too
2023-01-21 10:58:21 +01:00
Bnyro
089e72b0c7 Apply top bar for vertical fullscreen too 2023-01-21 10:57:43 +01:00
Isira Seneviratne
e00b0c8263 Use Kotlinx Serialization with the subscription import/export functionality. 2023-01-21 10:32:08 +05:30
Isira Seneviratne
554fe0c3bf Use ViewCompat.getRootWindowInsets(). 2023-01-21 07:01:28 +05:30
Isira Seneviratne
187c7ac0e9 Merge branch 'master' into KotlinX_Serialization
# Conflicts:
#	gradle/libs.versions.toml
2023-01-21 04:50:23 +05:30
Bnyro
e4cbb2b90c Fix the extra padding for the vertical plaeyr 2023-01-20 19:39:51 +01:00
Bnyro
3cef897e89 Hide system bars on shorts 2023-01-20 19:31:18 +01:00
Bnyro
c1c0e5f6f1 Only show extra padding when there's a notch 2023-01-20 19:00:49 +01:00
Bnyro
fbf9c30e9a Hide the status bar when hiding the controllers 2023-01-20 18:49:53 +01:00
Bnyro
3da6b0678a Keep space for the status bar in player 2023-01-20 18:48:29 +01:00
Bnyro
8431716a14 Use custom animation handlers for player controls 2023-01-20 18:34:11 +01:00
Bnyro
6599635756 Only auto enter PiP when enabled 2023-01-20 17:56:49 +01:00
Isira Seneviratne
61fba85afd Merge branch 'master' into KotlinX_Serialization 2023-01-20 08:50:06 +05:30
Isira Seneviratne
07b59e1de0 Avoid type issues when restoring a backup. 2023-01-20 04:45:55 +05:30
Isira Seneviratne
e0702c027d Make some properties read-only. 2023-01-19 22:20:21 +05:30
Bnyro
e1e4b2a2c9 Run `ktlint --android -F 2023-01-19 17:49:04 +01:00
Bnyro
074ab20202 Use the same audio attributes and load control for all players 2023-01-19 17:48:35 +01:00
Bnyro
fe9bb97c96
Merge pull request #2717 from faisalcodes/master
Fixed #2670 : Timestamp click behaviour in the description.
2023-01-19 17:21:54 +01:00
Bnyro
4ba274b612 Run ktlint --android -F 2023-01-19 17:21:40 +01:00
Bnyro
8ba2824750 Simplify LinkHandler and HTMLParser 2023-01-19 17:21:06 +01:00
Bnyro
a5a38a3f66 Cleanup the logic of handling description links 2023-01-19 17:08:57 +01:00
faisalcodes
015b414596 Fixed #2723 : Activity is recreated when entered from media notification. 2023-01-19 20:57:16 +05:30
Isira Seneviratne
60706c2d87 Remove remaining Jackson code. 2023-01-19 18:14:37 +05:30
Isira Seneviratne
e047d5babd Use Kotlinx Serialization with subscription. 2023-01-19 13:20:26 +05:30
Isira Seneviratne
ae8f88f4b8 Use Kotlinx Serialization with segments. 2023-01-19 13:03:42 +05:30
Isira Seneviratne
9485ceb5ec Use Kotlinx Serialization with the Piped config. 2023-01-19 09:21:06 +05:30
Isira Seneviratne
1eeeed4292 Use Kotlinx Serialization with playlists. 2023-01-19 09:17:45 +05:30
Isira Seneviratne
4876068c54 Use Kotlinx Serialization with instances. 2023-01-19 08:57:22 +05:30
Isira Seneviratne
f98123270e Use Kotlinx Serialization with login. 2023-01-19 08:57:10 +05:30
Isira Seneviratne
0cf5853a3a Use Kotlinx Serialization with the update check API.
Also replace Author and Uploader data classes with a single User class.
2023-01-19 06:26:13 +05:30
Isira Seneviratne
fccb198f04 Use Kotlinx Serialization with user deletion. 2023-01-19 05:41:30 +05:30
Isira Seneviratne
371fbcd643 Use Kotlinx Serialization with channel information. 2023-01-19 05:37:27 +05:30
Isira Seneviratne
ef103284af Use Kotlinx Serialization with comments. 2023-01-19 04:47:49 +05:30
Isira Seneviratne
165e0677d4 Use Kotlinx Serialization with search results. 2023-01-19 04:47:49 +05:30
Isira Seneviratne
219a7d7cfe Use Kotlinx Serialization with stream data. 2023-01-19 04:47:49 +05:30
faisalcodes
9a926238c7 Fixed #2670 : Timestamp click behaviour in the description. 2023-01-18 22:26:34 +05:30
faisalcodes
c98217f963 Fixed #2670 : Timestamp click behaviour in the description. 2023-01-18 22:02:08 +05:30
faisalcodes
7006693485 Fixed #2670 : Timestamp click behaviour in the description. 2023-01-18 21:43:22 +05:30
Bnyro
d5d36101c7
Merge pull request #2753 from Bnyro/master
Fix that skip silence is enabled by default
2023-01-18 09:48:14 +01:00
Bnyro
0029343382 Apply the caption style in the CustomExoPlayerView 2023-01-18 09:47:47 +01:00
Bnyro
0f34f4e696 Fix that skip silence is enabled by default 2023-01-18 09:44:37 +01:00
Bnyro
7151361fdb
Merge pull request #2749 from Isira-Seneviratne/PendingIntentCompat_helpers
Add PendingIntentCompat helper methods.
2023-01-18 09:42:24 +01:00
Isira Seneviratne
e306ba8a7f Add PendingIntentCompat helper methods. 2023-01-18 09:43:01 +05:30
Isira Seneviratne
9d942f567f Use ContextCompat.startForegroundService(). 2023-01-18 09:36:50 +05:30
Bnyro
c107bb1109 Remove some unused constants 2023-01-17 19:33:27 +01:00
Bnyro
187086d2d8 Rename the Community section to Help and add a FAQ 2023-01-17 19:32:19 +01:00
Faisal Khan
b805e0e375
Merge branch 'libre-tube:master' into master 2023-01-17 23:50:33 +05:30
Bnyro
26e2c38f60 Create shortcuts dynamically 2023-01-17 19:05:22 +01:00
Bnyro
fe6506179c Ability to skip silence when playing videos 2023-01-17 18:38:39 +01:00
Bnyro
2bf5b6e6f7 Replace the break reminder with a sleep timer 2023-01-17 18:21:59 +01:00
Isira Seneviratne
345f34f676 Simplify TimePickerPreference implementation. 2023-01-17 06:49:24 +05:30
Bnyro
f6473cfa96 Use compats for setting fullscreen 2023-01-16 22:08:08 +01:00
Bnyro
bda610d99c Fix duplicated videos in the playing queue 2023-01-16 20:02:07 +01:00
faisalcodes
6d322bf9f7 Fixed #2670 : Timestamp click behaviour in the description. 2023-01-17 00:20:33 +05:30
Bnyro
aa3aee0b27 Fix the color of notification badges 2023-01-16 18:36:30 +01:00
Bnyro
4e978faea3 Fix unexpected audio queue behavior 2023-01-16 18:33:11 +01:00
Bnyro
2f10b7ba23 Option to add newly opened links to queue 2023-01-16 18:25:12 +01:00
faisalcodes
0ee5753e91 Fixed #2670 2023-01-16 21:36:23 +05:30
Bnyro
88ecef18dd Minor cleanup to the PlayerFragment 2023-01-16 15:18:32 +01:00
Bnyro
7af4f20e53 Fix the visibility of the 'add to queue' btn 2023-01-16 15:14:22 +01:00
Bnyro
2ce5c79728 Fix that queue doesn't regenerate 2023-01-16 15:09:35 +01:00
Bnyro
b925c58119
Merge pull request #2711 from Isira-Seneviratne/ConfigurationCompat
Use ConfigurationCompat.getLocales().
2023-01-16 15:02:00 +01:00
Bnyro
6703a866c8
Merge pull request #2713 from Bnyro/master
Improved player notification
2023-01-16 15:01:33 +01:00
Bnyro
ec49d3e61e fix ktlint 2023-01-16 14:58:53 +01:00
Bnyro
1641c75146 Fix that the notification thumbnail doesn't load sometimes 2023-01-16 14:44:37 +01:00
Bnyro
930df73efa Display the uploader in the notification 2023-01-16 14:33:38 +01:00
Bnyro
cf17c0dfee Use MD icons for the notification seek controls 2023-01-16 14:30:48 +01:00
Bnyro
6c750b51fa Better icons in the now playing notification 2023-01-16 14:23:36 +01:00
Isira Seneviratne
8122788349 Use ConfigurationCompat.getLocales(). 2023-01-16 17:09:16 +05:30
Bnyro
b4b5c1a65d
Merge pull request #2703 from Isira-Seneviratne/Simplify_LocaleHelper
Simplify LocaleHelper methods.
2023-01-16 11:34:28 +01:00
Isira Seneviratne
8ccc91024e Simplify country detection further. 2023-01-16 12:20:47 +05:30