Commit graph

622 commits

Author SHA1 Message Date
Stypox
3ff50a604f Merge pull request #5221 from B0pol/notifications
Dynamically get package name
2021-01-01 18:05:43 +01:00
Robin
621b6e981f Merge pull request #5317 from XiangRongLin/timestamp
Fix urls with timestamps not being played
2020-12-31 12:46:40 +01:00
Robin
23a16f1987 Merge pull request #5065 from TacoTheDank/androidx-media-audioreactor
Use AndroidX Media compat in AudioReactor
2020-12-31 10:55:11 +01:00
TacoTheDank
0dae71b54a Use AndroidX Media compat in AudioReactor 2020-12-30 17:10:57 -05:00
XiangRongLin
b7a4b259be Fix urls with timestamps not being played
Else path is now executed, when a timestamp (item.getRecoveryPosition) is present
2020-12-30 21:07:30 +01:00
Eric Lemieux
182b119449 Fix null pointer exception in play button method
When the play queue was null, and this method was called a null pointer
exception would be thrown. This change adds an additional check to see
if the play queue is not null before making additional changes.
2020-12-29 14:51:24 -05:00
Isira Seneviratne
0fcece6e0e Fix queue display in ServicePlayerActivity. 2020-12-23 20:06:02 +05:30
bopol
c12b55600c dynamically get package name
it fixes issues with forks or debug builds, e.g. when you open two newpipe apps (with debug or fork apps), close one notification, it closes all newpipe notifications
fixes https://github.com/TeamNewPipe/NewPipe/issues/4653
2020-12-20 13:52:20 +01:00
bopol
342c248a91 remove timestamp from share url for all services except youtube
It produces not found error for PeerTube, media.ccc.de, SoundCloud
2020-12-20 10:53:22 +01:00
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