Commit graph

450 commits

Author SHA1 Message Date
wb9688
f2d4e462b8 Merge pull request #3704 from Stypox/keep-failed-streams
Do not remove items generating errors form queue
2020-06-15 15:16:26 +02:00
wb9688
7444772ca0 Merge pull request #3437 from TheLastGimbus/fast-rewind-forward-in-background-activity
Fast rewind forward in background activity
2020-06-15 15:06:58 +02:00
TheLastGimbus
26eaffe169 Change to final 2020-06-14 19:52:58 +02:00
TheLastGimbus
9b8a227c41 Add speed button to top bar 2020-06-14 15:16:04 +02:00
TheLastGimbus
528bbb3969 Remove speed buttons from bottom menu 2020-06-14 15:15:38 +02:00
Stypox
bc914d4932 Do not remove items generating errors form queue 2020-05-31 14:06:22 +02:00
Stypox
d63b091ec0 Fix checkstyle issues
Also replace all tabs with 4 spaces
2020-05-21 15:39:36 +02:00
Stypox
0c29ab7b6d Use AppCompatResources instead of ContextCompat 2020-05-21 15:39:36 +02:00
Stypox
e16cb7c4d6 Fix pause used instead of play in paused popup player when seeking
Also use `setBackgroundResource` to automatically obtain PNG drawables (from exoplayer)
2020-05-21 15:39:36 +02:00
Stypox
6f29813ebd Readd ic_close and ic_replay PNGs: needed in notifications
The other icons used in notifications are taken from exoplayer's ones: `@drawable/exo_controls_*`
2020-05-21 15:39:36 +02:00
Stypox
c80aba9a88 Use vector drawables instead of PNGs for material icons
For all manually-created images PNG have been kept.
- rename all icon attrs to have a `ic_` prefix
- always use `_24dp` icons, because there is no real difference, since they are vector drawables
- always use the original name found on material.io for icon drawables, as to not create confusion and possibly duplicates. Icon names can still be different from real drawable names, though I have made some of them compliant to this or maybe more meaningul.
- remove duplicate `getIconByAttr()` in ThemeHelper (use `resolveResourceIdFromAttr()`
- use standard icons for `expand_more` and `expand_less` instead of triangles
- use `play_button_outline` instead of custom PNG as play button in VideoDetailFragment (questionable, as there is no shadow anymore)
2020-05-21 15:39:35 +02:00
Stypox
5ede571a12 Merge pull request #3513 from Stypox/exoplayer
Update to ExoPlayer 2.11.4
2020-05-17 22:02:19 +02:00
Tobias Groza
cf1425bb96 Merge pull request #3337 from AioiLight/blocking-gesture-when-touch-from-navbar
Block the gesture when touch it from NavigationBar or StatusBar.
2020-05-09 10:43:15 +02:00
AioiLight
5245ac250d Clean up code
Follow Checkstyle

Move to PlayerGestureListener from VideoPlayerImpl

Update app/src/main/java/org/schabi/newpipe/player/MainVideoPlayer.java

Co-authored-by: wb9688 <46277131+wb9688@users.noreply.github.com>
2020-05-09 10:11:46 +02:00
wb9688
4585c92fbe Merge pull request #3545 from Stypox/kore
Fix Kodi button showing up with unsupported services
2020-05-07 21:44:09 +02:00
Stypox
5ae0ffca23 In player hide kodi button if service unsupported 2020-05-07 21:11:34 +02:00
wb9688
205c5ff2ca Optimize imports 2020-05-01 20:13:01 +02:00
Stypox
f67aef64f7 Update to ExoPlayer 2.11.4 2020-05-01 15:03:54 +02:00
TheLastGimbus
9ae51c0a2b Update progress bar on fast forward/rewind 2020-04-25 15:46:56 +02:00
bopol
1e4e731a6a Better detection of TV devices
Some devices were not detected as TV even though they are
2020-04-25 12:04:44 +02:00
Stypox
6d5f24c360 Fix pause button is not focused on player control activation 2020-04-21 09:25:09 +02:00
TheLastGimbus
acb317a9c5 Add listeners in activity 2020-04-14 22:06:32 +02:00
Alexander--
4cfeff6cbd Don't break navigation if player Views other than controls are focused 2020-04-11 16:04:38 +06:59
Alexander--
a896f955f6 Fix Checkstyle violations in MediaSourceManager 2020-04-11 09:51:50 +06:59
Alexander--
a5e28105ac Comply with Checkstyle rules 2020-04-11 09:02:22 +06:59
Alexander--
08459b3a90 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-04-11 08:30:40 +06:59
Alexander--
2cac8a739d Merge remote-tracking branch 'newpipe/dev' into rebase 2020-04-11 08:24:05 +06:59
Stypox
44fb0869b4 Fix checkstyle issues and improve code formatting
Also calculate differently the moved distance of a pointer: use euclidean and not manhattan geometry
2020-04-10 22:12:45 +02:00
Harshal Lele
2458d28244 formatting changes 2020-04-10 22:10:32 +02:00
Harshal Lele
9412c723f7 made formatting changes 2020-04-10 22:10:32 +02:00
Harshal Lele
feceb2bef8 changed popup resizing 2020-04-10 22:10:32 +02:00
Xiang Rong Lin
6472a5d69f Save and restore playback parameters into/from preferences
Playback parameters are speed, pitch and skip silence.
Remove parameters being passed on as intent to the player, since the parameters can be restored from the preferences instead.

# Conflicts:
#	app/src/main/java/org/schabi/newpipe/player/BasePlayer.java
2020-04-05 17:46:49 +02:00
AioiLight
74a78ad34c Merge branch 'dev' into blocking-gesture-when-touch-from-navbar 2020-04-04 23:52:06 +09:00
Alexander--
a5d3ce0947 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-04-03 06:56:52 +06:59
AioiLight
8c70316283 Block the gesture when touch it from NavigationBar or StatusBar. 2020-04-03 05:11:36 +09:00
wb9688
9c8349a8ed Move things back to its original place 2020-04-02 15:57:50 +02:00
wb9688
ac264464ef Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
Stypox
459a68210e Fix mute button causing crashes on API 19
Using rootView.getContext() because getApplicationContext() didn't work (it was probably missing information about theme)
2020-04-01 09:08:03 +02:00
Alexander--
6253ff6a36 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-03-30 16:54:51 +06:59
Mauricio Colli
143656ecf4 Use correct class for getting a vector drawable in older APIs 2020-03-28 14:30:47 -03:00
bopol
9bf584bb3f remove unused imports 2020-03-21 21:54:40 +01:00
bopol
837264767f mute button color for queue 2020-03-21 21:51:11 +01:00
bopol
b7c986b40b Change mute button color for more visibility 2020-03-21 16:58:53 +01:00
Alexander--
a1d056bdb8 Merge remote-tracking branch 'newpipe/dev' into rebase 2020-03-12 04:48:37 +06:59
Stypox
712a4222f6 Merge pull request #3165 from karkaminski/mute_button
Mute button
2020-03-08 10:29:25 +01:00
karol
c6bd30e44d null risk issue 2020-03-05 19:07:46 +01:00
karol
735d05b1c3 mute/unmute text change in action bar 2020-03-04 18:53:17 +01:00
karol
642349a470 mute icon change in action bar 2020-03-04 18:37:04 +01:00
karol
c306ed423c icon color change in action bar 2020-03-03 00:01:19 +01:00
karol
24ee7603cc mute button in actionbar, no color change 2020-03-02 22:52:58 +01:00