Commit Graph

4519 Commits

Author SHA1 Message Date
Bnyro
8c6d20d64d
Merge pull request #2913 from Isira-Seneviratne/awaitAll
Use awaitAll() extension.
2023-01-30 16:20:41 +01:00
Isira Seneviratne
02d9aa5655 Use take() extension. 2023-01-30 20:44:26 +05:30
Isira Seneviratne
825fc7bda5 Use awaitAll() extension. 2023-01-30 20:14:20 +05:30
Bnyro
3e6fb49bf4
Merge pull request #2912 from Isira-Seneviratne/takeWhile
Use Kotlin's takeWhile() extension.
2023-01-30 15:08:21 +01:00
Isira Seneviratne
99f031f155 Use takeWhile() extension. 2023-01-30 19:23:44 +05:30
faisalcodes
3265ce81f4 - Removed hardcoded colors.
- Used colorSurface for the original comment in replies.
2023-01-30 19:17:01 +05:30
Bnyro
259a1c1400
Merge pull request #2904 from praveenrajput/master
Closes comments on auto play video change. Fixes #2898
2023-01-30 13:59:35 +01:00
faisalcodes
843bdfd8e4 ktlint 2023-01-30 12:19:53 +05:30
faisalcodes
bb784f5880 ktlint 2023-01-30 12:16:35 +05:30
faisalcodes
042cf26c1c Added the original comment as first item in replies. 2023-01-30 12:03:10 +05:30
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
Praveen Rajput
9eafffe712 Closes comments on auto play video change. Fixes #2898 2023-01-29 21:52:37 +05:30
Bnyro
c5e21b5f18
Merge pull request #2899 from Bnyro/master
Fix watching unprocessed livestreams
2023-01-29 14:56:06 +01:00
Bnyro
aee24d11d5 Fix watching unprocessed livestreams 2023-01-29 14:55:17 +01:00
Bnyro
30d6920fd1
Merge pull request #2886 from praveenrajput/master
Keep screen on only while video is playing #2877
2023-01-29 08:30:46 +01:00
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
Veseli Krajišnik
8283b439c9
Translated using Weblate (Serbian)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/sr/
2023-01-28 19:54:36 +01:00
Ivon Huang
4d3c604f46
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/zh_Hant/
2023-01-28 19:54:36 +01:00
RethinkDev
07ee6418e0
Translated using Weblate (Vietnamese)
Currently translated at 89.7% (404 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/vi/
2023-01-28 19:54:36 +01:00
Kazevic
cf5dee32c5
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/pt_BR/
2023-01-28 19:54:36 +01:00
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
Bnyro
2e0c121f58
Merge pull request #2868 from Isira-Seneviratne/Check_network_metered
Check if the connected network is metered in NetworkHelper.
2023-01-25 20:01:56 +01:00
JY3
a9c27cd756
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/zh_Hans/
2023-01-25 17:12:45 +01:00
Metehan Özyürek
31aa1f09d7
Translated using Weblate (Turkish)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/tr/
2023-01-25 17:12:45 +01:00
Ács Zoltán
2aaa76d693
Translated using Weblate (Hungarian)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/hu/
2023-01-25 17:12:44 +01:00
AudricV
6876b9f9ab
Translated using Weblate (French)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/fr/
2023-01-25 17:12:44 +01:00
Kakaeo
bbc807d047
Translated using Weblate (Persian)
Currently translated at 25.3% (114 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/fa/
2023-01-25 17:12:44 +01:00
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
vala rezaee
b74cce4b2d
Translated using Weblate (Persian)
Currently translated at 25.3% (114 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/fa/
2023-01-23 21:15:25 +01:00
Kakaeo
b8b031e487
Translated using Weblate (Persian)
Currently translated at 25.3% (114 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/fa/
2023-01-23 21:15:25 +01:00
vala rezaee
b40c0964cb
Translated using Weblate (Persian)
Currently translated at 24.0% (108 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/fa/
2023-01-23 20:34:15 +01:00
Kakaeo
1984523f52
Translated using Weblate (Persian)
Currently translated at 24.0% (108 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/fa/
2023-01-23 20:34:15 +01:00
Bnyro
6749a7858f Bump version to 0.11.1 2023-01-23 18:43:26 +01:00
Bnyro
418388b02d Resolve conflicts with master 2023-01-23 18:42:22 +01:00
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
9a8a048c04
Reduce the player top bar margin (#2846) 2023-01-23 18:29:59 +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
dbd6516b62
Merge pull request #2845 from Bnyro/master
Fix unresponsiveness when opening watch history
2023-01-23 18:22:24 +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
Ricardo
bce743398a
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/pt_BR/
2023-01-23 15:16:18 +01:00
Bnyro
d92110c979
Merge pull request #2843 from Bnyro/master
Fix backup backwards compatibility
2023-01-23 15:16:13 +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
D āvis
d4d746037f
Translated using Weblate (Latvian)
Currently translated at 77.5% (349 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/lv/
2023-01-23 06:28:42 +01:00
Kazevic
295bc39492
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/pt_BR/
2023-01-23 06:28:42 +01:00
EnderPrism
8f16db1855
Translated using Weblate (French)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/fr/
2023-01-23 06:28:42 +01:00
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
Bnyro
a7aba58011
Merge pull request #2812 from Isira-Seneviratne/bundleOf
Use bundleOf().
2023-01-22 08:48:42 +01:00
Abhilash
e9997a3248
Added translation using Weblate (Assamese) 2023-01-22 03:45:43 +01:00
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
e0cb7c3456
Rm accidentially generated play store icon 2023-01-21 19:51:33 +01:00
Bnyro
8b5d475b87 Bump version to v0.11.0 2023-01-21 19:00:41 +01:00
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
jc
c46b36b2b6
Translated using Weblate (Portuguese)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/pt/
2023-01-21 18:01:48 +01:00
random r
f0b359b0dd
Translated using Weblate (Italian)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/it/
2023-01-21 18:01:48 +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
7cee4b5c69
Merge pull request #2779 from Bnyro/master
Fix the extra padding for the vertical plaeyr
2023-01-20 19:40:09 +01:00
Bnyro
e4cbb2b90c Fix the extra padding for the vertical plaeyr 2023-01-20 19:39:51 +01:00
Bnyro
3023bbda9b
Merge pull request #2778 from Bnyro/master
Hide system bars on shorts
2023-01-20 19:31:43 +01:00
Bnyro
3cef897e89 Hide system bars on shorts 2023-01-20 19:31:18 +01:00
Bnyro
5520a8419a
Merge pull request #2777 from Bnyro/master
Only show extra padding when there's a notch
2023-01-20 19:09:11 +01:00
Bnyro
c1c0e5f6f1 Only show extra padding when there's a notch 2023-01-20 19:00:49 +01:00
Bnyro
579e8f167e
Merge pull request #2776 from Bnyro/master
Keep space for the status bar in player
2023-01-20 18:50:03 +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
9b5150ce26
Merge pull request #2775 from Bnyro/master
Use custom animation handlers for player controls
2023-01-20 18:34:36 +01:00
Bnyro
8431716a14 Use custom animation handlers for player controls 2023-01-20 18:34:11 +01:00
Bnyro
689c4c5c6f
Merge pull request #2774 from Bnyro/master
Only auto enter PiP when enabled
2023-01-20 17:57:36 +01:00
Bnyro
6599635756 Only auto enter PiP when enabled 2023-01-20 17:56:49 +01:00
Skrripy
c67020eff5
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/uk/
2023-01-20 10:08:07 +01:00
MkQtS
5e0a83abad
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/zh_Hans/
2023-01-20 10:08:07 +01:00
Metehan Özyürek
30a5ffae6a
Translated using Weblate (Turkish)
Currently translated at 94.0% (423 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/tr/
2023-01-20 10:08:07 +01:00
Daviteusz
8f89cd1452
Translated using Weblate (Polish)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/pl/
2023-01-20 10:08:07 +01:00
Fjuro
9752b39ae1
Translated using Weblate (Czech)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/cs/
2023-01-20 10:08:06 +01:00
Linerly
db61d75078
Translated using Weblate (Indonesian)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/id/
2023-01-20 10:08:06 +01:00
Andrey
fe6f9c7bcd
Translated using Weblate (Russian)
Currently translated at 100.0% (450 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/ru/
2023-01-20 10:08:06 +01:00
Allan Nordhøy
9c333878b4
Translated using Weblate (Norwegian Bokmål)
Currently translated at 84.0% (378 of 450 strings)

Translation: LibreTube/LibreTube
Translate-URL: https://hosted.weblate.org/projects/libretube/libretube/nb_NO/
2023-01-20 10:08:06 +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