Commit Graph

1872 Commits

Author SHA1 Message Date
Bnyro
d8cd1d46b8
Merge pull request #2896 from Isira-Seneviratne/ActivityCompat_recreate
Use ActivityCompat.recreate().
2023-01-29 08:30:08 +01:00
Bnyro
1efc73950d
Merge pull request #2893 from Isira-Seneviratne/Backup_timestamp
Use DateTimeFormatter to create backup file timestamp.
2023-01-29 08:29:02 +01:00
Praveen Rajput
275f304472
Merge branch 'libre-tube:master' into master 2023-01-29 11:11:12 +05:30
Praveen Rajput
2fcaea9ad6 Refactors keepScreenOn method 2023-01-29 11:08:51 +05:30
Isira Seneviratne
8c067dd32e Use ActivityCompat.recreate(). 2023-01-29 10:58:55 +05:30
Isira Seneviratne
fd319a0d49 Use HttpUrl in TextUtils. 2023-01-29 10:20:50 +05:30
Isira Seneviratne
71976f45c1 Use DateTimeFormatter to create backup file timestamp. 2023-01-29 05:58:17 +05:30
faisalcodes
c2da09ab77 Run ktlint 2023-01-28 23:44:35 +05:30
faisalcodes
4b395e0372 Fixes #2878 : Using multi-level comments display. 2023-01-28 23:42:51 +05:30
Bnyro
1eb50adf5e Fix cloning playlists in the create playlist dialog 2023-01-28 18:02:13 +01:00
Praveen Rajput
6795026a94 Keep screen on only while video is playing #2877
- Fixes Screen stays on when video is paused (no timeout)
2023-01-28 05:13:47 +05:30
Bnyro
326df3970a
Merge pull request #2880 from Bnyro/master
Don't kill the app when closing through PiP
2023-01-27 16:33:10 +01:00
Bnyro
34c0d8d72e Fix unresponsive screen when closing through PiP 2023-01-27 16:32:45 +01:00
Bnyro
a3e0c40a0f Don't kill the app when closing through PiP 2023-01-27 16:29:59 +01:00
Bnyro
378dc1326b
Merge pull request #2875 from Bnyro/master
Better download file naming scheme
2023-01-26 19:25:52 +01:00
Bnyro
9ec166dcef Better download file naming scheme 2023-01-26 19:25:23 +01:00
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
Isira Seneviratne
0d5a56da1c Check if the connected network is metered in NetworkHelper. 2023-01-25 20:31:32 +05:30
Bnyro
1972c0a45d Show whole title when description visible 2023-01-24 20:05:25 +01:00
Bnyro
68f87c56aa
Merge pull request #2842 from Isira-Seneviratne/LocalSubscriptionDao_suspend
Use suspend functions in LocalSubscriptionDao.
2023-01-24 19:53:48 +01:00
Bnyro
0c296ddf60 Fix crash in watch history when deleting video 2023-01-24 19:52:12 +01:00
Bnyro
20584f33b2
Fix the chapter title in the player
closes #2850
2023-01-24 10:05:12 +01:00
Isira Seneviratne
e238154217 Merge branch 'master' into LocalSubscriptionDao_suspend
# Conflicts:
#	app/src/main/java/com/github/libretube/util/BackupHelper.kt
2023-01-24 04:40:59 +05:30
Bnyro
7b16580cb1 Always use the chapters dialog as on title click action 2023-01-23 18:40:04 +01:00
Bnyro
93b073a357 Simplify the PlayerFragment 2023-01-23 18:38:03 +01:00
Bnyro
4815cc2b3e Fix ktlint 2023-01-23 18:29:27 +01:00
Bnyro
f27360d02c Reduce the player top bar margin 2023-01-23 18:29:05 +01:00
Bnyro
be514f1a45 Don't load the whole watch history at once 2023-01-23 18:21:51 +01:00
Bnyro
f6a42cc8a0 Simplify scroll listeners 2023-01-23 18:02:10 +01:00
Bnyro
22dce72e95 Limit the watch history size to 100 by default 2023-01-23 17:55:48 +01:00
Bnyro
93b235abea Fix backup backwards compatibility 2023-01-23 15:15:03 +01:00
Isira Seneviratne
cf9c6ffb99 Convert LocalSubscriptionDao methods to suspend functions, remove unused methods. 2023-01-23 19:14:49 +05:30
Bnyro
cbbfa64f76 [Audio mode] Show video options when clicking thumbnail 2023-01-22 19:50:50 +01:00
Bnyro
a04fb31947 Use Duration#parse for parsing timestamps 2023-01-22 19:45:25 +01:00
Bnyro
054846eb22 Fix clicking description links 2023-01-22 19:39:39 +01:00
Bnyro
4beb77fb11 Cleanup with some when expressions 2023-01-22 19:35:36 +01:00
Bnyro
ff6a0f1138 Keep the screen on while playing in the offline player 2023-01-22 19:27:08 +01:00
Bnyro
f119e39a1e
Merge pull request #2814 from Isira-Seneviratne/addCallback
Use OnBackPressedDispatcher.addCallback() extension.
2023-01-22 15:48:06 +01:00
Isira Seneviratne
5d3e54852d Add default values for the channel fields without existing defaults. 2023-01-22 17:05:37 +05:30
Isira Seneviratne
e96f36f277 Allow null bannerUrl values. 2023-01-22 16:27:14 +05:30
Isira Seneviratne
16922455d0 Use OnBackPressedDispatcher.addCallback() extension. 2023-01-22 06:06:29 +05:30
Isira Seneviratne
b2e32105d3 Use bundleOf(). 2023-01-22 05:14:25 +05:30
Bnyro
dd1821ada3
Merge pull request #2755 from Isira-Seneviratne/KotlinX_Serialization
Switch to Kotlinx Serialization.
2023-01-21 18:59:56 +01:00
Bnyro
a5304e3135
Merge pull request #2802 from Bnyro/master
[Audio Player] Auto scroll the title and uploader
2023-01-21 18:45:04 +01:00
Bnyro
c3b08ef5f6 Improve behavior when seeking to next video 2023-01-21 18:44:45 +01:00
Bnyro
f2fce67454 [Audio Player] Auto scroll the title and uploader 2023-01-21 18:31:50 +01:00
Bnyro
2adc8380fd
Merge pull request #2799 from Bnyro/master
[Audio player] Indefinite progress while loading thumbnails
2023-01-21 18:21:29 +01:00
Bnyro
00cf7d89d5 [Audio player] Indefinite progress while loading thumbnails 2023-01-21 18:20:45 +01:00
Bnyro
6b9bd70dba
Merge pull request #2796 from Bnyro/master
Remember position when switching from audio to video mode
2023-01-21 18:01:42 +01:00
Bnyro
9650f32f67 Remember position when switching from audio to video mode 2023-01-21 18:01:08 +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
7a65a477d9
Merge pull request #2790 from Bnyro/master
Apply the remembered playback params for all players
2023-01-21 12:07:56 +01:00
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
ecabc7348c Fix crash when removing callbacks 2023-01-21 11:57:43 +01:00
Bnyro
33d09eb251
Merge pull request #2789 from Bnyro/master
[Audio Mode] Share, playback, queue and open video controls
2023-01-21 11:54:28 +01:00
Bnyro
ee0607fb07 Add control to open the video from the audio player 2023-01-21 11:53:52 +01:00
Bnyro
7ffe3a6ed9 [Audio Mode] Share, playback and queue controls 2023-01-21 11:46:56 +01:00
Bnyro
497bc9c2dd
Merge pull request #2788 from Bnyro/master
Fix the notification thumbnail vanishing
2023-01-21 11:24:48 +01:00
Bnyro
a5c3132916 Fix the notification thumbnail vanishing 2023-01-21 11:24:25 +01:00
Bnyro
2acd53515c
Merge pull request #2787 from Bnyro/master
Fix queue starts wrong video after reordering
2023-01-21 11:20:04 +01:00
Bnyro
c2f0d68ddf Fix queue starts wrong video after reordering 2023-01-21 11:19:47 +01:00
Bnyro
1d7f9b2f60
Merge pull request #2786 from Bnyro/master
Don't hide player controls when touching 'em
2023-01-21 11:14:26 +01:00
Bnyro
00c607db49 Don't hide player controls when touching 'em 2023-01-21 11:13:58 +01:00
Bnyro
e3ad011de6
Merge pull request #2785 from Bnyro/master
Fix the different colors of navigation and bottom bar
2023-01-21 11:08:39 +01:00
Bnyro
87519742da Use the same elevation for nav and bottom bar 2023-01-21 11:08:32 +01:00
Bnyro
c01cee3f83 Use a lower elevation for the navigation bar 2023-01-21 11:06:16 +01:00
Bnyro
ebfb5c70fc
Merge pull request #2784 from Bnyro/master
Fix that live videos are tagged as shorts
2023-01-21 11:03:58 +01:00
Bnyro
cf5ef1292f Use isShort to display the shorts label 2023-01-21 11:03:24 +01:00
Bnyro
4c60035c0f
Merge pull request #2783 from Bnyro/master
Apply top bar for vertical fullscreen too
2023-01-21 10:58:21 +01:00
Bnyro
089e72b0c7 Apply top bar for vertical fullscreen too 2023-01-21 10:57:43 +01:00
Isira Seneviratne
e00b0c8263 Use Kotlinx Serialization with the subscription import/export functionality. 2023-01-21 10:32:08 +05:30
Isira Seneviratne
554fe0c3bf Use ViewCompat.getRootWindowInsets(). 2023-01-21 07:01:28 +05:30
Isira Seneviratne
187c7ac0e9 Merge branch 'master' into KotlinX_Serialization
# Conflicts:
#	gradle/libs.versions.toml
2023-01-21 04:50:23 +05:30
Bnyro
e4cbb2b90c Fix the extra padding for the vertical plaeyr 2023-01-20 19:39:51 +01:00
Bnyro
3cef897e89 Hide system bars on shorts 2023-01-20 19:31:18 +01:00
Bnyro
c1c0e5f6f1 Only show extra padding when there's a notch 2023-01-20 19:00:49 +01:00
Bnyro
fbf9c30e9a Hide the status bar when hiding the controllers 2023-01-20 18:49:53 +01:00
Bnyro
3da6b0678a Keep space for the status bar in player 2023-01-20 18:48:29 +01:00
Bnyro
8431716a14 Use custom animation handlers for player controls 2023-01-20 18:34:11 +01:00
Bnyro
6599635756 Only auto enter PiP when enabled 2023-01-20 17:56:49 +01:00
Isira Seneviratne
61fba85afd Merge branch 'master' into KotlinX_Serialization 2023-01-20 08:50:06 +05:30
Isira Seneviratne
07b59e1de0 Avoid type issues when restoring a backup. 2023-01-20 04:45:55 +05:30
Isira Seneviratne
e0702c027d Make some properties read-only. 2023-01-19 22:20:21 +05:30
Bnyro
e1e4b2a2c9 Run `ktlint --android -F 2023-01-19 17:49:04 +01:00
Bnyro
074ab20202 Use the same audio attributes and load control for all players 2023-01-19 17:48:35 +01:00
Bnyro
fe9bb97c96
Merge pull request #2717 from faisalcodes/master
Fixed #2670 : Timestamp click behaviour in the description.
2023-01-19 17:21:54 +01:00
Bnyro
4ba274b612 Run ktlint --android -F 2023-01-19 17:21:40 +01:00
Bnyro
8ba2824750 Simplify LinkHandler and HTMLParser 2023-01-19 17:21:06 +01:00
Bnyro
a5a38a3f66 Cleanup the logic of handling description links 2023-01-19 17:08:57 +01:00
faisalcodes
015b414596 Fixed #2723 : Activity is recreated when entered from media notification. 2023-01-19 20:57:16 +05:30
Isira Seneviratne
60706c2d87 Remove remaining Jackson code. 2023-01-19 18:14:37 +05:30
Isira Seneviratne
e047d5babd Use Kotlinx Serialization with subscription. 2023-01-19 13:20:26 +05:30
Isira Seneviratne
ae8f88f4b8 Use Kotlinx Serialization with segments. 2023-01-19 13:03:42 +05:30
Isira Seneviratne
9485ceb5ec Use Kotlinx Serialization with the Piped config. 2023-01-19 09:21:06 +05:30
Isira Seneviratne
1eeeed4292 Use Kotlinx Serialization with playlists. 2023-01-19 09:17:45 +05:30
Isira Seneviratne
4876068c54 Use Kotlinx Serialization with instances. 2023-01-19 08:57:22 +05:30
Isira Seneviratne
f98123270e Use Kotlinx Serialization with login. 2023-01-19 08:57:10 +05:30