Commit Graph

2682 Commits

Author SHA1 Message Date
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
Bnyro
90e87c596e Add custom notification actions 2023-01-15 14:26:55 +01:00
Bnyro
12d4ee9e8e Cleanup the PiP window controls 2023-01-15 13:26:16 +01:00
Bnyro
a52bd6247c Move the bitmap scaling logic to the ImageHelper 2023-01-15 13:20:33 +01:00
Bnyro
fe42714c52 Convert queued videos in a playlist 2023-01-15 13:17:02 +01:00
Isira Seneviratne
e68677ab6d Use array extensions. 2023-01-15 09:05:45 +05:30
Bnyro
dad4ecd27e Theoritical support for playing downloaded subtitles 2023-01-14 20:02:01 +01:00
Bnyro
7ca39daedc Remove unused radio buttons from download dialog 2023-01-14 18:28:15 +01:00
Bnyro
1ce7d6761f Apply review from #2469 2023-01-14 18:17:34 +01:00
Bnyro
7a90acd824
Merge branch 'master' into feat/new-downloader 2023-01-14 17:54:02 +01:00
Bnyro
26f05d561a Merge master 2023-01-14 17:01:44 +01:00
Bnyro
f588073607 Add audio only mode 2023-01-14 16:59:21 +01:00
Bnyro
a21b8715b3 Fix the queue order in the background player mode 2023-01-14 15:44:31 +01:00
Bnyro
1140c34d4d Fix visiblity of skip and prev btns when player locked 2023-01-14 12:08:06 +01:00
Bnyro
773a41d830 Keep the queue when entering the audio only mode 2023-01-14 12:01:14 +01:00
Bnyro
552131bd2c Don't clear queue when entering audio mode 2023-01-14 11:54:19 +01:00
Isira Seneviratne
030cc80c71 Simplify some expressions. 2023-01-14 15:26:38 +05:30
Isira Seneviratne
ad7b8bd866 Simplify country detection methods. 2023-01-14 15:18:27 +05:30
Bnyro
e01a3d8465
Fix the list of available resolutions 2023-01-14 08:38:00 +01:00
Bnyro
eb0dc21b6b Fix crash while player is still buffering 2023-01-13 19:45:24 +01:00
Bnyro
e1667ab24f Fix issues with the audio player seekbar and add docs 2023-01-13 19:41:08 +01:00
Bnyro
3890bc3bcc Add indicators for current position and duration 2023-01-13 19:35:32 +01:00
Bnyro
2224ffc44a Show the queue when pressing the thumbnail 2023-01-13 19:20:25 +01:00
Bnyro
8d293a7ff9 Remove the queue option in the three dots menu 2023-01-13 19:16:44 +01:00
Bnyro
0e2400d782 Open audio player in PlayerFragment when starting audio mode 2023-01-13 19:13:28 +01:00
Bnyro
bc54390f31 Fix issues with the seekbar 2023-01-13 19:02:13 +01:00
Bnyro
4a5bed6f99 Make the seekbar functional 2023-01-13 18:53:57 +01:00
Bnyro
b09b9ad3bf React to changes in the player notification 2023-01-13 18:44:41 +01:00
Bnyro
186925dfa1 Add play and pause functionality 2023-01-13 18:35:38 +01:00
Bnyro
59697caebf Layout and skip+prev functionality 2023-01-13 18:20:00 +01:00
Bnyro
de02f75116 Add Netflix-like seek animation 2023-01-12 18:59:28 +01:00
Bnyro
48776977ea Cleanup the rewind and forward animation 2023-01-12 18:42:51 +01:00
Bnyro
84abad5655 Make ktlint happy 2023-01-11 19:49:12 +01:00
Bnyro
38298d9e43 Open video when clicking feed notification 2023-01-11 19:48:43 +01:00
Bnyro
5f8e0e70d7
Merge pull request #2660 from Isira-Seneviratne/ServiceCompat
Use ServiceCompat.
2023-01-11 09:41:11 +01:00
Isira Seneviratne
56c76249eb Use ServiceCompat. 2023-01-11 07:37:13 +05:30
Bnyro
c1225438a9 Use until instead of .. 2023-01-10 20:20:46 +01:00
Bnyro
e2d7e4a435 Get available resolutions dynamically from player 2023-01-10 20:14:14 +01:00
Bnyro
3dd58d47fa Option for background and skip controls in PiP 2023-01-09 17:38:17 +01:00
Bnyro
07dc1a80b8 PiP: Forward and Rewind actions 2023-01-09 17:08:05 +01:00
Bnyro
99182b34af Localize the date in the PlayerFragment 2023-01-09 16:21:14 +01:00
Bnyro
98a1c07d02 Use the cache for saving temp images 2023-01-09 15:49:09 +01:00
Bnyro
8cbb189bcf Fix that background mode doesn't start from beginning 2023-01-08 17:51:31 +01:00
Bnyro
c4a2d91fd4 Improve the responsiveness of the timebar preview 2023-01-08 17:39:38 +01:00
Bnyro
b92bfa87ed Fix doubled videos in playlists on reload 2023-01-08 17:23:27 +01:00
Bnyro
1a9a12a1ae Fix notifications when not logged in with account 2023-01-08 17:05:18 +01:00
Bnyro
36db1d49e0 Cleanup the notification worker 2023-01-08 16:39:22 +01:00
Bnyro
fd4cd9fa26 Support Open as default for all public Piped instances 2023-01-08 16:19:44 +01:00
Bnyro
1da89eed43 Cleanup the PlayerHelper 2023-01-08 16:06:29 +01:00
Bnyro
e021a52dbc Reduce the amount of used data in background mode 2023-01-08 15:54:48 +01:00
Bnyro
1e261420d7 Allow modifying the queue without restrictions 2023-01-07 19:15:31 +01:00
Bnyro
7318f7863d Fix crash when removing video from playlist 2023-01-06 21:39:34 +01:00
Bnyro
f084b1ec06 Fix clicking on private playlists 2023-01-06 21:35:37 +01:00
Bnyro
581bf1d430 Don't dim player background when locked 2023-01-06 21:27:31 +01:00
Bnyro
43e0aa0920 Fix crash when restoring local playlists 2023-01-05 20:34:02 +01:00
Bnyro
9d7a12a74f update the key for the data saver mode pref 2023-01-05 18:24:59 +01:00
Bnyro
61876f75d9 Only load 10 videos at once in private playlists 2023-01-05 18:03:32 +01:00
Bnyro
3855f1fbdf Format the changes by the previous commit 2023-01-05 17:12:15 +01:00
Bnyro
6b46db0e96 Scroll to top on reselecting navigation bar items 2023-01-05 17:11:24 +01:00
Bnyro
c04dc67140 Set notification badge color to colorPrimary 2023-01-04 19:35:37 +01:00
Bnyro
2db5852459 Add bookmark option to playlist options bottom sheet 2023-01-04 19:27:36 +01:00
Bnyro
446f641b99 Unify similar layouts for watch history, playlists and videos 2023-01-04 19:05:59 +01:00
Bnyro
acd925c733 Fix that double tap to seek is shown as false by default 2023-01-04 18:54:34 +01:00
Bnyro
c5a543bdf0 Improve the queue shuffle behavior 2023-01-04 18:49:06 +01:00
Bnyro
c3182edc73 Fix the layout of boomarked playlists in the library 2023-01-04 18:21:07 +01:00
Bnyro
56f8fdf84f Add a horizontal margin to the player controls at landscape 2023-01-03 18:44:04 +01:00
Bnyro
444bdd8583 Add bookmarks to the library fragment 2023-01-03 18:31:16 +01:00
Bnyro
55aa62da84 Fix that the last few comments can't be seen 2023-01-01 18:17:58 +01:00
Bnyro
15afbc2a82 Replace the autoplay option with a switch 2023-01-01 15:41:48 +01:00
Bnyro
3898f5e9a1 Remember sort order and filter in feed 2023-01-01 14:04:17 +01:00
Bnyro
09d3e496a3
Merge branch 'master' into feat/new-downloader 2022-12-28 17:48:30 +01:00
Bnyro
7adb510371 remove unused logging 2022-12-28 17:46:01 +01:00
Bnyro
b6056b8610 Add shuffle button to owned playlists 2022-12-28 17:43:27 +01:00
Bnyro
1e7b38e209 Add play all from watch history button 2022-12-28 17:16:00 +01:00
Bnyro
2945f3c27a Add a clear button to the watch history 2022-12-28 17:07:35 +01:00
Bnyro
f3eab0484b Add shorts filter to the feed 2022-12-28 16:46:57 +01:00
Bnyro
38b8fa8952 Fix that watch positions don't work for the queue 2022-12-27 19:32:08 +01:00
Bnyro
f1afd1d13a Fix issues with the video duration using SponsorBlock 2022-12-27 19:14:25 +01:00
Bnyro
0f72df6e70 Turn #1560 into an option 2022-12-27 18:48:09 +01:00
Bnyro
0dfb47143b Create a AppNameTextView component to clean up dialogs 2022-12-26 17:17:36 +01:00
Bnyro
5cdf670b15 Add a Clone Playlist action to the create playlist dialog 2022-12-26 16:42:47 +01:00
Bnyro
3434974efc Use playlists layout for bookmarks 2022-12-26 16:18:09 +01:00
Bnyro
0045e41902 Use a ViewModel for the CommentsSheet 2022-12-26 15:55:14 +01:00
Bnyro
d339e044c8 Cleanup #2504 2022-12-25 17:17:36 +01:00
Bnyro
2180f503fe Enable the SponsorBlock marker option by default 2022-12-25 17:00:50 +01:00
Bnyro
1109a93d23 Fix the SponsorBlock marker size 2022-12-25 16:59:55 +01:00
Bnyro
04d8d64d9b Add an option to allow data saver on metered networks 2022-12-25 16:08:52 +01:00
Bnyro
9a8e6ce565 Show the video duration when SponsorBlock segments get skipped 2022-12-25 15:50:48 +01:00
Krunal Patel
fa924fe84f Fix ktlint format 2022-12-25 18:36:23 +05:30
Krunal Patel
6c427d3d76 Add concurrent downloads limit with preference setting 2022-12-25 15:33:28 +05:30
Krunal Patel
4ea77859bc Add subtitle download spinner 2022-12-25 14:37:01 +05:30
Krunal Patel
e0c6401963 Use title as download filename and filter reserved unix characters 2022-12-25 13:17:17 +05:30
Krunal Patel
f5d17ba5bf Retry connection for DEFAULT_RETRY times on SocketTimeoutException 2022-12-25 13:14:32 +05:30
Krunal Patel
d4c6d7aacd Regenerate expired links using available stream info 2022-12-25 10:16:53 +05:30
Krunal Patel
295af6c6c6 Use cronet for download service connections 2022-12-24 23:39:56 +05:30
Bnyro
ce9ef0693f Reformat the whole project 2022-12-23 14:57:10 +01:00
Bnyro
f067987992 Fix crash when toggling the video description 2022-12-23 14:38:22 +01:00
Bnyro
295caa3093 Remove playlists at library on deletion 2022-12-22 11:55:51 +01:00
Bnyro
73a7e62e57 Improve track selector parameters logic 2022-12-22 11:24:50 +01:00
Bnyro
a2296802f0 Hide captions in PiP and mini-player 2022-12-22 11:17:34 +01:00
Bnyro
d81bbf1094 use the proper exoplayer api for setting the notification icon 2022-12-22 10:48:46 +01:00
Bnyro
6bd64dde38 only ignore touches at top of player when in landscape 2022-12-22 10:44:58 +01:00
Bnyro
6b68fa71f6 Ignore touches to the top of the player 2022-12-22 10:40:46 +01:00
Krunal Patel
a38ef176ab Fix notification content action to open download fragment 2022-12-21 22:19:29 +05:30
Krunal Patel
d62c50c2c6 Fix download fragment layout and add uploader 2022-12-21 21:41:48 +05:30
Krunal Patel
b2fa951c09 Use Int.MAX - DownloadItem.id for notifications
Unique notification ids are required which do not conflict with other notifications. So, use ids from max value of Int.
2022-12-21 21:41:47 +05:30
Krunal Patel
4f0f9b7560 Fix notification action, download fragment and resource leak
- Bind service when service started using notification resume action.

- Use `HttpURLConnection` to download file.

- Use progress bar to determine overall progress.
2022-12-21 21:41:37 +05:30
Krunal Patel
8af9e20748 Fix|Change notification actions and appearance 2022-12-21 21:39:31 +05:30
Krunal Patel
887f658af3 Implement new download service with OkHttp
Use custom downloader and remove DownloadManager
2022-12-21 21:39:30 +05:30
Krunal Patel
03a0f9e1fc Add service start method to DownloadHelper
Move download service method to Download helper and start as foreground.
2022-12-21 21:39:29 +05:30
Krunal Patel
0ba1696448 Use download database for downloads and playback
Use `Download` and `DownloadItem` database for download and offline playback.
2022-12-21 21:39:28 +05:30
Krunal Patel
859da3d195 Add database for downloads
Database keep trac of downloaded item `Audio`, `Video` and `Subtitle`.
2022-12-21 21:39:27 +05:30
Bnyro
0ecd9fbf28 Add option to hide watched videos from the feed 2022-12-21 12:00:58 +01:00
Bnyro
947077acdc Increase size of alternative related videos 2022-12-21 11:30:53 +01:00
Bnyro
71eb197689 Fix the sorting of playlists in the library 2022-12-21 11:25:38 +01:00
Bnyro
7f2f012a1c fetch available instance from tokhmi as fallback, otherwise use the hardcoded instances 2022-12-20 17:24:53 +01:00
Bnyro
b799bbefd1 improve the player action buttons 2022-12-20 17:05:37 +01:00
Bnyro
d1eb279563 Hide the comments bottom sheet when entering PiP 2022-12-20 16:45:29 +01:00
Bnyro
b607ea945b Theme the pull refresh progress 2022-12-20 16:37:37 +01:00
Bnyro
96fcb851a3 fix crash when restoring a backup with playlists 2022-12-20 15:50:04 +01:00
Bnyro
785180c64f fix the search when no results were found 2022-12-19 17:13:50 +01:00
Bnyro
8345269179 Improve the playlist cloning algorithm 2022-12-19 16:58:34 +01:00
Bnyro
2cb5ee51f5 Add documentation to the seekbar preview 2022-12-17 11:40:30 +01:00
Bnyro
68eff4fd3e Add a seekbar preview on scrubbing 2022-12-17 11:22:46 +01:00
Bnyro
a334c7aba2 Make YT playlist import language independent 2022-12-16 16:28:39 +01:00
Bnyro
4d601f98d4 place the chapter time stamps in front of the chapter name 2022-12-16 15:24:43 +01:00
Bnyro
9dddf7851d Fix issues with notification groups being empty 2022-12-16 15:19:38 +01:00
Bnyro
ea72e777c1 limit the max height of the comments sheet 2022-12-16 15:01:06 +01:00
Bnyro
03973bcc14 Open with button behavior on long pressing Share 2022-12-16 14:55:08 +01:00
Bnyro
d2cbe12723 Check all backup options by default 2022-12-15 19:50:42 +01:00
Bnyro
1a4b3e5a1c run ktlint 2022-12-15 19:48:24 +01:00
Bnyro
8a8ece49da Don't start PiP when the video is paused 2022-12-15 19:40:32 +01:00
Bnyro
6fccb2ad16 Parse the preview images from the streams response 2022-12-15 19:24:26 +01:00
Bnyro
4c0e64d25a fix crash when restoring the preferences backup 2022-12-15 19:16:12 +01:00
Bnyro
5cf055f41b Playlists import from YouTube 2022-12-15 19:10:33 +01:00
Bnyro
197228f6d5 Hightlight the current resolution in the quality selection 2022-12-12 19:17:54 +01:00
Bnyro
59e2358cc5 improve OSD visibility delay when double tap to seek off 2022-12-12 19:06:43 +01:00
Bnyro
d053a2d218 prioritorize long over int on restoring settings backup 2022-12-12 18:58:50 +01:00
Bnyro
a8bfa8fc56 don't load thumbnail into notification in data saver mode 2022-12-12 18:55:54 +01:00
Bnyro
3b79c39a91 parse comments text as HTML 2022-12-12 18:52:16 +01:00
Bnyro
2a24712a9a
Merge pull request #2347 from Bnyro/master
fix crash at playlist page
2022-12-11 11:55:41 +01:00
Bnyro
8850ce1366 fix crash at playlist page 2022-12-11 11:54:58 +01:00
Krunal Patel
ab3ec4d5e2 Fix sync of volume progress changed by other mediums 2022-12-10 23:17:11 +05:30
Bnyro
096a9dffad
Merge pull request #2338 from Bnyro/master
fix crash at playlist page
2022-12-10 16:48:55 +01:00
Bnyro
654ec96a5e fix crash at playlist page 2022-12-10 16:48:31 +01:00
Bnyro
22ca01956f
Merge pull request #2335 from Bnyro/master
Fix not-updating skip/prev buttons
2022-12-10 13:11:58 +01:00
Bnyro
8db59399b9 Fix not-updating skip/prev buttons 2022-12-10 13:11:38 +01:00
Bnyro
0b34547365
Merge pull request #2334 from Bnyro/master
fix download notifications
2022-12-10 13:04:01 +01:00
Bnyro
a629b066f4 fix download notifications 2022-12-10 13:03:47 +01:00
Bnyro
0a8a7afeff
Merge pull request #2333 from Bnyro/master
don't start videos automatically when the data saver mode is enabled
2022-12-10 12:59:01 +01:00
Bnyro
d1df440fa4 don't start videos automatically when the data saver mode is enabled 2022-12-10 12:58:00 +01:00
Bnyro
6de466d175
Merge pull request #2332 from Bnyro/master
update bookmarked playlist thumbnails when changed
2022-12-10 12:56:22 +01:00
Bnyro
c470339ee9 update bookmarked playlist thumbnails when changed 2022-12-10 12:55:45 +01:00
Bnyro
724d75538e
Merge pull request #2331 from Bnyro/master
fix reversed search suggestions
2022-12-10 12:50:09 +01:00
Bnyro
7f76799380 fix reversed search suggestions 2022-12-10 12:49:22 +01:00
Krunal Patel
5a2c38e524
Merge pull request #2320 from Kruna1Pate1/fix/playlist-thumbnail
Fix playlist thumbnail change when remove first video
2022-12-09 22:28:13 +05:30
Krunal Patel
44cc6d42b2 Use await query for db update 2022-12-09 21:56:42 +05:30
Bnyro
f66e30cd70
Merge pull request #2324 from libre-tube/dracula
Dracula/Versatile Violet theme
2022-12-09 17:08:49 +01:00
Bnyro
04db8e56da Rename Dracula to Versatile Violet 2022-12-09 17:07:30 +01:00
Krunal Patel
85400101e2 Fix playlist thumbnail change when remove first video 2022-12-09 13:48:29 +05:30
Bnyro
55417a76b2 pause the player when PiP is disabled 2022-12-08 18:27:41 +01:00
Bnyro
92c60302e8 remember the playback speed per session 2022-12-08 18:21:56 +01:00
Bnyro
834d0823f1 clone playlists without account 2022-12-08 18:15:39 +01:00
Bnyro
81b14cfcd2 Hide the nav bar when zero items selected 2022-12-08 18:00:00 +01:00
Bnyro
f7e9df69ba fix crash when importing playlists of wrong format 2022-12-08 17:51:22 +01:00
Bnyro
9a79121a9b allow application/* as import file type 2022-12-08 17:42:20 +01:00
Bnyro
bd8dfa5b92 add empty dracula theme 2022-12-07 19:47:56 +01:00
Krunal Patel
d534389c82 Fix crash on opening deleted local playlist
Upadte playlist view on content change.
2022-12-07 15:53:04 +05:30
Bnyro
b1a407b72e Fix that the SponsorBlock toggle shows when no segments are available 2022-12-06 17:25:17 +01:00
Bnyro
45721497d5 Improve the behavior for expanding the mini player 2022-12-06 12:27:10 +01:00
Bnyro
1700bbfe0d Toast when no download source selected 2022-12-06 12:08:12 +01:00
Bnyro
3c3d313bec fix the parsing of the videoID when importing playlists in some cases 2022-12-06 11:39:33 +01:00
Bnyro
50f5ca5610 improve the conversion from dp to px 2022-12-06 11:34:06 +01:00
Bnyro
eeb87c05d8 Fix the option to disable watch positions 2022-12-06 11:26:27 +01:00
Bnyro
72ac9c5f4b
Merge pull request #2264 from Kruna1Pate1/feat/exact-view-count
Show/Hide exact view count with description toggle
2022-12-06 11:13:08 +01:00
Krunal Patel
b8eca1f7a6 Move duplicate string to variable viewInfo 2022-12-06 15:40:17 +05:30
Bnyro
ce7054619f
Merge pull request #2263 from Kruna1Pate1/fix/caption-position
Fix subtitles cropped in zoom mode
2022-12-06 11:03:03 +01:00
Krunal Patel
bbd9b8546a Move duplicate code of playPauseBtn to CustomExoPlayerView 2022-12-06 15:07:08 +05:30
Krunal Patel
5457494340 Use constant for subtitle padding fraction 2022-12-06 14:20:56 +05:30
Krunal Patel
0480da9aa0 Show/Hide exact view count with description toggle 2022-12-06 13:39:20 +05:30
Krunal Patel
769d09f98d Fix subtitles cropped in zoom mode 2022-12-06 12:40:56 +05:30
Krunal Patel
363e1a9834 Fix offline player play/pause button 2022-12-06 11:57:44 +05:30
Bnyro
c1f6b442d3 Show Material You as accent color on Android 12+ 2022-12-05 19:14:42 +01:00
Bnyro
5bbd699ba3 fix titles on activity recration 2022-12-05 19:03:20 +01:00
Bnyro
efc2f7d5e3 Fix backup and restore prefs title and dead code 2022-12-05 18:52:52 +01:00
Bnyro
ffcd7b7655 add support for playing the latest videos of a channel 2022-12-02 14:45:52 +01:00
Bnyro
9294df32d8 add a channel share bottom sheet 2022-12-02 14:13:16 +01:00
Bnyro
ec4b105233
Merge branch 'master' into themes 2022-12-02 14:00:30 +01:00
Bnyro
50b5967a37 rename the black/white theme to minimalistic monochrome 2022-12-02 13:59:06 +01:00
Bnyro
085eff2041
Merge pull request #2171 from Kruna1Pate1/fix/minimized-player
Fix minimized player and repeat button
2022-12-02 13:46:58 +01:00
Krunal Patel
bf1d9d46ba Change play pause implementation to use a single image button
Remove `exo_play_pause` and make use of the custom image view gives more accessibility
2022-12-02 17:56:00 +05:30
Bnyro
7b3b145e2d
Merge pull request #2175 from Bnyro/master
Show the current name when renaming a playlist
2022-12-02 12:50:20 +01:00
Bnyro
258bccab04 Show the current name when renaming a playlist 2022-12-02 12:49:51 +01:00
Krunal Patel
9dd505917d Fix player control repeat icon on the video end
A new image button for reapeat button is needed, changing `exo_play_pause` doesn't work because it is updated by  `StyledPlayerControlView`. So, when the video ends hide `exo_play_pause` and show `repeatBTN`.
2022-12-02 12:28:02 +05:30
Krunal Patel
d3d75d8bc8 Fix synchronization of minimized player button 2022-12-02 12:28:01 +05:30
Krunal Patel
09d709dca8 Add setting to enable or disable pinch gesture 2022-12-02 12:27:31 +05:30
Krunal Patel
677a01a055 Fix single tap on scroll or pinch gesture
Keep track whether the last touch event was for click or other gesture which can be used by runnable.
2022-12-02 12:27:30 +05:30
Bnyro
f57262da6a fix opening public playlists 2022-12-01 17:11:31 +01:00
Bnyro
ab3ec2d442 Add warning dialog if entering an email as username 2022-12-01 15:28:41 +01:00
Bnyro
53ebd3363f use the new route 2022-12-01 15:17:46 +01:00
Bnyro
7c775f4937 fix duplicated importing 2022-12-01 15:05:57 +01:00
Bnyro
b4100bd27c fix some UI issues at the import/export page 2022-12-01 14:43:19 +01:00
Bnyro
5616934817 Add functionality for exporting and importing playlists 2022-12-01 14:37:44 +01:00
Bnyro
c1793691ed Add UI functionality for importing and exporting playlists 2022-12-01 14:09:57 +01:00
Bnyro
8ce809d30f Add import export settings 2022-12-01 13:48:08 +01:00
Bnyro
7eea8dc6ee
Merge pull request #2146 from Kruna1Pate1/fix/service-notification
Fix notification freezing issue
2022-11-30 18:38:36 +01:00
Krunal Patel
93546382b9 Fix service not stopping on close video or removed from recents
Stop the `BackgroundMode` service when close icon on player is pressed.

Stop the `BackgroundMode` service when app is removed by user from task manager.
2022-11-30 11:02:19 +05:30
Krunal Patel
e1100db58e Fix service not stopping on play
Listen for player `isPlaying` then stop background service if it is running.
2022-11-29 21:38:30 +05:30
Krunal Patel
f8676682bf Fix setFullScree() call when in PiP mode
When activity is in PiP mode it gives orientation as landscape, which leads to unwanted `setFullscreen()`.
2022-11-29 20:02:42 +05:30
Krunal Patel
15e16fcae6 Fix running service lead to sticky notification
Stop service started using `BackgroundMode` before new video is played in foreground.
2022-11-29 19:59:26 +05:30
Krunal Patel
946fe6b91f Fix channel page to display selected chip content 2022-11-29 18:12:24 +05:30
Krunal Patel
7d878476d1 Fix empty history view when all history is removed
`onChanged()` is trigered when `notifyDataSetChanged()` is called. Since `notifyItemRemoved(Int)` is used override `onItemRangeRemoved()`.
2022-11-28 20:32:21 +05:30
Krunal Patel
f76da90447 Fix wrong history deleted because of different thread 2022-11-28 20:32:20 +05:30
Krunal Patel
4c3060c17f Fix PiP aspect ratio in offline player 2022-11-28 18:16:46 +05:30
Krunal Patel
fe02b0e30c Fix gesture controls for portrait videos
Use `PlayerViewModel.isFullscreen` to check if video is playing in full screen instead of screen orientation.
Scale progress bar `progress` according to it's max size.
2022-11-28 18:16:46 +05:30
Bnyro
7bdc7f3a74 Indicator the the feed got caught up for subscriptions 2022-11-27 19:51:30 +01:00
Bnyro
9d9709be7b Option to disable double tap to seek 2022-11-27 18:41:34 +01:00
Bnyro
b6e44cbe7a add a button to toggle SponsorBlock while playing a video 2022-11-27 18:17:50 +01:00
Bnyro
da2574e71c add a preference for the captions text size 2022-11-27 17:50:09 +01:00
Bnyro
77402b064f fix duplicated comments 2022-11-27 17:39:19 +01:00
Bnyro
51b1b527ef add an empty pure black/white theme 2022-11-27 17:16:14 +01:00
Bnyro
29bfcee095
Merge pull request #2106 from Kruna1Pate1/fix/download-issue
Fix download issue caused by file name
2022-11-27 15:06:32 +01:00
Bnyro
dbf4002e62
Merge pull request #2101 from Kruna1Pate1/fix/pip-aspect-ratio
Fix to adopt dynamic aspect ration in PiP mode
2022-11-27 14:59:29 +01:00
Krunal Patel
9257169bf3 Fix download issue caused by file name 2022-11-27 19:27:36 +05:30
Bnyro
be655e0dec Resize the PiP window when the next video starts playing 2022-11-27 14:56:35 +01:00
Bnyro
c0432143bb fix overflowing progress bar and comments disabled text 2022-11-27 14:43:59 +01:00
Bnyro
06f7d5c945 add progress and error messages if comments disabled or empty 2022-11-27 14:21:17 +01:00
Bnyro
ec2e9ac7b9 slightly animate the sheet 2022-11-27 14:06:26 +01:00
Bnyro
6f267617be fix locking the player 2022-11-27 13:54:58 +01:00
Krunal Patel
6ba6cca120 Fix to adopt dynamic aspect ration in PiP mode 2022-11-27 15:39:41 +05:30
Bnyro
2ca8cdee71
Merge pull request #2091 from Kruna1Pate1/fix/link-open-issue
Fix plain text links and NPE when opening link from external source
2022-11-26 19:02:06 +01:00
Krunal Patel
d7436aaf2c Fix plain text links and NPE when opening link from external source 2022-11-26 23:16:49 +05:30
Bnyro
039f898556 replace open with with PiP 2022-11-26 18:45:55 +01:00
Bnyro
998cf38e6b dismiss the comments sheet when clicking a channel avatar 2022-11-26 18:28:54 +01:00
Bnyro
ee4581f2e3 fix crash when clicking channel 2022-11-26 18:25:07 +01:00
Bnyro
f1e16191b7 fix that comments stop loading on scroll 2022-11-26 18:14:12 +01:00
Bnyro
08e9cfefff only fetch the API the first time opening the comments 2022-11-26 18:07:54 +01:00
Bnyro
35602aaaca move the comments into a bottom sheet 2022-11-26 17:53:40 +01:00
Krunal Patel
588b3e9bbb Fix activity goes in PiP mode on link opening
If the activity is running in PiP, then start activity in front.
2022-11-26 20:17:27 +05:30
Bnyro
7289fad18f
Merge pull request #2072 from Bnyro/zoom-fullscreen
Pinch to zoom
2022-11-26 15:11:11 +01:00
Bnyro
2ebebb4b42 fix accidential volume/brightness changes when zooming 2022-11-26 15:10:39 +01:00
Krunal Patel
cf18adc75b Fix link opening issues 2022-11-26 16:49:10 +05:30
Bnyro
ce66873ef3 pinch to zoom 2022-11-26 11:10:18 +01:00
Krunal Patel
612a23c1dc Fix pip mode brightness issue
Check if activity is in pip mode then use system brightness.
Don't force to store brightness while returning from pip mode. Since it contains system brightness.
2022-11-26 14:17:02 +05:30
Krunal Patel
92cc7a9cf3 Fix brightness inconsistency
Brightness changes affect only when player is in full-screen (landscape) mode.
Store brightness value to shared preferences which can be restored for later use.
2022-11-26 14:17:01 +05:30
Bnyro
e4beff22f5 hide downloads tab if already part of navbar 2022-11-26 08:36:53 +01:00
Bnyro
187f96bc49 finish fullscreen on backpress 2022-11-26 08:33:30 +01:00
Bnyro
0e23c4976d fix PiP for some devices 2022-11-26 08:18:26 +01:00
Bnyro
2c069837fe hide the open with button by default 2022-11-25 18:57:53 +01:00
Bnyro
6419d13b00
Merge pull request #2047 from Bnyro/master
improve slider dialog accessability
2022-11-25 18:36:46 +01:00
Bnyro
51cf08676f improve slider dialog accessability 2022-11-25 18:36:03 +01:00
Krunal Patel
f509e63c2a Fix typo, implement player options instead of creating variable 2022-11-25 20:33:22 +05:30
Krunal Patel
7b9c8d7d56 Add preference setting to enable/disable swipe control
By default gesture is enabled. Which can be desabled from setting.
2022-11-25 20:33:21 +05:30
Krunal Patel
7d58a71d27 Add swipe gesture control for brightness and volume
Create interface `PlayerGestureOptions` that defines all controlles.
`PlayerGestureController` takes this as listner and call apropriate method.
Double tap events are also called from this class.
2022-11-25 20:33:20 +05:30
Bnyro
d837dedb12 fix pip when video ended 2022-11-25 14:15:07 +01:00
Bnyro
77be9424fc add option to set default start tab 2022-11-24 17:38:14 +01:00
Bnyro
975930625f bind the recview padding of playlists and watch history to the mini player visibility 2022-11-24 16:58:39 +01:00
Bnyro
66a3d6563d fix the next video button at the player 2022-11-24 16:49:38 +01:00
Bnyro
0aa783abc5 pip from mini player 2022-11-24 16:31:02 +01:00
Bnyro
e80b2f1e39 use the new PiP transitions 2022-11-24 16:20:47 +01:00
Bnyro
08bbb839aa add possibility to backup and restore local playlists 2022-11-23 18:20:43 +01:00
Bnyro
c212fda429 pause and play on double click at the center 2022-11-23 18:11:56 +01:00
Bnyro
048949994b remember last user choice on saving with or with time code in the share dialog 2022-11-23 17:36:52 +01:00
Bnyro
0f609fb7a3
Merge pull request #1986 from Bnyro/master
option to not auto-insert related videos
2022-11-22 16:59:47 +01:00
Bnyro
dde560e930 option to not auto-insert related videos 2022-11-22 16:59:24 +01:00
Bnyro
8a764b0397
Merge pull request #1985 from Bnyro/master
enable save button at player fragment for local playlists
2022-11-22 16:50:45 +01:00
Bnyro
dc115cbfd8 enable save button at player fragment for local playlists 2022-11-22 16:50:27 +01:00
Bnyro
c2c6d9e9fa
Merge pull request #1980 from Bnyro/master
add option to backup bookmarked playlists
2022-11-22 09:54:40 +01:00
Bnyro
60efe8d161 add option to backup bookmarked playlists 2022-11-22 09:54:13 +01:00
Bnyro
274c1a3891
Merge pull request #1964 from Bnyro/master
fix ktlint
2022-11-21 16:26:30 +01:00
Bnyro
2824f39b5f fix ktlint 2022-11-21 16:25:53 +01:00
Bnyro
440d2554ba
Merge pull request #1963 from Bnyro/master
Preview App icons in Appearance Settings
2022-11-21 16:25:05 +01:00
Bnyro
0dccb05a54 add a summary 2022-11-21 16:23:59 +01:00
Bnyro
e90291be59 add app icon preview bottom sheet 2022-11-21 16:12:21 +01:00
Bnyro
6b147b43a3
Merge pull request #1962 from Bnyro/master
Notify about updater being disabled for debug builds
2022-11-21 15:40:29 +01:00
Bnyro
c5d910fa22 Notify about updater being disabled for debug builds 2022-11-21 15:40:15 +01:00
Bnyro
c2f95a5548
Merge pull request #1961 from Bnyro/master
Fix the watch position pref
2022-11-21 15:35:24 +01:00
Bnyro
7c3780137d fix the watch position pref 2022-11-21 15:34:43 +01:00
Bnyro
0ac61168cf remove load interval size 2022-11-21 15:24:48 +01:00
Bnyro
492c052e87
Merge pull request #1960 from Bnyro/master
fix crash when using LBRY
2022-11-21 15:18:13 +01:00
Bnyro
3bdce96818 fix crash when using LBRY 2022-11-21 15:17:33 +01:00
Bnyro
6c97598ac6
Merge pull request #1959 from Bnyro/master
fix unresponsive controls
2022-11-21 15:10:23 +01:00
Bnyro
956428a49f fix unresponsive controls 2022-11-21 15:08:55 +01:00
Bnyro
b055a1135e
Merge pull request #1957 from Bnyro/master
show network instead of server error
2022-11-21 15:00:04 +01:00
Bnyro
43efda9e5e show network instead of server error 2022-11-21 14:59:45 +01:00
Bnyro
c2895abf8f
Merge pull request #1956 from Bnyro/master
Fill Search Controller When Tapping on Arrow
2022-11-21 14:58:37 +01:00
Bnyro
8bc3c59686 Fill Search Controller When Tapping on Arrow 2022-11-21 14:58:17 +01:00
Bnyro
8f3af55f8a
Merge pull request #1955 from Bnyro/master
fix crash when deleting from watch history
2022-11-21 14:51:02 +01:00
Bnyro
15e9b69957 fix crash when deleting from watch history 2022-11-21 14:50:44 +01:00
Bnyro
3aeca38591
Merge pull request #1950 from Kruna1Pate1/fix/navigation
Fix navigation and backstack issues
2022-11-21 14:45:51 +01:00
Bnyro
bbd021fc6d fix some issues 2022-11-21 14:35:09 +01:00
Bnyro
592f1b5648 rewrite proxied URLs 2022-11-21 14:12:46 +01:00
Krunal Patel
5f5eee3be2 Fix multiple backstack entries get removed on some fragments 2022-11-21 10:23:05 +05:30
Krunal Patel
3661660dd1 Fix search option overflow when searchView expanded 2022-11-21 09:45:02 +05:30
Krunal Patel
1c03396a2b Fix reselection of bottom nav item when on different destination
Check if the reselected item and current visible fragment is same, if not navigate to bottom selected item.

Move bottom navigation logic to seprate method `navigateToBottomSelectedItem(MenuItem)`, so it can be reused.
2022-11-21 09:44:27 +05:30
Krunal Patel
d03169b11a Fix navigation and backstack problems
Check if the search view is iconified or current destination is bottom nav, then avoid navigation to search fragment.

Move the `searchFragment` navigation to `onMenuItemActionExpand` so every time search expand, try to get the search fragment.

Clear the focus of `searchView` when a query is submitted. Helps in decreasing the number of back presses to minimize player and navigate back.

No need to remove focus using `SearchResultFragment#onStop`, `BackPressedDispatche` can handle it.
2022-11-20 23:29:12 +05:30
Krunal Patel
b45e6f8166 Fix duplicate entries in backstack
Set empty listener to `setOnItemReselectedListener` to prevent repeated click
Check the backstack before navigating to a new destination using bottom navigation
2022-11-20 23:28:18 +05:30
Bnyro
ef20253db4 make ktlint happy again 2022-11-20 17:16:12 +01:00
Bnyro
6ca290b790 ktlint 2022-11-20 17:12:20 +01:00
Bnyro
11e7b3ac01 add support for the queue 2022-11-20 17:09:07 +01:00
Bnyro
826e054790 fix the playlist bottomsheet items 2022-11-20 16:30:50 +01:00
Bnyro
9c207d2e80 add playlist deletion 2022-11-20 16:24:17 +01:00
Bnyro
3a63e3c546 migrate some dialogs and sheets 2022-11-20 16:12:01 +01:00
Bnyro
0d65071c79 add frontend support 2022-11-20 15:54:55 +01:00
Bnyro
ea1d2765c9 add database structure for local playlists 2022-11-20 13:23:56 +01:00
Bnyro
3aca124372 fix updater issues 2022-11-19 16:24:38 +01:00
Bnyro
1bb3429b47 add confirmation for playlist deletion 2022-11-19 16:03:03 +01:00
Bnyro
499c629923 fix crash when removing notification 2022-11-19 15:18:05 +01:00
Bnyro
47fccb760a fix watch positions 2022-11-19 15:06:41 +01:00
Bnyro
5518de4176 fix current position 2022-11-19 13:52:09 +01:00
Bnyro
cdf96d8419 fix share crash 2022-11-19 13:51:55 +01:00
Bnyro
f18757671d
Merge pull request #1911 from Bnyro/master
Allow creating playlists from the add to playlist dialog
2022-11-19 11:20:01 +01:00
Bnyro
01dee22802 cleanup adapters 2022-11-19 11:19:07 +01:00
Bnyro
3105a46e2b allow creating playlists from addin 2022-11-19 11:12:26 +01:00
Bnyro
0583f005e8 fix playlists crash 2022-11-19 11:01:51 +01:00
Bnyro
bbb09e47dc
Merge pull request #1909 from Bnyro/master
Bookmarks in the library, option to reset them
2022-11-19 10:59:56 +01:00
Bnyro
48564ed3c6 fix http 400 2022-11-19 10:58:51 +01:00
Bnyro
7211143398 add a bookmarks fragment to the library 2022-11-19 10:52:27 +01:00
Bnyro
c5714bb206 add pref to clear bookmarks 2022-11-19 10:23:09 +01:00
Bnyro
aee44d9b58
Merge pull request #1908 from Bnyro/master
Fix crash on clicking the player share button
2022-11-19 10:04:33 +01:00
Bnyro
9601b3b32e fix share btn 2022-11-19 10:02:54 +01:00
Bnyro
b5311716a0 disable auto updater for debug versions 2022-11-19 09:57:47 +01:00
Kavin
cd74c3836b
Implement proper handling of OTF videos. 2022-11-18 18:11:28 +00:00
Bnyro
6db616591c cleanup database queries 2022-11-18 18:42:59 +01:00
Bnyro
3afff16e30 fix removing bookmarks 2022-11-18 18:30:17 +01:00
Bnyro
7e984dd57f improve the UI 2022-11-18 18:28:41 +01:00
Bnyro
48951f13c3 add support for bookmarking playlists 2022-11-18 18:01:11 +01:00
Bnyro
6c2249e52f fix playlists crash 2022-11-18 16:27:55 +01:00
Bnyro
89be23a858 improve home section 2022-11-18 16:23:45 +01:00
Bnyro
42e326f9b8 fix the lagging user experience 2022-11-18 16:08:09 +01:00
Bnyro
df00881cff fix new home tab issues 2022-11-18 15:57:16 +01:00
Bnyro
0b157b560c allow unknown file types for importing subscriptions 2022-11-17 19:04:43 +01:00
Bnyro
505ecd6a82
Merge pull request #1886 from Bnyro/master
New Home Page UI
2022-11-17 19:02:26 +01:00
Bnyro
576f72bc36 fix some scrolling issues 2022-11-17 19:01:46 +01:00
Bnyro
214aaf6612 implement logic 2022-11-17 18:58:53 +01:00
Bnyro
79b08c2e5a initial UI creation 2022-11-17 18:16:12 +01:00
Bnyro
186962402d disable disk cache instead of memory cache 2022-11-17 17:28:07 +01:00
Bnyro
6c5cb27eb8 add a new empty home fragment 2022-11-17 17:23:10 +01:00
Bnyro
6e3965c51e Option to open queue from background notification 2022-11-17 17:03:51 +01:00
Bnyro
bbdeeea03b add repeat queue btn 2022-11-17 16:45:07 +01:00
Bnyro
12adebd4bf add a reverse queue button 2022-11-17 16:25:34 +01:00
Bnyro
29e9c36086 show the current preferred audio language 2022-11-17 16:14:15 +01:00
Bnyro
4502e07fc6 remove unused reference 2022-11-17 16:06:06 +01:00
Bnyro
ef48cc6bb1 Add option for runtime caching 2022-11-17 15:59:12 +01:00
Bnyro
5cfb571914 actually show the determined file type 2022-11-17 15:38:11 +01:00
Bnyro
8315345818 Show file type upon import failure 2022-11-17 15:33:40 +01:00
Bnyro
a054a9092c fix conflicts with upstream 2022-11-17 11:08:17 +01:00
Bnyro
f98ed61dac fix some issues caused by the DASH integration 2022-11-17 10:57:44 +01:00
Kavin
e7bf856d82
Initialize nextpage as null. 2022-11-16 21:55:58 +00:00
Kavin
27a559e1a4
Actually specify the right audioTrackId. 2022-11-16 18:32:22 +00:00
Bnyro
0b5454605b
remove the limit HLS pref as HLS now follows the default resolution 2022-11-16 18:32:22 +00:00
Bnyro
c766fb953b
avoid duplicated resolutions 2022-11-16 18:32:22 +00:00
Bnyro
58c606c858
fix crash caused by default resolution 2022-11-16 18:32:22 +00:00
Bnyro
0a200a6d26
option to force hls 2022-11-16 18:32:22 +00:00
Bnyro
365ff2eabb
reimplement quality selection and pref 2022-11-16 18:31:54 +00:00
Kavin
c3f3b004f5
Remove companion object 2022-11-16 18:31:54 +00:00
Kavin
a89d131413
Run ktlint. 2022-11-16 18:31:54 +00:00
Kavin
21850e8821
Remove broken code. 2022-11-16 18:31:54 +00:00
Kavin
da6a614a89
Implement proper support for dash. 2022-11-16 18:31:54 +00:00
Bnyro
4aee2c35a1 remove the limit HLS pref as HLS now follows the default resolution 2022-11-16 19:11:07 +01:00
Bnyro
2acea5fddc avoid duplicated resolutions 2022-11-16 19:04:47 +01:00
Bnyro
44163d5659 fix crash caused by default resolution 2022-11-16 18:55:12 +01:00
Bnyro
74651b7617 option to force hls 2022-11-16 18:42:57 +01:00
Bnyro
e403bd379a reimplement quality selection and pref 2022-11-16 18:14:47 +01:00
Kavin
3e5681bae3
Remove companion object 2022-11-16 15:56:23 +00:00
Bnyro
cbbbf65428 Improved user feedback on subscription import 2022-11-16 16:54:18 +01:00
Kavin
acc6afced6
Run ktlint. 2022-11-16 14:26:25 +00:00
Kavin
db83051e5e
Remove broken code. 2022-11-16 14:22:22 +00:00
Kavin
ba1b8c79d8
Implement proper support for dash. 2022-11-16 14:19:17 +00:00
Bnyro
056e997d51 fix some issues 2022-11-16 14:12:22 +01:00
Bnyro
4ac05e5171 attempt to set language by locale 2022-11-16 13:59:54 +01:00
Bnyro
bc9110ed27 add selection logic 2022-11-16 11:00:39 +01:00
Bnyro
d0ef111c2d implement audio tracks backend 2022-11-16 10:40:48 +01:00
Bnyro
f86ca78ea5 refactor channel tabs 2022-11-16 10:31:48 +01:00
Daniel
b9bb9f8286
Create ChannelFragment.kt 2022-11-16 11:16:32 +06:00
Kavin
7478da242e
Change piped.kavin.rocks to piped.video. 2022-11-13 23:19:43 +00:00
Bnyro
91fc986f41 scale imgages differently 2022-11-13 13:18:11 +01:00
Bnyro
588f99edba fix channel tabs 2022-11-12 23:00:14 +01:00
Bnyro
9d1b79748d fix the updater 2022-11-12 19:37:33 +01:00
Bnyro
b9ca17cd77
Merge pull request #1824 from GilesMunn/master
Minor visual edits
2022-11-12 19:27:14 +01:00
Bnyro
ce95a33fe1 use the lockscreen icon for all notifications 2022-11-12 19:26:59 +01:00
Bnyro
0786e8f87c add option for it 2022-11-12 19:04:40 +01:00
Bnyro
610121dd90 add alternative layout for related streams 2022-11-12 18:40:54 +01:00
Giles Munn
694dacfe15
Merge branch 'libre-tube:master' into master 2022-11-12 17:39:13 +00:00
GilesMunn
b42846de6c Miniplayer now shows proper replay button. Partially solves #1811. 2022-11-12 17:38:58 +00:00
Bnyro
32bd35aa48 fix searchview 2022-11-12 18:02:08 +01:00
GilesMunn
cf8288b538 Miniplayer can now restart video if autoplay is not set. 2022-11-12 16:45:52 +00:00
GilesMunn
88c72a45f7 Added restart icon and change miniplayer to it when video is finished. 2022-11-12 16:31:44 +00:00
Bnyro
0754ab289f fix the subtitle size 2022-11-12 10:34:08 +01:00
Bnyro
318c564621 apply grid columns for recommended videos 2022-11-12 10:16:04 +01:00
Bnyro
4bf1c72b72 fix player view when auto fullscreen enabled 2022-11-12 10:03:25 +01:00
Bnyro
3c20cd32b4 fix search bar issues 2022-11-11 19:29:01 +01:00
Bnyro
906728f51b attempt to fix captions 2022-11-11 19:05:05 +01:00
Bnyro
7f1e0147c1 use a different sponsorblock color 2022-11-11 18:48:06 +01:00
Bnyro
f9787b4fe2 fix thumbnail crash 2022-11-11 18:43:01 +01:00
Bnyro
b1f06d92b3 fix some issues with downloads 2022-11-11 18:39:56 +01:00
Bnyro
7e9f71a529 fix video sharing 2022-11-11 17:58:14 +01:00
Bnyro
df92e17108 channel layout fixes 2022-11-11 17:52:27 +01:00
Bnyro
0a53decb1c fix auto fullscreen 2022-11-11 17:43:05 +01:00
Bnyro
67ec07f573 grey out when disabled 2022-11-09 18:20:37 +01:00
Bnyro
49bbe312d1 add logic 2022-11-09 18:15:21 +01:00
Bnyro
e0512fcfbf time picker backend 2022-11-09 18:01:59 +01:00
shantanu1k
9f4723a057 sorts the subtitles languages list 2022-11-08 22:02:31 +05:30
Bnyro
7a65fdb228 playlist layout fixes 2022-11-07 19:18:55 +01:00
Bnyro
7236807d21 minify at portrait 2022-11-07 18:34:49 +01:00
Bnyro
9dea5bccc2 fix the subscription button 2022-11-06 16:49:14 +01:00
Bnyro
c21f553fa4 layout fixes 2022-11-06 16:35:36 +01:00
Bnyro
a85bf705db some UI changes 2022-11-06 15:50:52 +01:00
Bnyro
3345dc9742 outcast repeating code 2022-11-06 15:39:57 +01:00
Bnyro
7bdcf9e3bd add a share button 2022-11-06 12:53:41 +01:00
Bnyro
0b99bfdfa0 new playlist layout 2022-11-06 12:35:23 +01:00
Bnyro
632f4d6df4 allow clicking queue items 2022-11-06 11:50:04 +01:00
Bnyro
d18e0dfc1f hide when not subscribed 2022-11-06 11:30:38 +01:00
Bnyro
861e319aeb add the notification bell UI 2022-11-06 11:26:24 +01:00
Bnyro
b3f52f9a18 ignore notification channels logic 2022-11-06 10:47:18 +01:00
Bnyro
1808bbceee fix warnings 2022-11-06 10:27:53 +01:00
Bnyro
8707059d6e notifications cleanup 2022-11-06 10:21:37 +01:00
Bnyro
6b515c2cd3
Merge pull request #1774 from Bnyro/master
cleanup
2022-11-06 10:11:48 +01:00
Bnyro
7d2eff7488 use enums 2022-11-06 10:11:19 +01:00
Bnyro
6059f877f1 improved locale logic 2022-11-06 10:02:45 +01:00
Bnyro
c6808010e1
Merge pull request #1770 from GilesMunn/master
Add launcher icon shortcuts
2022-11-05 20:25:14 +01:00
Bnyro
2760257c26 disable modifying the already played queue items 2022-11-05 20:22:59 +01:00
GilesMunn
7a31d9d931 Moved intent reading into loadIntentData() 2022-11-05 19:16:28 +00:00
Bnyro
32822163e1 fix reopening 2022-11-05 20:03:06 +01:00
Giles Munn
a2c1c9121a
Merge branch 'libre-tube:master' into master 2022-11-05 18:45:45 +00:00
GilesMunn
093e138fa5 Added app icon shortcuts. Closes #1738. 2022-11-05 18:44:40 +00:00
Bnyro
9912b1f4dc lint 2022-11-05 19:34:21 +01:00
Bnyro
aa9f9852d9 Unsubscription confirmation option 2022-11-05 19:34:10 +01:00
Bnyro
74c0fe85e2 don't toast when livestream 2022-11-05 19:10:48 +01:00
Bnyro
9795f9846f cleanup 2022-11-05 19:08:02 +01:00
Bnyro
51bdc79d34 chapter timestamps 2022-11-05 18:02:42 +01:00
Bnyro
6578921fe3 clone feedback toast 2022-11-05 17:41:00 +01:00
Bnyro
30cb9815f1 reset btns for speed and pitch 2022-11-05 17:27:13 +01:00
Bnyro
b78b8a8bb6 expand all sheets 2022-11-05 15:46:02 +01:00
Bnyro
7704b8f40b better backup title 2022-11-05 14:48:18 +01:00
Bnyro
8046ba97db expand options by default 2022-11-05 14:42:41 +01:00
Bnyro
ab8422d8e8 fix the region detector 2022-11-05 14:28:33 +01:00
Bnyro
1049669cb8 close #1704 again 2022-11-05 14:24:48 +01:00
Bnyro
3cd1597959 make channel clickable in video row 2022-11-05 12:12:28 +01:00
Bnyro
202b3a78ef fix build 2022-11-05 12:09:58 +01:00
Bnyro
8601feaffc playlist improvements 2022-11-05 12:06:55 +01:00
Bnyro
cace00f3cd respect video layout (closes #1703) 2022-11-05 11:41:49 +01:00
Bnyro
e59c80d669 ktlint 2022-10-30 09:38:13 +01:00
Bnyro
814ba891bb fix navbar 2022-10-30 09:36:19 +01:00
Bnyro
645e35584a bump version 2022-10-29 18:17:31 +02:00
Bnyro
77ff1e8f20 fix the queue 2022-10-29 18:17:05 +02:00
Bnyro
d756a1fb0c alternative global layout 2022-10-29 17:33:12 +02:00
Bnyro
2efa4de778 fix for the channel adapter 2022-10-29 16:43:16 +02:00
Bnyro
b15bc7369b Fix empty trending items 2022-10-29 16:37:59 +02:00