85 Commits

Author SHA1 Message Date
Bnyro
caaa095faf
feat: smoother, frictionless transition between audio and video mode 2025-03-31 18:40:48 +02:00
Bnyro
6ed0bfe0b1 fix: queue buttons dont work 2024-11-18 21:56:09 +01:00
Bnyro
3d7cde97bc fix: pressing video notification when playing offline 2024-11-18 18:52:15 +01:00
Bnyro
17b642127c refactor: Migrate to MediaLibraryService 2024-11-17 18:03:25 +01:00
Bnyro
520bf34434 feat: audio player support for no internet activity 2024-10-20 16:25:12 +02:00
Bnyro
21d4e03509 fix: can't open audio player via notification in downloads 2024-10-16 10:58:51 +02:00
Bnyro
9b68e4faea feat: audio player UI for downloads 2024-10-06 16:03:00 +02:00
Bnyro
db0dc4c4fc refactor: use Coil exclusively for image loading 2024-10-06 13:54:10 +02:00
Bnyro
4834650f81 fix: crash when destroying activity after media session 2024-06-30 17:14:00 +02:00
Nur Shuvo
607468216c
fix: clear notification when app is killed from recent tasks (#6063) 2024-05-26 18:26:00 +02:00
Bnyro
6780f62c2c refactor: simplify notification/player actions logic 2024-04-18 18:48:28 +02:00
Bnyro
70bfaddb2e chore: reformat code using ktlint 2024-02-28 13:39:55 +01:00
Bnyro
bf0d6bde2c chore: bump target sdk to 34 and fix pip issues 2024-02-26 12:33:30 +01:00
Bnyro
0b059ccc12 feat(player): support for keyboard navigation 2024-02-19 21:56:33 +01:00
Bnyro
00babc7586 refactor: simplify NowPlayingNotification.kt 2024-02-18 17:13:51 +01:00
Bnyro
0a4ccae79a refactor: don't recreate player on orientation change 2024-02-18 16:59:53 +01:00
Manish Kumar Verma
9b7dcfacf3 fix: Replay video from notification player 2024-01-24 00:47:58 +05:30
Bnyro
6616ad40bf refactor: store notification ids in an enum 2024-01-22 14:12:00 +01:00
FineFindus
784d7909d3 Ensure correct actions management. 2024-01-03 16:30:24 +01:00
RafaRamos
65f113c445
fix: ensure correct persistent notification lifecycle (#5388)
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-12-30 16:11:30 +01:00
Bnyro
998abf8252 fix: clicking now playing notification in offline player opens audio player 2023-12-23 10:33:22 +01:00
FineFindus
b1c16cc622
style: run ktlint 2023-10-11 18:13:32 +02:00
Bnyro
1d236ded79 feat: allow resuming playback after disconnect 2023-09-10 14:33:28 +02:00
Bnyro
315f596776 refactor: move constants into the files they're actually used in 2023-09-10 12:51:03 +02:00
Bnyro
6a2c83a7bb fix: crash when an other media session with the same name exists 2023-09-08 15:38:01 +02:00
Isira Seneviratne
d808a48529 fix: Handle PendingIntentCompat changes 2023-09-08 05:15:12 +05:30
andrew-ld
3814fb76be fix: show buffer indicator in player notification 2023-08-12 14:59:31 +02:00
Bnyro
6a341f784b chore: simplify and fix some mediasessioncompat regressions 2023-08-10 13:33:52 +02:00
Bnyro
698f783df3 fix: improve thumbnail quality in notification 2023-08-10 11:44:12 +02:00
andrew-ld
5b5a644cce feat: support hardware keys for playback control 2023-08-09 22:56:57 +02:00
Bnyro
d3d78a93ce feat: forward and rewind controls for audio player 2023-08-04 18:28:58 +02:00
Bnyro
8e133f79ca chore: fix project formatting 2023-07-20 15:02:13 +02:00
Bnyro
4bb64bee05 Reformat project as attempt to fix the ktlint action 2023-06-24 19:57:00 +02:00
Bnyro
b1c4dba54d Kill background player when notification dismissed below SDK 27 2023-05-23 17:43:18 +02:00
Bnyro
7364986afe Fix notification actions on older Android versions and react on playback changes 2023-05-22 16:51:33 +02:00
Bnyro
33de6ca827 Remove PlayerNotificationManager left overs 2023-05-22 16:32:24 +02:00
Bnyro
b52583855e Built the notificaton without the PlayerNotificationManager 2023-05-22 15:59:10 +02:00
Bnyro
024d55dd16 Fix thumbnail quality in notification and use proper metadata 2023-05-18 16:37:00 +02:00
Bnyro
03d712d834 Media3: Fix notification actions and their position 2023-05-18 16:16:40 +02:00
Bnyro
95e65ae7e3 Migration to Media3 2023-05-15 17:21:49 +02:00
Bnyro
ffb31c3fc7 Fix CI builds by migrating the code to ktlint 0.49.0 2023-05-09 18:41:05 +02:00
Bnyro
dcdd1af176 Audio/background player for downloads 2023-04-10 15:54:09 +02:00
Isira Seneviratne
2ab3f5c0d8 Switch to AndroidX's PendingIntentCompat class. 2023-04-09 17:47:46 +05:30
Isira Seneviratne
38e7693e78 Use getSystemService() extension. 2023-04-02 09:15:01 +05:30
Isira Seneviratne
a8c8940026 Use toBitmap(). 2023-03-01 05:02:51 +05:30
Bnyro
b734c69ea8 Move helpers from .util to .ui.listeners and .helpers 2023-01-31 16:43:39 +01:00
Isira Seneviratne
b2e32105d3 Use bundleOf(). 2023-01-22 05:14:25 +05:30
Bnyro
a5c3132916 Fix the notification thumbnail vanishing 2023-01-21 11:24:25 +01:00
Isira Seneviratne
e306ba8a7f Add PendingIntentCompat helper methods. 2023-01-18 09:43:01 +05:30
Bnyro
ec49d3e61e fix ktlint 2023-01-16 14:58:53 +01:00