86 Commits

Author SHA1 Message Date
Bnyro
1366578f5a Option to manage Playback Speed ​​of Audio and Video Mode Separately 2023-02-16 20:23:46 +01:00
Bnyro
e4627fd156 Fix SponsorBlock segment loop at end of video 2023-02-12 13:27:35 +01:00
Bnyro
9746d5a5fd Refactor the SponsorBlock segment handling 2023-02-12 13:17:44 +01:00
Bnyro
7648f1822f Option to disable watch positions in audio mode 2023-02-12 12:55:31 +01:00
Isira Seneviratne
f155bf8751 Convert DatabaseHolder to an object. 2023-02-12 05:44:22 +05:30
Isira Seneviratne
df565bb8da Fix lint issues. 2023-02-08 07:41:51 +05:30
Isira Seneviratne
5e6d171675 Convert DownloadService and BackgroundMode to lifecycle services. 2023-02-08 04:50:45 +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
56763ec1a9 Merge branch 'master' into KotlinX_Serialization
# Conflicts:
#	app/src/main/java/com/github/libretube/ui/adapters/SearchAdapter.kt
2023-01-21 17:24:37 +05:30
Bnyro
79fab618df Apply playback params for all players 2023-01-21 12:07:28 +01:00
Bnyro
b03d080316 Use the same playback speed for background and video mode 2023-01-21 11:59:44 +01:00
Bnyro
7ffe3a6ed9 [Audio Mode] Share, playback and queue controls 2023-01-21 11:46:56 +01:00
Isira Seneviratne
61fba85afd Merge branch 'master' into KotlinX_Serialization 2023-01-20 08:50:06 +05:30
Bnyro
074ab20202 Use the same audio attributes and load control for all players 2023-01-19 17:48:35 +01:00
Isira Seneviratne
60706c2d87 Remove remaining Jackson code. 2023-01-19 18:14:37 +05:30
Bnyro
4e978faea3 Fix unexpected audio queue behavior 2023-01-16 18:33:11 +01:00
Bnyro
f588073607 Add audio only mode 2023-01-14 16:59:21 +01:00
Bnyro
a21b8715b3 Fix the queue order in the background player mode 2023-01-14 15:44:31 +01:00
Bnyro
773a41d830 Keep the queue when entering the audio only mode 2023-01-14 12:01:14 +01:00
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