Commit graph

888 commits

Author SHA1 Message Date
DafabHoid
b8710e6eb6 Double-tap the middle of the player screen to pause the video 2018-04-29 11:23:21 +02:00
Christian Schabesberger
4dbf4a48c4 Merge pull request #1327 from Somethingweirdhere/dev
Fixed crash when trying to open a downloaded file without a player
2018-04-18 20:35:44 +02:00
Mauricio Colli
8d75c64fed Fix RouterActivity choice selection
- Improve behavior when external player is enabled
- Fixes #1324
2018-04-18 11:44:46 -03:00
Somethingweirdhere
adc3521c16 Fixed crash when trying to open a downloaded file without a player 2018-04-17 19:47:17 +02:00
Christian Schabesberger
ada65b1559 Merge branch 'playlist_to_next' of https://github.com/Shan11812/NewPipe into test 2018-04-14 11:04:08 +02:00
Christian Schabesberger
0c6292c6fb fix conflict 2018-04-14 11:02:31 +02:00
John Zhen Mo
6b4358330d -Changed media source manager near edge loading to no longer load while player position is not progressing.
-Changed main video player to always self-destruct on stop.
-Extracted main video player lifecycle states into separate data class.
-Fixed play queue in full repeat mode does not load first item after expiring.
2018-04-11 20:27:39 -07:00
John Zhen Mo
1d2b8a3d23 -Reversed special seek logic for short buffer livestreams.
-Fixed loader cleaning potentially canceling existing correct loading items.
-Updated ExoPlayer to 2.7.3.
2018-04-11 20:27:39 -07:00
John Zhen Mo
85d895b4a3 -Rollbacks the original main player UI to display nav and status bar on click.
-Changed system UI color to translucent on Lollipop and above.
2018-04-11 20:27:39 -07:00
John Zhen Mo
953c1811c5 -Designated background player as default media button receiver.
-Fixed media button intent causing illegal state exception when sent from external apps.
2018-04-11 20:27:38 -07:00
John Zhen Mo
fb126fce3a -Modified adaptive track selection to upgrade with 1 second of buffer.
-Modified dynamic track updates to seek to default time instead of clamping to 0 time when negative progress is reached.
2018-04-11 20:27:38 -07:00
John Zhen Mo
295a24243b -Removed playlist cleaning. 2018-04-11 20:27:38 -07:00
John Zhen Mo
93c848271b -Modified playback parameter dialog to use translucent background. (reverted from commit 0d25254d4831aca92ad6cf6c0c772279b32b4a07) 2018-04-11 20:27:38 -07:00
John Zhen Mo
cdca5d4608 -Changed failed media source exception to use cause instead of top level exception. 2018-04-11 20:27:38 -07:00
John Zhen Mo
2a806858ee -Added better player exception handling to player.
-Added expired media source cleaning to media source manager.
2018-04-11 20:27:38 -07:00
John Zhen Mo
60a03199be -Fixed main player multiwindow pauses when focus changes. 2018-04-11 20:27:38 -07:00
John Zhen Mo
c13c7276f3 -Added "add to playlist" button to service player play queue item drop down.
-Refactored playlist manipulations out from media source manager.
-Fixed potential ArrayOutOfBound exception when checking if player window is live.
-Fixed service player play queue potentially not refreshing when current play queue is replaced.
2018-04-11 20:27:38 -07:00
John Zhen Mo
546ad120a5 -Modified playback parameter dialog to use translucent background. 2018-04-11 20:27:37 -07:00
John Zhen Mo
a8a94602c2 -Added accessibility caption style and text color resolver.
-Added button to open captioning settings activity from appearance settings.
-Modified player captions to use custom caption style when captioning manager is enabled.
-Removed caption size settings from appearance settings.
2018-04-08 13:58:55 -07:00
Mauricio Colli
c3c22f3a4a Long-click to open the downloads activity
- Closes #1263
2018-04-08 16:53:22 -03:00
Mauricio Colli
209a20bed6 Revert removal of menu items 2018-04-08 16:26:47 -03:00
Christian Schabesberger
db3b73d16b fix conflict 2018-04-08 18:49:27 +02:00
Christian Schabesberger
bc77818da2 Merge branch 'download-permissions-screen' of https://github.com/arispoloway/NewPipe into perm 2018-04-08 18:21:27 +02:00
Aris Poloway
91122e0d13 Clean up download dialog opening 2018-04-08 11:47:11 -04:00
Mauricio Colli
5c317919d1 Show download size preview 2018-04-08 08:45:15 -03:00
Mauricio Colli
31697ecad6 Fix naming inconsistency 2018-04-07 16:09:34 -03:00
Aris Poloway
f23de23d2e Open download dialog if video download is clicked instead 2018-04-07 13:32:31 -04:00
Aris Poloway
2cb638a8bb Open downloads after permission granted 2018-04-06 17:29:58 -04:00
Mauricio Colli
0796635ce9 Dynamically create the opening choices
- Fixes TODO
2018-04-06 06:02:51 -03:00
Mauricio Colli
0ff0f069f7 Fix Info's start time when using VideoDetailFragment
- Update extractor dependency
2018-04-06 04:35:44 -03:00
Aris Poloway
a51272ef93 Don't save stream and store recovery position from StreamInfo 2018-04-05 23:47:20 -04:00
Aris Poloway
c31389f0cf Revert unnecessary url clean 2018-04-05 16:45:00 -04:00
Aris Poloway
328c5e259e Don't preemptively clean url and save StreamInfo with PlayQueueItem 2018-04-04 20:43:14 -04:00
Christian Schabesberger
ea627a2e7c fix email button not working 2018-04-02 20:53:32 +02:00
Christian Schabesberger
afc190e1dd fix bugreport for kiosk 2018-04-01 21:54:00 +02:00
shan11812
29ee6b0cee Adds 'Add to Playlist' option to Related and Channel lists 2018-04-01 20:47:24 +05:30
Christian Schabesberger
4628494e7b make service items in drawer be dynamicly generated 2018-03-30 18:41:11 +02:00
Christian Schabesberger
5cb9c3f777 remove entry points in three dot menu in main screen 2018-03-30 11:52:05 +02:00
Christian Schabesberger
97102b3d6d remove beta build 2018-03-30 11:09:07 +02:00
John Zhen Mo
270066127a -Fixed activity not available exception when setting title on subscription fragments when used as front pager. 2018-03-25 10:29:37 -07:00
Christian Schabesberger
a8fcb8402f fix readme conflict 2018-03-24 10:56:31 +01:00
John Zhen Mo
970d0dc9f8 -Removed duplicate dialog open instances in service player activity. 2018-03-22 18:44:03 -07:00
John Zhen Mo
02999aefcc -Fixed main player paused video not abandoning audio focus after navigating away from activity during interruption, when resume on focus regain is enabled.
-Separated onPause and onPlay functions from onPlayPause.
-Renamed onVideoPlayPause to onPlayPause.
2018-03-22 18:12:11 -07:00
John Zhen Mo
aaaad85baa -Changed detail fragment thumbnail failure to produce a snackbar error rather than a full error activity. 2018-03-22 18:11:59 -07:00
John Zhen Mo
c66413793e -Added quadratic slider strategy implementation and tests.
-Modified playback speed control to use quadratic sliders instead of linear.
-Modified number formatters in player helper to use double instead of float.
-Simplified slider behavior in playback parameter dialog.
-Fixed potential NPE in base local fragment.
2018-03-21 20:08:33 -07:00
wb9688
ce451dd4dd Remove IP range
This would close #1148. I haven't tested it myself yet. @TheAssassin: Could you update the Sentry part?
2018-03-21 10:55:22 +01:00
John Zhen Mo
2a9f632217 -Added playback speed control dialog to allow full user control over player tempo and pitch parameters.
-Changed tempo and pitch button in service player activity and tempo button in main video player to open speed control dialog.
-Changed LIVE button to be no longer clickable when player position is at or beyond default position.
-Changed main video player to use AppCompatActivity rather than Activity.
-Fixed video player tempo button not updating when player speed parameters change.
-Fixed player crashing on lower sdk versions due to no MediaButtonReceiver, added intent back to manifest.
-Fixed inconsistent gradle library naming.
-Fixed stetho dependencies incorrect version.
2018-03-21 00:11:54 -07:00
John Zhen Mo
a27a1fad2a -Refactored synchronization checks out from MediaSourceManager to ManagedMediaSource.
-Fixed null input causing potential NPE on PlayQueueItem.
2018-03-19 16:44:18 -07:00
John Zhen Mo
68b40f5a03 -Added media session implementation for all players.
-Extracted version numbers in gradle dependencies.
-Updated ExoPlayer to 2.7.1.
-Updated RxJava to 2.1.10, RxAndroid to 2.0.2 and RxBinding to 2.1.1.
-Removed deprecated implementation of media buttons.
2018-03-19 16:44:18 -07:00
John Zhen Mo
87e26c4e9c -Changed start position seek to occur after media source window has been prepared.
-Fixed livestream not seeking to live when started from play queue.
-Fixed media source manager synchronization to only occur after timeline change has completed.
-Fixed auto queue not working when last item is replayed after the auto-queued item is removed.
-Updated ExoPlayer to 2.7.1.
2018-03-19 16:44:17 -07:00