Commit Graph

82 Commits

Author SHA1 Message Date
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
Isira Seneviratne
3d7ef76d52 Convert import helper methods to suspend functions. 2023-02-05 06:17:21 +05:30
Bnyro
b734c69ea8 Move helpers from .util to .ui.listeners and .helpers 2023-01-31 16:43:39 +01:00
Isira Seneviratne
99f031f155 Use takeWhile() extension. 2023-01-30 19:23:44 +05:30
Bnyro
9ec166dcef Better download file naming scheme 2023-01-26 19:25:23 +01:00
Bnyro
93b073a357 Simplify the PlayerFragment 2023-01-23 18:38:03 +01:00
Bnyro
f27360d02c Reduce the player top bar margin 2023-01-23 18:29:05 +01:00
Isira Seneviratne
219a7d7cfe Use Kotlinx Serialization with stream data. 2023-01-19 04:47:49 +05:30
Bnyro
7a90acd824
Merge branch 'master' into feat/new-downloader 2023-01-14 17:54:02 +01:00
Bnyro
36db1d49e0 Cleanup the notification worker 2023-01-08 16:39:22 +01:00
Bnyro
2db5852459 Add bookmark option to playlist options bottom sheet 2023-01-04 19:27:36 +01:00
Bnyro
09d3e496a3
Merge branch 'master' into feat/new-downloader 2022-12-28 17:48:30 +01:00
Krunal Patel
fa924fe84f Fix ktlint format 2022-12-25 18:36:23 +05:30
Krunal Patel
e0c6401963 Use title as download filename and filter reserved unix characters 2022-12-25 13:17:17 +05:30
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
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
859da3d195 Add database for downloads
Database keep trac of downloaded item `Audio`, `Video` and `Subtitle`.
2022-12-21 21:39:27 +05:30
Bnyro
8345269179 Improve the playlist cloning algorithm 2022-12-19 16:58:34 +01:00
Bnyro
50f5ca5610 improve the conversion from dp to px 2022-12-06 11:34:06 +01:00
Krunal Patel
9257169bf3 Fix download issue caused by file name 2022-11-27 19:27:36 +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
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
Bnyro
ef20253db4 make ktlint happy again 2022-11-20 17:16:12 +01:00
Bnyro
0d65071c79 add frontend support 2022-11-20 15:54:55 +01:00
Bnyro
79b08c2e5a initial UI creation 2022-11-17 18:16:12 +01:00
Bnyro
b1f06d92b3 fix some issues with downloads 2022-11-11 18:39:56 +01:00
Bnyro
9dea5bccc2 fix the subscription button 2022-11-06 16:49:14 +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
861e319aeb add the notification bell UI 2022-11-06 11:26:24 +01:00
Bnyro
6578921fe3 clone feedback toast 2022-11-05 17:41:00 +01:00
Bnyro
c5fb672d44 Fix the playback speed value 2022-10-28 22:26:33 +02:00
Bnyro
75ffce292c Fix format short when the count is null 2022-10-28 21:52:26 +02:00
Bnyro
3599d97a1f Add the queue to the background mode 2022-10-23 16:04:15 +02:00
Bnyro
1962268460 Dragging and dropping items 2022-10-23 15:09:58 +02:00
Bnyro
41162fafac Add functionality 2022-10-23 13:39:15 +02:00
Bnyro
c02b815ff2 fix linter 2022-10-19 19:53:18 +02:00
Bnyro
4c2d438c58 fix the floating time bar 2022-10-15 17:03:50 +02:00
Bnyro
500e56e760 add metadata to downloads 2022-10-10 16:58:26 +02:00
Bnyro
e7d60a5fe9 slider preference cleanup 2022-09-29 20:24:39 +02:00
Bnyro
3911c19a77 improve snackbar style 2022-09-25 10:07:09 +02:00
Bnyro
5b4102ec57 move the base views to the UI package 2022-09-24 12:34:53 +02:00
Bnyro
6813772d2f remove unused icons 2022-09-24 11:11:32 +02:00
Bnyro
228ec7860a remove unused code 2022-09-22 17:59:15 +02:00
Bnyro
8828fc205f database cleanup 2022-09-22 17:52:00 +02:00