Commit Graph

1585 Commits

Author SHA1 Message Date
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
e0c6401963 Use title as download filename and filter reserved unix characters 2022-12-25 13:17:17 +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
Krunal Patel
03a0f9e1fc Add service start method to DownloadHelper
Move download service method to Download helper and start as foreground.
2022-12-21 21:39:29 +05:30
Krunal Patel
0ba1696448 Use download database for downloads and playback
Use `Download` and `DownloadItem` database for download and offline playback.
2022-12-21 21:39:28 +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
0ecd9fbf28 Add option to hide watched videos from the feed 2022-12-21 12:00:58 +01:00
Bnyro
947077acdc Increase size of alternative related videos 2022-12-21 11:30:53 +01:00
Bnyro
71eb197689 Fix the sorting of playlists in the library 2022-12-21 11:25:38 +01:00
Bnyro
7f2f012a1c fetch available instance from tokhmi as fallback, otherwise use the hardcoded instances 2022-12-20 17:24:53 +01:00
Bnyro
b799bbefd1 improve the player action buttons 2022-12-20 17:05:37 +01:00
Bnyro
d1eb279563 Hide the comments bottom sheet when entering PiP 2022-12-20 16:45:29 +01:00
Bnyro
b607ea945b Theme the pull refresh progress 2022-12-20 16:37:37 +01:00
Bnyro
96fcb851a3 fix crash when restoring a backup with playlists 2022-12-20 15:50:04 +01:00
Bnyro
785180c64f fix the search when no results were found 2022-12-19 17:13:50 +01:00
Bnyro
8345269179 Improve the playlist cloning algorithm 2022-12-19 16:58:34 +01:00
Bnyro
2cb5ee51f5 Add documentation to the seekbar preview 2022-12-17 11:40:30 +01:00
Bnyro
68eff4fd3e Add a seekbar preview on scrubbing 2022-12-17 11:22:46 +01:00
Bnyro
a334c7aba2 Make YT playlist import language independent 2022-12-16 16:28:39 +01:00
Bnyro
4d601f98d4 place the chapter time stamps in front of the chapter name 2022-12-16 15:24:43 +01:00
Bnyro
9dddf7851d Fix issues with notification groups being empty 2022-12-16 15:19:38 +01:00
Bnyro
ea72e777c1 limit the max height of the comments sheet 2022-12-16 15:01:06 +01:00
Bnyro
03973bcc14 Open with button behavior on long pressing Share 2022-12-16 14:55:08 +01:00
Bnyro
d2cbe12723 Check all backup options by default 2022-12-15 19:50:42 +01:00
Bnyro
1a4b3e5a1c run ktlint 2022-12-15 19:48:24 +01:00
Bnyro
8a8ece49da Don't start PiP when the video is paused 2022-12-15 19:40:32 +01:00
Bnyro
6fccb2ad16 Parse the preview images from the streams response 2022-12-15 19:24:26 +01:00
Bnyro
4c0e64d25a fix crash when restoring the preferences backup 2022-12-15 19:16:12 +01:00
Bnyro
5cf055f41b Playlists import from YouTube 2022-12-15 19:10:33 +01:00
Bnyro
197228f6d5 Hightlight the current resolution in the quality selection 2022-12-12 19:17:54 +01:00
Bnyro
59e2358cc5 improve OSD visibility delay when double tap to seek off 2022-12-12 19:06:43 +01:00
Bnyro
d053a2d218 prioritorize long over int on restoring settings backup 2022-12-12 18:58:50 +01:00
Bnyro
a8bfa8fc56 don't load thumbnail into notification in data saver mode 2022-12-12 18:55:54 +01:00
Bnyro
3b79c39a91 parse comments text as HTML 2022-12-12 18:52:16 +01:00
Bnyro
2a24712a9a
Merge pull request #2347 from Bnyro/master
fix crash at playlist page
2022-12-11 11:55:41 +01:00
Bnyro
8850ce1366 fix crash at playlist page 2022-12-11 11:54:58 +01:00
Krunal Patel
ab3ec4d5e2 Fix sync of volume progress changed by other mediums 2022-12-10 23:17:11 +05:30
Bnyro
096a9dffad
Merge pull request #2338 from Bnyro/master
fix crash at playlist page
2022-12-10 16:48:55 +01:00
Bnyro
654ec96a5e fix crash at playlist page 2022-12-10 16:48:31 +01:00
Bnyro
22ca01956f
Merge pull request #2335 from Bnyro/master
Fix not-updating skip/prev buttons
2022-12-10 13:11:58 +01:00