Commit Graph

4470 Commits

Author SHA1 Message Date
Bnyro
758f559811 Minor UI improvements and code cleanup 2023-01-30 16:39:05 +01:00
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