Commit Graph

107 Commits

Author SHA1 Message Date
Bnyro
110d29c50a feat: add 'Continue watching' section to home tab 2023-07-19 09:26:24 +02:00
Bnyro
4bb64bee05 Reformat project as attempt to fix the ktlint action 2023-06-24 19:57:00 +02:00
Isira Seneviratne
5bb4f303b0 Add PlayerData class. 2023-06-17 19:04:19 +05:30
Isira Seneviratne
b7d856cd5e Add data class to hold download data. 2023-06-09 07:04:19 +05:30
Bnyro
c83d794826 Use the contentLength returned by the API for downloading 2023-06-08 19:38:51 +02:00
Bnyro
1fb2b2174c Fix crash when opening description while chapter updates 2023-06-08 19:15:14 +02:00
Bnyro
373d0136ba Don't rely on Locale#getDefault for the currently set locale 2023-06-02 16:24:47 +02:00
Bnyro
024d55dd16 Fix thumbnail quality in notification and use proper metadata 2023-05-18 16:37:00 +02:00
Bnyro
95e65ae7e3 Migration to Media3 2023-05-15 17:21:49 +02:00
Bnyro
cd12dbd7db Merge AGP_8.0 with upstream and fix some deprecations 2023-05-10 19:39:37 +02:00
Bnyro
ffb31c3fc7 Fix CI builds by migrating the code to ktlint 0.49.0 2023-05-09 18:41:05 +02:00
Isira Seneviratne
a080526087 Remove unnecessary NewApi suppressions. 2023-04-18 06:42:45 +05:30
Isira Seneviratne
38e7693e78 Use getSystemService() extension. 2023-04-02 09:15:01 +05:30
Isira Seneviratne
3bc3f26f06 Fix lint issue. 2023-03-26 15:33:18 +05:30
Bnyro
42000a74dd Use the toastFromMainThread extension 2023-03-26 11:11:22 +02:00
Isira Seneviratne
26735d2f88 Use CompactDecimalFormat to format counts. 2023-03-25 19:00:41 +05:30
Bnyro
65a45456ba Simplify number formatting 2023-03-23 20:05:38 +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
Isira Seneviratne
4996023ee8 Remove BaseFragment. 2023-02-25 12:45:54 +05:30
Isira Seneviratne
675340a190 Convert PlaylistBookmarkDao methods to suspend functions. 2023-02-24 07:04:26 +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
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