Commit graph

3450 commits

Author SHA1 Message Date
Robin
b5c19b1d59 Merge branch 'TeamNewPipe:dev' into exo182 2023-01-02 10:35:20 +01:00
Stypox
720b194bd5 Merge pull request #9521 from pratyaksh1610/branch-9518
Fixes #9518: Crash fix when click "Add to playlist" while the current list is still loading
2022-12-31 23:31:58 +01:00
Stypox
2ecd0f437b Remove playlist details toasts 2022-12-31 23:30:17 +01:00
Stypox
adc8f516e2 Merge pull request #9502 from Jared234/8585_download_in_queue
Added option to download items in the queue
2022-12-31 19:34:07 +01:00
Stypox
b59b2a6517 Use correct fragment manager for download dialog
Tapping download on the long-press menu of queue items when the queue is shown inside the player would crash otherwise
2022-12-31 19:31:24 +01:00
Stypox
3a34b0f933 Merge pull request #9496 from Jared234/9437_continue_playing_while_seeking
Seeking no longer pauses the played video
2022-12-31 19:19:21 +01:00
Stypox
a9003d9b55 Merge pull request #9159 from Isira-Seneviratne/Refactor_VideoPlayerUi
Refactor VideoPlayerUi.
2022-12-31 19:01:19 +01:00
Stypox
46ed10c1eb Merge pull request #8847 from Isira-Seneviratne/Refactor_VideoDetailFragment
Refactor VideoDetailFragment.
2022-12-31 18:41:06 +01:00
Stypox
7587c386ec Activate on click listeners only when not loading
For consistency with long click listeners, in VideoDetailFragment
2022-12-31 17:49:10 +01:00
Stypox
cd8c8d69ea Refactor constrolsTouchListener code 2022-12-31 17:47:57 +01:00
Stypox
7a57485107 Merge pull request #9306 from Stypox/target-api-33
Set compileSdk and targetSdk to 33 (Android 13)
2022-12-31 14:49:30 +01:00
Stypox
97892f04d3 Merge pull request #8895 from Isira-Seneviratne/SparseArrayCompat
Use SparseArrayCompat.
2022-12-28 20:37:05 +01:00
Tobi
27369142aa Merge pull request #9488 from Jared234/9353_night_theme_selection
Disabling night theme selection if auto theme is not used
2022-12-25 22:19:02 +01:00
Robin
f2becad472 Update ExoPlayer to 2.18.2 2022-12-16 17:53:56 +01:00
Jared Fantaye
ca2d6ee6b8 Removed the wasPlaying variable 2022-12-10 21:56:04 +01:00
pratyaksh1610
c03fd63f47 Fixes #9518
- Crash fix on clicking on add to playlist.
- Added toast when clicked on share button for better UI.
2022-12-09 14:09:40 +05:30
Isira Seneviratne
f435e0ba5e Merge branch 'dev' into Refactor_VideoDetailFragment 2022-12-06 20:21:28 +05:30
Isira Seneviratne
3ae0bbc4a3 Merge branch 'dev' into Refactor_VideoPlayerUi 2022-12-06 20:21:08 +05:30
Jared Fantaye
ac03944ee1 Implemented suggestions 2022-12-05 21:21:46 +01:00
Stypox
0710757ceb Merge pull request #9173 from Theta-Dev/video-sub-count
Show subscriber count on video details page
2022-12-04 20:50:13 +01:00
ThetaDev
01a4cfa0c0 show subscriber count on player page 2022-12-04 20:45:09 +01:00
Jared Fantaye
1d93719f45 Added option to download items in the queue 2022-12-04 20:35:06 +01:00
Stypox
1b562ebca1 Merge pull request #9501 from Stypox/import-subscriptions-hint
Add hint to improve discoverability of subscription import
2022-12-04 20:19:19 +01:00
Stypox
0defd52b0d Show hint about how to import subscriptions when there are none 2022-12-04 19:16:47 +01:00
Stypox
d920f3b9fa Merge pull request #8883 from Douile/dev-enqueue-next-hide
Only show "Enqueue next" when in the middle of the queue
2022-12-04 18:43:45 +01:00
Douile
81df0e05df Only show "Enqueue next" when in the middle of the queue
Add a check that the queue position is not the last in the queue before
showing "Enqueue next".

Previously the "Enqueue next" action would always be shown if the queue
length was greater than one, this meant even if you were at the end of
the queue (when "Enqueue" would have the same effect as "Enqueue next")
the action would still be shown.
2022-12-04 18:20:50 +01:00
Stypox
f034d7644f Merge pull request #8810 from Isira-Seneviratne/Math_floorDiv
Use Math.floorDiv().
2022-12-04 18:08:12 +01:00
Isira Seneviratne
7633a2258b Apply ktlint formatting. 2022-12-04 12:01:57 +01:00
Isira Seneviratne
8b6f6ecb9f Show toast when no updates are available.
Co-authored-by: Stypox <stypox@pm.me>
2022-12-04 12:01:56 +01:00
Jared Fantaye
1d56798ea9 Disabling night theme selection if auto theme is not used 2022-12-01 13:01:58 +01:00
Isira Seneviratne
846f59c73b Use BitmapCompat.createScaledBitmap(). 2022-11-29 15:56:19 +01:00
Stypox
cce863f9fe Request permission to send notifications 2022-11-28 18:49:11 +01:00
AudricV
5bdf145505 Merge pull request #8961 from dhruvpatidar359/Toast-Popup
Remove the redundant/overlapping toast "Copied to clipboard" for Android 13+
2022-11-26 21:33:12 +01:00
Jared Fantaye
971afd70ca Seeking no longer pauses the played video 2022-11-26 15:35:13 +01:00
Isira Seneviratne
3add1e2af3 Use SparseArrayCompat instead of SparseArray in StreamItemAdapter.
Make additional small improvements as well.
2022-11-22 18:31:58 +05:30
Isira Seneviratne
1e42bb6baa Use SparseArrayCompat for thumbnails. 2022-11-22 17:51:54 +05:30
Stypox
2a0fda2849 Set compileSdk and targetSdk to 33 (Android 13)
android:exported in now required in the manifest on all activities/services/receivers/providers. It was set to true for those that need to interact with outside apps or the OS, while others have exported=false.
This also required updating LeakCanary to the latest version as the older version being used was not using android:exported in AndroidManifest.xml.
2022-11-18 08:33:13 +01:00
Isira Seneviratne
def00c8dfd Merge branch 'dev' into Refactor_VideoPlayerUi 2022-11-14 08:59:03 +05:30
Isira Seneviratne
de663c015d Merge branch 'dev' into Refactor_VideoDetailFragment 2022-11-14 08:58:45 +05:30
Isira Seneviratne
37182c7b84 Merge pull request #8870 from Isira-Seneviratne/Locale_forLanguageTag
Use Locale.forLanguageTag().
2022-11-10 19:56:34 +05:30
Tobi
7ac96cf353 Merge pull request #8316 from han-sz/fix_video_mouse_hover_overlay
Fix persistent hover overlay when in desktop/DeX mode or using a mouse/non-touch input
2022-11-09 17:10:01 +01:00
TobiGr
f190811897 Merge branch 'master' into dev 2022-11-09 16:45:22 +01:00
AudricV
97837d4295 Improve code of DeviceUtils.isDesktopMode
- Avoid NullPointerException crashes if there is no UiModeManager or desktop
system service mode
- Use final for every exception
- Suppress missing fields warnings
- Add missing NonNull annotation
2022-11-09 16:22:49 +01:00
cybersphinx
a085e6ee04 Remove now obsolete API check. 2022-11-09 15:50:09 +01:00
cybersphinx
7bb41180e1 Remove errant return. 2022-11-09 15:50:09 +01:00
cybersphinx
277ef2c450 Add check for input devices with cursor. 2022-11-09 15:50:06 +01:00
Hanif Shersy
0666eeb4cf Add JSDoc comment and a performance note for isDesktopMode 2022-11-09 15:48:50 +01:00
Hanif Shersy
fed052354e Fix JSDoc checkstyle warning 2022-11-09 15:44:36 +01:00
Hanif Shersy
4d40192b50 Address review comments 2022-11-09 15:44:36 +01:00
Hanif Shersy
329e3c371a Fix DeX mode check 2022-11-09 15:44:36 +01:00