Commit graph

613 commits

Author SHA1 Message Date
Isira Seneviratne
da095794a4 Use ServiceCompat.stopForeground(). 2020-12-19 16:52:17 +05:30
Isira Seneviratne
9c7e1ecfa0 Use view binding in ServicePlayerActivity. 2020-12-19 04:21:59 +05:30
Isira Seneviratne
3712843a78 Use ActivityCompat.recreate(). 2020-12-15 13:55:05 +05:30
Tobias Groza
2796608428 Merge pull request #4961 from TeamNewPipe/lint
Fix some Lint errors
2020-12-07 11:19:01 +01:00
Stypox
57c28a9a9c Fix ktlint errors 2020-11-22 14:03:10 +01:00
Stypox
34dd7c0fbf Update most dependencies 2020-11-22 14:03:10 +01:00
TobiGr
397ca000e3 Fix typos 2020-11-22 10:39:00 +01:00
vkay94
670fe82fdc Player gestures: Fix respecting brightness-volume-gesture settings 2020-11-20 21:08:02 +01:00
Stypox
db49d89d6d Merge pull request #4642 from XiangRongLin/hide_thumbnail
Add option to hide thumbnail on lock screen
2020-11-20 16:35:10 +01:00
TacoTheDank
290751ba78 Correct some other small lints 2020-11-19 18:54:27 -05:00
TacoTheDank
04f9272706 Lint: Inner class may be static 2020-11-18 18:02:33 -05:00
TacoTheDank
497e145c70 Lint: Make a bunch of stuff final 2020-11-18 17:50:00 -05:00
TacoTheDank
72544f70ad Kotlin lint fixing 2020-11-18 17:45:19 -05:00
Stypox
8a02e6d960 [Regression] Revert "Removed remember popup properties setting"
This reverts commit f8cc03c989.
2020-11-15 22:24:27 +01:00
XiangRongLin
26d5f2bfe1 Add option to hide thumbnail on lock screen and inside notification 2020-11-14 10:01:07 +01:00
Stypox
cf2d7a398d Fix brightness and volume scroll swapped 2020-11-08 10:00:28 +01:00
Stypox
265896a07e Fix switching to main player when MainActivity is closed 2020-11-08 10:00:28 +01:00
Stypox
2379041125 Open mini player if player running on app open 2020-11-08 10:00:28 +01:00
Stypox
429ba53016 More fixes with opening VideoDetailFragment 2020-11-08 10:00:28 +01:00
Stypox
72f25383bd Unify all ways of opening VideoDetailFragment 2020-11-08 10:00:27 +01:00
Tobias Groza
4b8186ecd6 Merge pull request #4555 from Stypox/playqueue-crash
Fix NullPointerException in queue handling
2020-11-08 01:19:38 +01:00
Stypox
a0d3acb81f Merge pull request #4587 from vkay94/separate-player-gesture-logic-ui
Separate player gesture logic and UI
2020-11-02 16:36:50 +01:00
vkay94
ee8ec5f130 Player gestures: Add multi-double-tap logic 2020-11-02 15:50:34 +01:00
Xiang Rong Lin
e51a6cdb97 Add option to not colorize notification 2020-11-01 22:13:00 +01:00
TacoTheDank
166cdd50f4 Push conditionals inside branch expressions 2020-10-31 15:57:26 -04:00
vkay94
917d20efe0 Player gestures: separate logic and UI 2020-10-29 12:46:34 +01:00
Stypox
f3e011bcf1 Fix NullPointerException in queue handling 2020-10-26 18:15:59 +01:00
vkay94
d7547fb196 Fix PlaylistAppendDialog: Renamed method and replaced with Runnable 2020-10-23 09:44:26 +02:00
vkay94
0f720b6e97 Fix PlaylistAppendDialog showing when no local playlists exist 2020-10-23 09:44:26 +02:00
Stypox
b44d42faf9 Don't rearrange lists by dragging the thumbnails 2020-10-17 16:25:06 +02:00
Stypox
750653ac91 Merge pull request #4476 from vkay94/two-finger-to-close-player
Two finger to close player gesture
2020-10-11 14:51:45 +02:00
vkay94
1ac2448d63 Two finger gesture: Less code lines 2020-10-11 13:56:30 +02:00
vkay94
c63bcb5af9 Added two finger to close player gesture 2020-10-10 15:00:39 +02:00
Isira Seneviratne
3da55d9f40 Use ContextCompat.getSystemService() and the Context.getSystemService() extension function. 2020-10-09 08:52:05 +05:30
Panorea
f8cc03c989 Removed remember popup properties setting 2020-10-06 18:32:20 -04:00
Stypox
e81aa737e4 Merge pull request #4425 from vkay94/enqueue-stream
Replace specific enqueue options with one
2020-10-06 22:37:19 +02:00
vkay94
ab7af976e9 Enqueue: Removed unneeded dialog-entries and strings + adjustments 2020-10-06 17:22:12 +02:00
vkay94
994b8369b8 Enqueue: Replaced specific StreamDialogEntry items with one
The enqueue options won't be shown in the dialogs if the Player service is not running. When it's running one item (enqueue stream) will be shown and enqueues the item into the Player type which is currently selected.
2020-10-06 14:38:48 +02:00
vkay94
8d9b451070 Enqueue: Add auto-select StreamDialogEntry for current PlayerType 2020-10-06 13:33:44 +02:00
Tobias Groza
be7416f46a Merge pull request #4410 from Stypox/notification-fixes
Notification fixes
2020-10-05 19:08:26 +02:00
Stypox
569f69a439 Hide player notification "when" time
It is useless to see how much time ago a player notification was created
2020-10-05 15:57:14 +02:00
Stypox
7d323ee148 Fix crash on fast forward 2020-10-05 15:55:10 +02:00
Isira Seneviratne
d15a55c9bd Use DisplayCutoutCompat in VideoPlayerImpl. 2020-10-04 05:44:13 +05:30
Tobias Groza
60a453a634 Merge pull request #4362 from Stypox/fix-queue
Random fixes and improvements
2020-10-02 16:48:04 +02:00
Tobias Groza
6fc1d7f8f4 Merge pull request #4360 from avently/player-overlays
Player overlays now centered
2020-10-02 15:37:28 +02:00
Stypox
fe39cacb03 Initialize player notification asap
Otherwise Android's foreground services implementation would complain
2020-10-02 15:17:04 +02:00
Tobias Groza
03f84cdd11 Merge pull request #4347 from avently/player-rebind
Player rebind
2020-10-01 15:03:43 +02:00
Avently
4e394290ab Now player's overlays are aware of insets 2020-10-01 03:10:51 +03:00
Avently
f302a8d5ad Skipped interception of buttons in the player in some cases and made image view from playQueue visible 2020-10-01 03:10:42 +03:00
wb9688
0b31ac26d8 Fix auto-queue with no next videos 2020-09-29 10:43:17 +02:00