Commit graph

8865 commits

Author SHA1 Message Date
Tobi
2fccfc40fc Merge pull request #6706 from litetex/fix-format-of-some-kotlin-files
Fix format of some kotlin files
2021-07-19 21:20:00 +02:00
Stypox
6fe5a6e856 Merge pull request #6689 from Isira-Seneviratne/Use_WindowInsetsCompat_getInsets
Use WindowInsetsCompat's getInsets() method.
2021-07-19 21:19:06 +02:00
Tobi
52dfc9241a Merge pull request #6707 from litetex/use-correct-extractor-dependency
Use the correct extractor dependency
2021-07-19 21:17:27 +02:00
litetex
e0bf2285d4 Use the correct extractor dependency 2021-07-19 21:03:15 +02:00
litetex
fdff92d1a4 Fix format of some kotlin files
so that it doesn't annoy people that are building this repo ;)
2021-07-19 20:59:29 +02:00
Stypox
197fad1c15 Merge pull request #6675 from Isira-Seneviratne/Use_Kotlin_methods
Use Kotlin methods in LicenseFragment.
2021-07-19 13:19:02 +02:00
Robin
395bdf4365 Merge pull request #6702 from Isira-Seneviratne/Update_AppCompat_to_1.3.0
Update AppCompat to 1.3.0.
2021-07-19 11:58:17 +02:00
Stypox
6110298c83 Merge pull request #6659 from TeamNewPipe/Redirion-kotlin-section
Added a Kotlin section in CONTRIBUTING.md
2021-07-19 11:54:48 +02:00
Stypox
fd9920e579 Merge pull request #6688 from litetex/fix-some-build-warnings
Fix some build warnings
2021-07-19 11:52:24 +02:00
Isira Seneviratne
5fac3fd4bd Update AppCompat to 1.3.0. 2021-07-19 15:20:44 +05:30
Isira Seneviratne
63c1d5a7a4 Use WindowInsetsCompat's getInsets() method. 2021-07-19 15:17:44 +05:30
Stypox
c5e0cbfb9f Merge pull request #6434 from litetex/playerSeekbarPreview
Player seekbar thumbnail preview
2021-07-19 11:42:10 +02:00
Stypox
1143a0f09e Merge pull request #6654 from Isira-Seneviratne/Bump_compileSdk
Bump compileSdkVersion to 30.
2021-07-19 11:11:18 +02:00
Stypox
b850a8dbbb Merge pull request #6456 from TeamNewPipe/feature/switch-theme
Apply theme to switches
2021-07-18 13:12:47 +02:00
Stypox
b8f7c7173d Merge pull request #6536 from TacoTheDank/moar-onactivityresult
More onActivityResult deprecation fixes
2021-07-18 10:24:00 +02:00
Isira Seneviratne
f6bceffc20 Use Kotlin methods in LicenseFragment. 2021-07-18 07:47:12 +05:30
litetex
c6d831cc76 Removed unused import (rebasing/merge problem) 2021-07-17 16:52:24 +02:00
litetex
28b834420f Increased padding of preview thumbnail 2021-07-17 16:43:04 +02:00
litetex
50493ff2cd Moved time to the top 2021-07-17 16:43:03 +02:00
litetex
281bb7bee0 Set minWidth to 10dp so that the popup player works (mostly) correctly 2021-07-17 16:43:03 +02:00
litetex
15a3b61840 Fine tuned padding
Moved seekbar preview up a bit, so the finger is not obstructing the view
2021-07-17 16:43:02 +02:00
litetex
dca6fe1da3 Enlarged currentDisplaySeek-text on large-handed player 2021-07-17 16:43:01 +02:00
litetex
80b68d0a17 Enlarged currentDisplaySeek a bit 2021-07-17 16:43:01 +02:00
litetex
48e203bcb1 Added seekbarThumbnailPreview 2021-07-17 16:43:00 +02:00
litetex
1f4aada5c7 Updated build.gradle so the PR-build works 2021-07-17 16:42:18 +02:00
litetex
2d14aa51a8 Added seekbar-preview to the player layout 2021-07-17 16:41:54 +02:00
litetex
85efb2d073 Added settings for seekbar-preview-thumbnail 2021-07-17 16:41:53 +02:00
Stypox
14cfc26189 Merge pull request #5531 from XiangRongLin/tests
Add instrumented tests for LocalPlaylistManager.createPlaylist
2021-07-17 13:21:20 +02:00
Stypox
589318a10c Merge pull request #6483 from litetex/addDisabledComments
Added comments disabled functionallity
2021-07-17 13:19:34 +02:00
litetex
37f2e80c00 One textview is enough for disabled comments
Ref: https://github.com/TeamNewPipe/NewPipe/pull/6483#discussion_r654793920
2021-07-17 13:14:50 +02:00
litetex
d4877dd26d Added corresponding required code changes from Extractor branch 2021-07-17 13:14:48 +02:00
litetex
94886d82d6 Added comments disabled functionallity 2021-07-17 13:10:44 +02:00
Stypox
8e9a615bc9 Merge pull request #6637 from Isira-Seneviratne/Use_GestureDetectorCompat
Use GestureDetectorCompat.
2021-07-17 12:58:43 +02:00
litetex
f119cedb25 Simplified code and adjusted the style so that it's similar to FeedFragment 2021-07-16 21:21:10 +02:00
litetex
18cfb5cd32 Removed updateRelativeTimeViews when the activity is paused
We don't need to call ``updateRelativeTimeViews`` when the activity is paused, because the user likely won't  notice it.
Despite that onResume already calls ``updateRelativeTimeViews`` so there is no need to do that twice.
2021-07-16 21:04:32 +02:00
Tobi
2d0ef53886 Merge pull request #6678 from TeamNewPipe/XiangRongLin-patch-1
Remove api level 29 from android ci tests
2021-07-16 11:30:23 +02:00
XiangRongLin
196906e67d Remove api level 29 from android ci tests 2021-07-16 10:19:58 +02:00
Robin
43b9108b03 removed Extractor line 2021-07-14 13:23:01 +02:00
Robin
922be6c8b1 Added a Kotlin section in CONTRIBUTING.md
Core team does not want to convert to Kotlin yet and sees Java as the easier to learn and more well adopted language.

This stance might of course change in the future. For example it could be reasonable to do a complete transition to Kotlin once it is decides that the minSdk is raised to 21 or higher, as we then could use Jetpack particularly Lifecycle and Compose.
2021-07-14 13:08:07 +02:00
Tobi
4b30ed9398 Merge pull request #6503 from evermind-zz/fixes-for-upstream
Prevent error msg: 'Unrecoverable player error occurred' while playin…
2021-07-14 09:53:30 +02:00
Tobi
47e6dc7d42 Merge pull request #6531 from XiangRongLin/immediat_pref_commit
Remove option to immediately commit pref changes on import
2021-07-14 09:48:58 +02:00
Tobi
e5545a7dfc Merge pull request #6566 from evermind-zz/various-fixes-for-upstream
Convert PlayerHolder to Singleton; cleanup in VideoDetailFragment; Player/MainPlayer do not call onDestroy() directly
2021-07-14 09:46:04 +02:00
Isira Seneviratne
5037d428c7 Bump compileSdkVersion to 30. 2021-07-13 08:06:56 +05:30
XiangRongLin
05f9a104f2 Add comment explaining usage Schedulers.trampoline in detail 2021-07-12 18:31:37 +02:00
XiangRongLin
292d2abd62 Add instrumented tests for LocalPlaylistManager.createPlaylist 2021-07-12 18:31:37 +02:00
Tobi
74c9e60b1b Merge pull request #6463 from Stypox/metadata-tags
Improved metadata layout, better tags accessibility
2021-07-12 16:18:11 +02:00
Tobi
f86d8b8d2a Merge pull request #6616 from litetex/fix-minimized-player-thumbnail
Made the thumbnail in the minimized player visible again
2021-07-12 16:17:12 +02:00
Tobi
18fd6d18bc Merge pull request #6560 from TeamNewPipe/fix_ci_emulator
Specify emulator-build version in CI job
2021-07-12 16:16:06 +02:00
Tobi
f3fffbd772 Merge pull request #6540 from TacoTheDank/library-bumps
Update some libraries
2021-07-12 16:15:21 +02:00
Tobi
034e2261b2 Merge pull request #6538 from TacoTheDank/bump-gradle
Bump gradle
2021-07-12 16:14:04 +02:00