Commit Graph

85 Commits

Author SHA1 Message Date
Bnyro
2d854030c9 style: run ktlint 2023-08-25 19:51:24 +02:00
Isira Seneviratne
c12482d000 refactor: Use Path extensions 2023-08-25 05:41:49 +05:30
FineFindus
3fb9e899cb
feat: add sponsorblock option to skip segment only once (#4584) 2023-08-22 16:05:21 +02:00
Bnyro
cf79b7bd67 feat: allow downloading audio based on language 2023-08-22 09:42:22 +02:00
Bnyro
5d1a6c0380
fix: download paused notification shown instead of completed 2023-08-13 22:55:15 +02:00
Bnyro
2abd184f78 fix: wrong indicated download progress 2023-08-13 12:27:15 +02:00
Bnyro
3a106c449b chore: remove unneeded type annotations 2023-08-03 14:39:35 +02:00
Bnyro
8e133f79ca chore: fix project formatting 2023-07-20 15:02:13 +02:00
Bnyro
f65af00d4c fix: download success notification 2023-07-19 10:34:53 +02:00
Bnyro
8b5674f1da Notification action to stop download 2023-06-25 11:35:07 +02:00
Isira Seneviratne
1175d18d77 Simplify toDownloadItems() method 2023-06-25 06:09:11 +05:30
Bnyro
4bb64bee05 Reformat project as attempt to fix the ktlint action 2023-06-24 19:57:00 +02:00
Isira Seneviratne
829ec7eb57 Move DownloadData to a separate package. 2023-06-17 06:55:37 +05:30
Isira Seneviratne
b7d856cd5e Add data class to hold download data. 2023-06-09 07:04:19 +05:30
Bnyro
56525d1118 Significantly increase download speed using range requests 2023-06-08 19:58:45 +02:00
Bnyro
c83d794826 Use the contentLength returned by the API for downloading 2023-06-08 19:38:51 +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
6c146f70db Avoid NoSuchFieldError. 2023-04-24 18:26:24 +05:30
Isira Seneviratne
a080526087 Remove unnecessary NewApi suppressions. 2023-04-18 06:42:45 +05:30
Isira Seneviratne
2ab3f5c0d8 Switch to AndroidX's PendingIntentCompat class. 2023-04-09 17:47:46 +05:30
Isira Seneviratne
38e7693e78 Use getSystemService() extension. 2023-04-02 09:15:01 +05:30
Isira Seneviratne
c6c2b260f1 Add NewApi suppressions. 2023-04-01 09:58:27 +05:30
Isira Seneviratne
13f8b3d49d Use java.nio.file APIs in download functionality. 2023-03-16 09:01:07 +05:30
Isira Seneviratne
77b9923a36 Format upload date in downloads view. 2023-03-07 12:16:21 +05:30
Isira Seneviratne
10aa703aa5 Convert some extension functions to member functions. 2023-02-17 07:23:38 +05:30
Isira Seneviratne
c381437efd Convert DownloadDao methods to suspend functions. 2023-02-15 12:14:45 +05:30
Isira Seneviratne
f155bf8751 Convert DatabaseHolder to an object. 2023-02-12 05:44:22 +05:30
Bnyro
5992b0c567 Fix history showing up when clearing search query 2023-02-08 10:10:46 +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
b5e7aeb5cd Convert delete download dialog to confirmation dialog 2023-02-07 19:31:43 +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
Bnyro
288067b044 [Audio Player] Volume controls 2023-01-31 17:57:24 +01:00
Bnyro
b734c69ea8 Move helpers from .util to .ui.listeners and .helpers 2023-01-31 16:43:39 +01:00
Isira Seneviratne
219a7d7cfe Use Kotlinx Serialization with stream data. 2023-01-19 04:47:49 +05:30
Isira Seneviratne
e306ba8a7f Add PendingIntentCompat helper methods. 2023-01-18 09:43:01 +05:30
Bnyro
1ce7d6761f Apply review from #2469 2023-01-14 18:17:34 +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
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
Krunal Patel
a38ef176ab Fix notification content action to open download fragment 2022-12-21 22:19:29 +05:30