Commit Graph

481 Commits

Author SHA1 Message Date
andrew-ld
5b5a644cce feat: support hardware keys for playback control 2023-08-09 22:56:57 +02:00
Bnyro
81c576506c fix: queue when not starting with first playlist/channel video 2023-08-07 18:59:37 +02:00
Bnyro
d3d78a93ce feat: forward and rewind controls for audio player 2023-08-04 18:28:58 +02:00
Bnyro
05fa57b912 refactor: replace View#setVisibility with kotlin visibility extension 2023-08-03 14:53:09 +02:00
Bnyro
84bcd28c2a feat: seekbar preview for downloaded videos 2023-07-29 18:00:30 +02:00
Bnyro
6314b7fcf7 refactor: simplify seekbar preview listener logic 2023-07-29 17:25:32 +02:00
Kavin
e6e70a597d
Sort videoIds before performing DeArrow fetch. 2023-07-22 18:20:05 +01:00
Bnyro
c62aadacfc fix: improve filtering of DeArrow titles and thumbnails 2023-07-21 09:02:07 +02:00
Bnyro
8e133f79ca chore: fix project formatting 2023-07-20 15:02:13 +02:00
Bnyro
04b9a3a4c9 feat: support for DeArrow 2023-07-20 15:01:21 +02:00
Bnyro
c052075380 Support track types for HLS streams
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
2023-07-16 20:11:23 +02:00
Bnyro
4bb64bee05 Reformat project as attempt to fix the ktlint action 2023-06-24 19:57:00 +02:00
Bnyro
5fa479fbca Fix that seekbar preview frames are sometimes cut off 2023-06-24 19:52:03 +02:00
Myzel394
e42af2adb0
Add Sponsorblock highlight to chapters (#4060)
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-06-24 19:38:39 +02:00
Bnyro
dfef007bd9 Respect queue settings when using player controls 2023-06-11 14:50:05 +02:00
Bnyro
6d90c7d69c Fix that the info in the audio player doesn't update 2023-06-01 18:03:59 +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
Isira Seneviratne
7ff4b60cd1 Use WEEK_IN_MILLIS flag to format weeks. 2023-04-24 19:36:38 +05:30
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
0b2bd1f7d9 Convert timestamp parsing method to an extension function. 2023-03-25 06:23:52 +05:30
Isira Seneviratne
21eae99eae Use only the date in relative time formatting. 2023-03-20 08:53:08 +05:30
Bnyro
b78f98d813
Simplify playing queue logic (#3324)
* Simplify playing queue logic
2023-03-18 17:28:48 +01:00
Isira Seneviratne
65d07b54a4 Fix relative time formatting on Android versions below 7.0. 2023-03-03 20:34:03 +05:30
Isira Seneviratne
57477ff9fd Format watch history item dates. 2023-03-01 19:56:13 +05:30
Isira Seneviratne
a8c8940026 Use toBitmap(). 2023-03-01 05:02:51 +05:30
Bnyro
44e66d0d74 Don't insert videos having a blank title to queue 2023-02-27 18:38:36 +01:00
Bnyro
5fa4233561 Stats for nerds 2023-02-22 11:15:43 +01:00
Isira Seneviratne
17f76fde31 Use ChronoUnit in formatRelativeDate(). 2023-02-21 07:05:59 +05:30
Bnyro
207e6cb6fc Improved relative date time formatting 2023-02-20 10:16:58 +01:00
Isira Seneviratne
bce6648a0a Use Patterns.EMAIL_ADDRESS regex. 2023-02-20 05:30:25 +05:30
Isira Seneviratne
10aa703aa5 Convert some extension functions to member functions. 2023-02-17 07:23:38 +05:30
Isira Seneviratne
27f338cf72 Remove uses of String.all(). 2023-02-01 05:44:27 +05:30
Bnyro
b734c69ea8 Move helpers from .util to .ui.listeners and .helpers 2023-01-31 16:43:39 +01:00
Bnyro
f274dd205b Fix the importing of playlists 2023-01-31 16:23:34 +01:00
Bnyro
7b23da5eca Reload playlists after successfully cloning 2023-01-31 15:55:02 +01:00
Isira Seneviratne
96c41927fd Use Handler.postDelayed() extension to put the lambdas outside parentheses. 2023-01-30 08:36:44 +05:30
Isira Seneviratne
f522f1e1de Use Handler.postDelayed() extension with tokens. 2023-01-30 08:19:26 +05:30
Isira Seneviratne
fd319a0d49 Use HttpUrl in TextUtils. 2023-01-29 10:20:50 +05:30
Bnyro
bf7f855c7a
Merge pull request #2873 from Isira-Seneviratne/updateLayoutParams
Use View.updateLayoutParams() extensions.
2023-01-26 13:44:06 +01:00
Isira Seneviratne
738f943a13 Use View.updateLayoutParams() extensions. 2023-01-26 08:58:12 +05:30
Isira Seneviratne
b9c1b00ae5 Use parseAsHtml() extension. 2023-01-26 07:20:16 +05:30