Commit Graph

2178 Commits

Author SHA1 Message Date
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