vkay94
ebe9f518d0
Replace some loadStateStream calls with progressTime field
2020-11-15 14:12:05 +01:00
vkay94
37ceddd11b
Add progressTime field to some stream entries (database)
2020-11-15 14:08:41 +01:00
Stypox
9e7fb4d21a
Merge pull request #4771 from Stypox/fix-playlist-select
...
Fix playlist select dialog and do some refactoring
2020-11-14 11:21:20 +01:00
XiangRongLin
7805f8a9b1
Add option to hide thumbnail on lock screen and inside notification
2020-11-14 10:01:07 +01:00
Stypox
617ee0afc0
Fix brightness and volume scroll swapped
2020-11-08 10:00:28 +01:00
Stypox
1b47a1a994
Fix switching to main player when MainActivity is closed
2020-11-08 10:00:28 +01:00
Stypox
5a87cfc25d
Open mini player if player running on app open
2020-11-08 10:00:28 +01:00
Stypox
00a178f7d3
Fix tapping on video thumbnail does nothing
2020-11-08 10:00:28 +01:00
Stypox
2a2c82e73b
More fixes with opening VideoDetailFragment
2020-11-08 10:00:28 +01:00
Stypox
bb882ada2c
Show "Show info" instead of "Video player" if a stream is playing not on the main player when sharing something to NewPipe
2020-11-08 10:00:28 +01:00
Stypox
1d42e45d78
Unify all ways of opening VideoDetailFragment
2020-11-08 10:00:27 +01:00
Tobias Groza
f4435f9031
Merge pull request #4555 from Stypox/playqueue-crash
...
Fix NullPointerException in queue handling
2020-11-08 01:19:38 +01:00
Stypox
6f132f3fed
Merge pull request #4556 from Isira-Seneviratne/Switch_to_Java_8_Date_Time_API
...
Switch to the Java 8 Date/Time API.
2020-11-05 13:02:04 +01:00
Isira Seneviratne
c745b845c5
Switch to the Java 8 Date/Time API.
2020-11-05 15:02:51 +05:30
Isira Seneviratne
8ec55ef394
Use RxJava instead of AsyncTask in LicenseFragmentHelper.
2020-11-05 11:06:51 +05:30
Isira Seneviratne
ef5084036c
Use RxJava instead of AsyncTask to check for new app versions.
2020-11-05 11:06:50 +05:30
Stypox
f1583b6e0c
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
347566c311
Player gestures: Add multi-double-tap logic
2020-11-02 15:50:34 +01:00
Stypox
1f73572dd3
Fix playlist select dialog and do some refactoring
2020-11-02 14:24:39 +01:00
Xiang Rong Lin
974f8f692c
Add option to not colorize notification
2020-11-01 22:13:00 +01:00
Isira Seneviratne
b0b0a75c87
Use Collection.removeIf() instead of using Iterator.remove() to remove elements conditionally.
2020-11-01 14:44:07 +05:30
Isira Seneviratne
abcacf8c74
Use Comparator's comparing(), nullsLast() and reversed() methods.
2020-11-01 14:44:04 +05:30
TacoTheDank
a48529872d
Fix a few Kotlin style issues
2020-10-31 15:57:49 -04:00
TacoTheDank
31cffa68c5
Push conditionals inside branch expressions
2020-10-31 15:57:26 -04:00
TacoTheDank
6909d1e527
Simplify an if else
2020-10-31 15:57:01 -04:00
TacoTheDank
6db560fd2c
Use FragmentActivity for AboutActivity's viewpager2
2020-10-31 15:54:39 -04:00
TacoTheDank
1e1fb32558
Fix some version checks to use android.os.Build
2020-10-31 15:54:02 -04:00
XiangRongLin
008eb5ba4a
Convert notification actions to a custom preference ( #4652 )
2020-10-31 11:58:33 +01:00
vkay94
2683043762
Player gestures: separate logic and UI
2020-10-29 12:46:34 +01:00
Stypox
e406b6f780
Fix NullPointerException in queue handling
2020-10-26 18:15:59 +01:00
bopol
2dad9666a9
polish strings, fix build error
2020-10-26 17:01:55 +01:00
Isira Seneviratne
0bd624dfa9
Use DrawableCompat.
2020-10-25 21:01:53 +05:30
Stypox
a0ed8036c0
Merge pull request #4594 from Isira-Seneviratne/Use_TextViewCompat
...
Use TextViewCompat.setCompoundDrawablesRelativeWithIntrinsicBounds().
2020-10-25 14:44:01 +01:00
Tobias Groza
90cb9d3de1
Merge pull request #4549 from Stypox/fix-showMiniPlayer
...
Fix IllegalStateException after onSaveInstanceState
2020-10-23 21:58:20 +02:00
vkay94
32a142bf79
Fix PlaylistAppendDialog: Renamed method and replaced with Runnable
2020-10-23 09:44:26 +02:00
vkay94
2680d41a3d
Fix PlaylistAppendDialog showing when no local playlists exist
2020-10-23 09:44:26 +02:00
bopol
5214bfe8cb
Merge pull request #4554 from mitosagi/translate-numbers
...
Translates shortened notation of numbers
2020-10-22 19:05:53 +02:00
Isira Seneviratne
187aaafddc
Use TextViewCompat.setCompoundDrawablesRelativeWithIntrinsicBounds().
2020-10-22 06:01:49 +05:30
opusforlife2
9b9d267cd4
Merge pull request #4553 from TacoTheDank/about-viewpager2
...
Migrate AboutActivity to ViewPager2
2020-10-18 10:12:20 +00:00
Isira Seneviratne
66ba8d56b7
Use multidex for all build types.
2020-10-18 14:14:27 +05:30
Stypox
a73baf32f1
Merge pull request #4547 from Isira-Seneviratne/Use_Core_KTX_functions
...
Use Core KTX functions.
2020-10-18 09:39:28 +02:00
Tobias Groza
333cf0a2f0
Merge pull request #4550 from Stypox/no-drag-thumbnails
...
Don't rearrange lists by dragging the thumbnails
2020-10-18 09:00:56 +02:00
mitosagi
8347d8700a
Translate the numeric notation
2020-10-18 11:01:06 +09:00
TacoTheDank
09af0e2448
Migrate AboutActivity to viewpager2
2020-10-17 19:15:10 -04:00
Stypox
941028ba6f
Don't rearrange lists by dragging the thumbnails
2020-10-17 16:25:06 +02:00
Stypox
4ca7ed9f8c
Fix IllegalStateException after onSaveInstanceState
2020-10-17 16:13:42 +02:00
Isira Seneviratne
03d99887c5
Use TextView.doOnTextChanged() extension.
2020-10-17 19:22:13 +05:30
Isira Seneviratne
293e2ff5e3
Use isVisible and isGone extensions for View.
2020-10-17 15:54:35 +05:30
Isira Seneviratne
55d242fa08
Use bundleOf().
2020-10-17 15:38:45 +05:30
wb9688
2c23678fb9
Add button in settings to clear reCAPTCHA cookies
2020-10-14 14:39:08 +02:00
Stypox
ae33c6cf18
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
f8cd6afbf8
Two finger gesture: Less code lines
2020-10-11 13:56:30 +02:00
Tobias Groza
6fce06906d
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
84694a8bbd
Improve age restriction and yt restricted content strings
2020-10-11 12:06:36 +02:00
Stypox
724a260f71
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
cf75e40332
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
3c67df263c
Merge pull request #4276 from Isira-Seneviratne/Use_ContextCompat_methods
...
Use ContextCompat methods.
2020-10-10 21:51:34 +02:00
vkay94
f6925fc5b8
Added two finger to close player gesture
2020-10-10 15:00:39 +02:00
opusforlife2
b3555385e6
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
f55381d689
Combine initNotificationChannel() and setUpUpdateNotificationChannel() into a single method.
2020-10-09 08:52:05 +05:30
Isira Seneviratne
c4084c4f97
Use ContextCompat.startForegroundService().
2020-10-09 08:52:05 +05:30
Isira Seneviratne
58b720b004
Use ContextCompat.getSystemService() and the Context.getSystemService() extension function.
2020-10-09 08:52:05 +05:30
wb9688
f6d0c1f05e
Fix compiling release build
2020-10-08 18:36:20 +02:00
wb9688
ca9fbe2f11
Hide Leaks launcher icon
2020-10-07 12:56:22 +02:00
Panorea
314615bfef
Removed remember popup properties setting
2020-10-06 18:32:20 -04:00
Stypox
44e82217c1
Merge pull request #4425 from vkay94/enqueue-stream
...
Replace specific enqueue options with one
2020-10-06 22:37:19 +02:00
vkay94
cbf364f24f
Enqueue: Renamed string resource
2020-10-06 21:17:52 +02:00
vkay94
12f615c6da
Enqueue: Removed unneeded dialog-entries and strings + adjustments
2020-10-06 17:22:12 +02:00
vkay94
ed6fc4d848
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
cd515993f5
Enqueue: Add auto-select StreamDialogEntry for current PlayerType
2020-10-06 13:33:44 +02:00
Tobias Groza
9f63e2d39a
Merge pull request #4410 from Stypox/notification-fixes
...
Notification fixes
2020-10-05 19:08:26 +02:00
Stypox
36248ff046
Also delete stream state when deleting stream history
2020-10-05 17:47:48 +02:00
Stypox
a88f5113e0
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
06fb89fae2
Fix crash on fast forward
2020-10-05 15:55:10 +02:00
Isira Seneviratne
63d54e6570
Use DisplayCutoutCompat in VideoPlayerImpl.
2020-10-04 05:44:13 +05:30
bopol
2b1469e02e
update to PrettyTime 4.0.6
...
fixes #4324
2020-10-03 19:04:44 +02:00
Tobias Groza
83ea91586b
Merge pull request #4362 from Stypox/fix-queue
...
Random fixes and improvements
2020-10-02 16:48:04 +02:00
Stypox
dbb86d25e1
Fix video detail controls visibility set inconsistently
2020-10-02 16:03:43 +02:00
Tobias Groza
794c74e514
Merge pull request #4360 from avently/player-overlays
...
Player overlays now centered
2020-10-02 15:37:28 +02:00
Stypox
fbcdaa77e3
Initialize player notification asap
...
Otherwise Android's foreground services implementation would complain
2020-10-02 15:17:04 +02:00
Tobias Groza
b1ea7d6cbc
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
4e7632949d
Merge pull request #4347 from avently/player-rebind
...
Player rebind
2020-10-01 15:03:43 +02:00
Avently
26a8bd147b
Now player's overlays are aware of insets
2020-10-01 03:10:51 +03:00
Avently
dd726fac02
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
6665d630ec
Added comments and improved the code
2020-09-30 00:49:34 +03:00
Aditya Srivastava
87ae26ede3
Disabled commenter image view on LoadThumbnail set to false
2020-09-29 21:17:39 +05:30
wb9688
f4bd20361a
Fix auto-queue with no next videos
2020-09-29 10:43:17 +02:00
Avently
c1d5a5cd98
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
0370fa6c00
Merged 'dev' branch
2020-09-27 18:02:31 +03:00
Avently
e53e5ca20e
Disabled nested scrolling of queue
2020-09-27 15:50:21 +03:00
Avently
609bf64856
Merged 'dev' branch
2020-09-27 15:04:20 +03:00
Tobias Groza
d5f603303d
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
fc9c073a60
Merge pull request #3178 from cool-student/notificationImprovements
...
Notification Improvements
2020-09-27 10:43:11 +02:00
Avently
9a0c2c40bd
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
d0fc9fda71
Fixed player's ZOOM mode for KitKat devices
2020-09-27 04:25:06 +03:00
Avently
df9823988e
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
3c4a4e5384
Set default value for "minimize_on_exit" to background for better UX.
2020-09-26 21:58:38 +02:00
TobiGr
0e5f85db95
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
ad3364671d
Add migration concept for shared preferences
2020-09-26 21:43:58 +02:00
Avently
3add24b8aa
Merged 'dev' branch
2020-09-26 02:42:26 +03:00