Commit Graph

52 Commits

Author SHA1 Message Date
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
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
Bnyro
197228f6d5 Hightlight the current resolution in the quality selection 2022-12-12 19:17:54 +01:00
Bnyro
a629b066f4 fix download notifications 2022-12-10 13:03:47 +01:00
Bnyro
b1f06d92b3 fix some issues with downloads 2022-11-11 18:39:56 +01:00
Bnyro
7d2eff7488 use enums 2022-11-06 10:11:19 +01:00
shantanu1k
3c878c3148 minor fix 2022-10-24 10:59:56 +05:30
shantanu1k
d1ae2e5096 Formatted with ktlint 2022-10-23 23:12:33 +05:30
shantanu1k
8bd8be1522 Fixed string resources 2022-10-23 22:55:34 +05:30
shantanu1k
42ce52bf29 Changed the download notification title 2022-10-23 21:23:20 +05:30
shantanu1k
a066363e88 Modified the notification visibility for audio 2022-10-22 23:34:55 +05:30
shantanu1k
234ca8c08f Simplified the download notification 2022-10-22 14:59:33 +05:30
Bnyro
500e56e760 add metadata to downloads 2022-10-10 16:58:26 +02:00
Bnyro
d99386bbc2 get rid of globals 2022-09-19 20:07:55 +02:00
Bnyro
e7c4040c20 sanitize file names 2022-09-18 17:14:09 +02:00
Bnyro
cf46afdc86 cleanup 2022-09-10 11:51:50 +02:00
Bnyro
79cc9055b2 allow downloading audio and video 2022-09-09 17:39:49 +02:00
Bnyro
193c9b0e46 change download destination 2022-09-09 13:11:54 +02:00
Bnyro
6ea46b8cb5 ktlint 2022-09-08 18:42:52 +02:00
Bnyro
93ceef71cc fix errors and warnings 2022-09-08 18:41:57 +02:00
Bnyro
0272a00a0a move constants to its own package 2022-09-08 18:29:00 +02:00
Bnyro
298023b702 add legacy subscriptions view 2022-08-24 17:56:57 +02:00
Bnyro
e1b078ecd8 cleanup 2022-08-14 09:55:28 +02:00
Bnyro
8e86b35477 remove ffmpeg and allow downloading by video name 2022-08-03 09:05:34 +02:00
Bnyro
357978f09e cleanup notifcation channels 2022-07-30 11:21:18 +02:00
Bnyro
dcbfd0a071 cleanup 2022-07-18 19:29:56 +02:00
Bnyro
ebcd11d00c support for silent updates 2022-07-18 19:15:35 +02:00
Bnyro
74f6f7a626 cleanup preference keys 2022-07-17 18:18:39 +02:00
Bnyro
3f6a22ade8 make PreferenceHelper context independent 2022-07-17 17:19:55 +02:00
Bnyro
ff6da91fa4 cleanup 2022-07-11 22:00:56 +02:00