Commit graph

2642 commits

Author SHA1 Message Date
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
Tobias Groza
e7edc7605a Merge pull request #4354 from Stypox/restriction-strings
Improve age restriction and yt restricted content strings
2020-10-11 12:14:13 +02:00
Stypox
287f864fad Improve age restriction and yt restricted content strings 2020-10-11 12:06:36 +02:00
Stypox
545338388c Merge pull request #4413 from Stypox/delete-stream-state
Also delete stream state when deleting stream history
2020-10-10 22:29:33 +02:00
Stypox
0ab9784b1c Merge pull request #4463 from opusforlife2/confirm_queue_delete_one_track
Ask for confirmation before clearing queue even if only 1 video in it
2020-10-10 22:01:55 +02:00
Stypox
6ba6cd3d61 Merge pull request #4276 from Isira-Seneviratne/Use_ContextCompat_methods
Use ContextCompat methods.
2020-10-10 21:51:34 +02:00
vkay94
c63bcb5af9 Added two finger to close player gesture 2020-10-10 15:00:39 +02:00
opusforlife2
4450e6b89c Ask for confirmation before clearing queue...
Even when there is only one video in it.
2020-10-09 14:46:42 +00:00
Isira Seneviratne
27c0e408fb Combine initNotificationChannel() and setUpUpdateNotificationChannel() into a single method. 2020-10-09 08:52:05 +05:30
Isira Seneviratne
666563faf7 Use ContextCompat.startForegroundService(). 2020-10-09 08:52:05 +05:30
Isira Seneviratne
3da55d9f40 Use ContextCompat.getSystemService() and the Context.getSystemService() extension function. 2020-10-09 08:52:05 +05:30
wb9688
53547e76e5 Fix compiling release build 2020-10-08 18:36:20 +02:00
wb9688
a075111bb1 Hide Leaks launcher icon 2020-10-07 12:56:22 +02:00
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
a67ee0ebb0 Enqueue: Renamed string resource 2020-10-06 21:17:52 +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
b78d152e22 Also delete stream state when deleting stream history 2020-10-05 17:47:48 +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
bopol
f2a3c6d211 update to PrettyTime 4.0.6
fixes #4324
2020-10-03 19:04:44 +02:00
Tobias Groza
60a453a634 Merge pull request #4362 from Stypox/fix-queue
Random fixes and improvements
2020-10-02 16:48:04 +02:00
Stypox
f3268d0ce8 Fix video detail controls visibility set inconsistently 2020-10-02 16:03:43 +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
1d883af57d Merge pull request #4350 from 4D17Y4/commenter
Disabled commenter image view on LoadThumbnail set to false
2020-10-01 15:07:45 +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
Avently
9d7e9c79ca Added comments and improved the code 2020-09-30 00:49:34 +03:00
Aditya Srivastava
a748baca2f Disabled commenter image view on LoadThumbnail set to false 2020-09-29 21:17:39 +05:30
wb9688
0b31ac26d8 Fix auto-queue with no next videos 2020-09-29 10:43:17 +02:00
Avently
94fe0d1a0c Player will be rebound when needed, prev/next/queue buttons, preserving paused state
- each time something starts to play in any player VideoDetailFragment will be started (if not yet started) and mini player will show up. It makes possible to see a playing stream in mini player even if the stream was started without using fragment or after player service was closed somehow
- play/next/queue buttons will be updated in realtime when stream was added/removed from queue instead of waiting for a onPlay/onPause action to happen
- when popup or background players start the stream will start playing only if paused state wasn't requested. Which means, for example, if a user opens popup it will be started when START_PAUSED is false. If, for example, the stream was played in main player and then popup was started the stream will still be playing, but if it was paused it still be paused in popup (or background) in APPEND_ONLY mode (but will be playing on new queue initialization)
2020-09-29 06:22:53 +03:00
Avently
8ffb4f5c79 Merged 'dev' branch 2020-09-27 18:02:31 +03:00
Avently
58fe5c2754 Disabled nested scrolling of queue 2020-09-27 15:50:21 +03:00
Avently
96881c44d3 Merged 'dev' branch 2020-09-27 15:04:20 +03:00
Tobias Groza
bccba7acd6 Merge pull request #4259 from TeamNewPipe/pref_migration
Add settings migration, remove "Detail page" option from share dialog and minimize to background by default
2020-09-27 11:20:39 +02:00
Tobias Groza
36f26542cb Merge pull request #3178 from cool-student/notificationImprovements
Notification Improvements
2020-09-27 10:43:11 +02:00
Avently
3fb52dba5e Refactoring and made the player returning from landscape & fullscreen on vertical video to portrait after clicking on fullscreen button 2020-09-27 06:39:42 +03:00
Avently
73eca41204 Fixed player's ZOOM mode for KitKat devices 2020-09-27 04:25:06 +03:00
Avently
4379fdb763 Changes for tablets and device's orientation behavior
- the app will not rotate the screen to portrait after video completes, it will just exit from fullscreen mode
- ability to rotate the orientation via fullscreen button from landscape to portrait when device has locked orientation in landscape
- ability to enter/exit to/from fullscreen on tablets with unlocked global orientation in portrait mode
2020-09-27 04:11:38 +03:00
TobiGr
0246f8de31 Set default value for "minimize_on_exit" to background for better UX. 2020-09-26 21:58:38 +02:00
TobiGr
0949453cb5 Remove "Detail Page" open action from share dialog under certain circumstances
With the new application workflow and unified player, video detail page and video player are the same activity. So show only one of these options based on whether autoplay is enabled or not, and show both if using external player
2020-09-26 21:58:34 +02:00
TobiGr
6f9b03ac11 Add migration concept for shared preferences 2020-09-26 21:43:58 +02:00
Avently
88aa5019f9 Merged 'dev' branch 2020-09-26 02:42:26 +03:00