Commit Graph

117 Commits

Author SHA1 Message Date
FineFindus
42d081f04e
fix(player): allow pausing while loading
Fixes https://github.com/libre-tube/LibreTube/issues/4784, the player should only pause when it has no buffer to play, not when it is loading, as it always loads, until the allocated buffer is full.
2023-09-17 11:32:21 +02:00
Bnyro
67d82c28ac style: fix formatting 2023-09-10 14:36:29 +02:00
Bnyro
1d236ded79 feat: allow resuming playback after disconnect 2023-09-10 14:33:28 +02:00
Isira Seneviratne
ba2b918ebc refactor: Remove BuildCompat calls 2023-09-08 05:15:12 +05:30
Isira Seneviratne
418d7a4412 refactor: Combine Bundle extensions to one file 2023-09-04 04:52:23 +05:30
Isira Seneviratne
63fde6271d refactor: Simplify player event handling 2023-08-20 07:30:59 +05:30
Bnyro
6a341f784b chore: simplify and fix some mediasessioncompat regressions 2023-08-10 13:33:52 +02:00
Bnyro
d3d78a93ce feat: forward and rewind controls for audio player 2023-08-04 18:28:58 +02:00
Bnyro
c4cc2ca6ac fix: preserve the video order of imported playlists 2023-07-31 15:13:49 +02:00
Bnyro
8e133f79ca chore: fix project formatting 2023-07-20 15:02:13 +02:00
Bnyro
110d29c50a feat: add 'Continue watching' section to home tab 2023-07-19 09:26:24 +02:00
Bnyro
4bb64bee05 Reformat project as attempt to fix the ktlint action 2023-06-24 19:57:00 +02:00
Isira Seneviratne
5bb4f303b0 Add PlayerData class. 2023-06-17 19:04:19 +05:30
Isira Seneviratne
b7d856cd5e Add data class to hold download data. 2023-06-09 07:04:19 +05:30
Bnyro
c83d794826 Use the contentLength returned by the API for downloading 2023-06-08 19:38:51 +02:00
Bnyro
1fb2b2174c Fix crash when opening description while chapter updates 2023-06-08 19:15:14 +02:00
Bnyro
373d0136ba Don't rely on Locale#getDefault for the currently set locale 2023-06-02 16:24:47 +02:00
Bnyro
024d55dd16 Fix thumbnail quality in notification and use proper metadata 2023-05-18 16:37:00 +02:00
Bnyro
95e65ae7e3 Migration to Media3 2023-05-15 17:21:49 +02:00
Bnyro
cd12dbd7db Merge AGP_8.0 with upstream and fix some deprecations 2023-05-10 19:39:37 +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
a080526087 Remove unnecessary NewApi suppressions. 2023-04-18 06:42:45 +05:30
Isira Seneviratne
38e7693e78 Use getSystemService() extension. 2023-04-02 09:15:01 +05:30
Isira Seneviratne
3bc3f26f06 Fix lint issue. 2023-03-26 15:33:18 +05:30
Bnyro
42000a74dd Use the toastFromMainThread extension 2023-03-26 11:11:22 +02:00
Isira Seneviratne
26735d2f88 Use CompactDecimalFormat to format counts. 2023-03-25 19:00:41 +05:30
Bnyro
65a45456ba Simplify number formatting 2023-03-23 20:05:38 +01:00
Bnyro
a552004df1
Merge pull request #3318 from Isira-Seneviratne/updateParameters_inline
Convert updateParameters() to an inline function.
2023-03-17 07:11:56 +01:00
Isira Seneviratne
105d345301 Add toAndroidUriOrNull() extension. 2023-03-17 09:17:33 +05:30
Isira Seneviratne
9b06f83b48 Convert updateParameters() to an inline function. 2023-03-17 09:09:36 +05:30
Isira Seneviratne
13f8b3d49d Use java.nio.file APIs in download functionality. 2023-03-16 09:01:07 +05:30
Isira Seneviratne
4996023ee8 Remove BaseFragment. 2023-02-25 12:45:54 +05:30
Isira Seneviratne
675340a190 Convert PlaylistBookmarkDao methods to suspend functions. 2023-02-24 07:04:26 +05:30
Isira Seneviratne
c4c6ff5543 Fix package. 2023-02-17 07:23:39 +05:30
Isira Seneviratne
10aa703aa5 Convert some extension functions to member functions. 2023-02-17 07:23:38 +05:30
Bnyro
22af1f9362 [Download dialog] Cleanup and sort by quality 2023-02-12 16:35:55 +01:00
Bnyro
59a1378531 Handle errors properly on home fragmemt 2023-02-12 16:01:51 +01:00
Isira Seneviratne
3d7ef76d52 Convert import helper methods to suspend functions. 2023-02-05 06:17:21 +05:30
Bnyro
b734c69ea8 Move helpers from .util to .ui.listeners and .helpers 2023-01-31 16:43:39 +01:00
Isira Seneviratne
99f031f155 Use takeWhile() extension. 2023-01-30 19:23:44 +05:30
Bnyro
9ec166dcef Better download file naming scheme 2023-01-26 19:25:23 +01:00
Bnyro
93b073a357 Simplify the PlayerFragment 2023-01-23 18:38:03 +01:00
Bnyro
f27360d02c Reduce the player top bar margin 2023-01-23 18:29:05 +01:00
Isira Seneviratne
219a7d7cfe Use Kotlinx Serialization with stream data. 2023-01-19 04:47:49 +05:30
Bnyro
7a90acd824
Merge branch 'master' into feat/new-downloader 2023-01-14 17:54:02 +01:00
Bnyro
36db1d49e0 Cleanup the notification worker 2023-01-08 16:39:22 +01:00
Bnyro
2db5852459 Add bookmark option to playlist options bottom sheet 2023-01-04 19:27:36 +01:00
Bnyro
09d3e496a3
Merge branch 'master' into feat/new-downloader 2022-12-28 17:48:30 +01:00
Krunal Patel
fa924fe84f Fix ktlint format 2022-12-25 18:36:23 +05:30
Krunal Patel
e0c6401963 Use title as download filename and filter reserved unix characters 2022-12-25 13:17:17 +05:30