Commit Graph

66 Commits

Author SHA1 Message Date
Bnyro
b09b9ad3bf React to changes in the player notification 2023-01-13 18:44:41 +01:00
Bnyro
186925dfa1 Add play and pause functionality 2023-01-13 18:35:38 +01:00
Isira Seneviratne
56c76249eb Use ServiceCompat. 2023-01-11 07:37:13 +05:30
Bnyro
8cbb189bcf Fix that background mode doesn't start from beginning 2023-01-08 17:51:31 +01:00
Bnyro
e021a52dbc Reduce the amount of used data in background mode 2023-01-08 15:54:48 +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
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
632f4d6df4 allow clicking queue items 2022-11-06 11:50:04 +01:00
Bnyro
8474471691 cleanup sponsorblock 2022-10-28 23:39:25 +02:00
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
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
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
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
f6c0a2bc15 don't block UI thread & fix crash when hls eq null 2022-09-15 15:54:02 +02:00
Bnyro
7c0b99f333 toast when instance unreachable 2022-09-15 15:41:01 +02:00
Bnyro
d354c2b3cc pause when unplugging headphones 2022-09-09 18:14:23 +02:00
Bnyro
f8dabbda4e bug fixes 2022-09-08 20:19:44 +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
771dee9b2e fix warnings 2022-08-27 15:13:24 +02:00
Bnyro
c9007e3456 fix background mode crash 2022-08-23 09:11:13 +02:00
Bnyro
e1b078ecd8 cleanup 2022-08-14 09:55:28 +02:00
Bnyro
ffb3dd6743 final touches 2022-08-10 16:23:57 +02:00
Bnyro
103376eb6b same for background mode 2022-08-10 15:53:34 +02:00
Bnyro
ed87a7b33a playback queue 2022-08-10 15:49:31 +02:00
Bnyro
c4d9de3566 background mode playback speed option 2022-08-09 15:07:12 +02:00
Bnyro
a39b03e778 fix crash 2022-08-08 12:01:25 +02:00
Bnyro
57b3053b58 use better tags 2022-08-08 11:38:50 +02:00
Bnyro
077d5728fa fix auth api playlists 2022-08-08 11:25:31 +02:00