Commit Graph

98 Commits

Author SHA1 Message Date
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
8345269179 Improve the playlist cloning algorithm 2022-12-19 16:58:34 +01:00
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
81b14cfcd2 Hide the nav bar when zero items selected 2022-12-08 18:00:00 +01:00
Bnyro
ffcd7b7655 add support for playing the latest videos of a channel 2022-12-02 14:45:52 +01:00
Krunal Patel
93546382b9 Fix service not stopping on close video or removed from recents
Stop the `BackgroundMode` service when close icon on player is pressed.

Stop the `BackgroundMode` service when app is removed by user from task manager.
2022-11-30 11:02:19 +05:30
Bnyro
dde560e930 option to not auto-insert related videos 2022-11-22 16:59:24 +01:00
Bnyro
7c3780137d fix the watch position pref 2022-11-21 15:34:43 +01:00
Bnyro
6ca290b790 ktlint 2022-11-20 17:12:20 +01:00
Bnyro
11e7b3ac01 add support for the queue 2022-11-20 17:09:07 +01:00
Bnyro
3aca124372 fix updater issues 2022-11-19 16:24:38 +01:00
Bnyro
499c629923 fix crash when removing notification 2022-11-19 15:18:05 +01:00
Bnyro
6db616591c cleanup database queries 2022-11-18 18:42:59 +01:00
Bnyro
0786e8f87c add option for it 2022-11-12 19:04:40 +01:00
Bnyro
b1f06d92b3 fix some issues with downloads 2022-11-11 18:39:56 +01:00
Bnyro
632f4d6df4 allow clicking queue items 2022-11-06 11:50:04 +01:00
Bnyro
7d2eff7488 use enums 2022-11-06 10:11:19 +01:00
Bnyro
8474471691 cleanup sponsorblock 2022-10-28 23:39:25 +02: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
Shantanu Kawade
d76a18d20b
Merge branch 'libre-tube:master' into master 2022-10-23 21:28:50 +05:30
shantanu1k
42ce52bf29 Changed the download notification title 2022-10-23 21:23:20 +05:30
Bnyro
3599d97a1f Add the queue to the background mode 2022-10-23 16:04:15 +02:00
Bnyro
02d4321a2d Replace the autoPlayHelper with the PlayingQueue 2022-10-23 14:43:47 +02:00
Bnyro
41162fafac Add functionality 2022-10-23 13:39:15 +02:00
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
3b13cc4efb Fix the wrong error on the subscriptions page 2022-10-21 18:35:35 +02:00
Bnyro
b1362744fc Properly destroy the background mode service 2022-10-18 19:40:28 +02:00
Bnyro
7e3bda7418 Background play: Respect watch positions 2022-10-17 19:18:34 +02:00
Bnyro
3ede5650c6 load the video when clicking the notification 2022-10-17 19:09:08 +02:00
Bnyro
500e56e760 add metadata to downloads 2022-10-10 16:58:26 +02:00
Bnyro
e718937dd6 more cleanup + more features for the offline player 2022-10-07 19:39:41 +02:00
Bnyro
6aa98a9c31 toast on errors in backgroundmode 2022-09-26 19:16:13 +02:00
Bnyro
1d3df8aeb1 fix wildcards 2022-09-22 18:01:03 +02:00
Bnyro
228ec7860a remove unused code 2022-09-22 17:59:15 +02:00
Bnyro
333e6b152f save the watch position when pausing 2022-09-22 16:59:51 +02:00
Bnyro
eab603acb8 ktlint 2022-09-20 20:00:51 +02:00
Bnyro
8e4b03a13b fix updater 2022-09-20 20:00:15 +02:00
Bnyro
f9f634de1a code structure 2022-09-20 19:53:34 +02:00
Bnyro
c835f5ab80 minor improvements 2022-09-19 21:43:13 +02:00
Bnyro
0db7821418 improve playing queue 2022-09-19 21:37:30 +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
f6c0a2bc15 don't block UI thread & fix crash when hls eq null 2022-09-15 15:54:02 +02:00