Commit graph

282 commits

Author SHA1 Message Date
Ping20002015
cc7f368d0e Merge branch 'dev' into master 2018-11-26 18:00:22 +01:00
Ping20002015
6cf1cbec0b Fix NPE for issue #1901 2018-11-23 19:38:01 +01:00
Christian Schabesberger
a36340d881 set minSdk to 19 and deprecate old player 2018-11-13 17:27:47 +01:00
Nitin Khanna
df474e59c4 pop-up player crash fixed 2018-11-07 22:01:39 +05:30
Christian Schabesberger
b027846945 fucking android bullshit 2018-10-27 09:57:11 +02:00
Christian Schabesberger
7374618add fix race condition when returning to main player 2018-10-26 14:59:49 +02:00
Ritiek Malhotra
4f9978b663 Merge branch 'dev' into separate-gesture-options 2018-10-10 08:41:42 -07:00
Christian Schabesberger
6f9bb027b1 Merge branch 'dev' into enqueue-autoplay 2018-10-06 17:35:55 +02:00
Coin
e442594640 Enqueuing now triggers video playing if the play queue has done playing 2018-10-03 00:31:28 +08:00
MaX
56ce58c9ae Merge branch 'dev' into store_last_aspect_ratio 2018-09-29 12:45:10 +02:00
MaX-Lo
ebb0327f36 store the last used aspect ratio in SharedPreferences and reload them on
resuming the VideoPlayer Activity (similar to storing/reloading the last used: screen rotation)
2018-09-22 11:32:13 +02:00
BO41
b2f619a934 error handling + imports + unboxing 2018-09-11 19:18:50 +02:00
BO41
55ef791c88 data flow issue + declaration redundancy
make final
unused methods
make final

BUILD SUCCESSFUL in 0s
39 actionable tasks: 39 up-to-date
2018-09-11 19:18:41 +02:00
BO41
d0e7ca8a9a class structure
BUILD SUCCESSFUL in 17s
39 actionable tasks: 6 executed, 33 up-to-date
2018-09-11 19:18:14 +02:00
BO41
89eeaab6f0 code cleanup
mainly removes throw statements

automated using Android Studio, staged by hand

BUILD SUCCESSFUL in 52s
39 actionable tasks: 37 executed, 2 up-to-date
2018-09-11 19:14:21 +02:00
Ritiek Malhotra
073188add3 We don't need to check this 2018-09-08 23:13:04 +05:30
Ritiek Malhotra
8a3fcd3124 Merge branch 'dev' into separate-gesture-options 2018-09-08 10:05:51 -07:00
Ritiek Malhotra
ddf31e5fa1 Merge branch 'dev' into separate-gesture-options 2018-09-05 09:21:05 -07:00
Mauricio Colli
82f7e403a5 Use current volume as the start value in the volume gesture
- Renamed some variables/classes to increase readability
2018-09-04 23:54:17 -03:00
Mauricio Colli
45e502451b Fix registering of broadcast receiver 2018-09-04 23:54:17 -03:00
Christian Schabesberger
1e1a9c2c68 Reciever not registered 2018-09-04 13:07:39 +02:00
Ritiek Malhotra
19abbc935a Separate options for volume and brightness gestures 2018-08-31 19:30:40 +05:30
Christian Schabesberger
d305a26936 fixes acording to code review
fixes moreacording to code review

fixed link handling once more
2018-08-28 12:19:07 +02:00
Christian Schabesberger
15bd65e3e1 fix thumbnail not shown in background player 2018-08-27 16:37:21 +02:00
Christian Schabesberger
339a703f16 add more debug statements to BasePlayer 2018-08-27 16:37:21 +02:00
Christian Schabesberger
9ad5ac666b fix layout width of currentPlayTime 2018-08-27 16:37:21 +02:00
TheMatten
df91c7d9ec Use animated circular design for gesture control (brightness and volume)
-Previous version used emojis for brightness and volume icons, which may
 be inconsistent across devices and do not fit well with other parts of UI
 (Frankly, previous version was more informative than eye-candy)

-This commit replaces old version with circular progress bar that shows
 current value (before conversion). Gesture mode (volume/brightness) is
 indicated by icon that changes between (4/3) modes according to current
 value

-Text information about current value was removed, because with progress
 bar present it does not add any real value to UI.
2018-08-24 13:24:35 -03:00
Mauricio Colli
d5116f9022 Fix popup position when draggable area is resized
A common case where this happens is when the soft input is visible.
2018-08-22 23:58:12 -03:00
Mauricio Colli
910125393a Remove popup shutdown gesture in favor of the new close overlay 2018-08-22 23:58:12 -03:00
Mauricio Colli
b323e317ee Don't make controls visible when moving popup 2018-08-22 23:58:12 -03:00
Mauricio Colli
cdb5b472c3 Add overlay to close popup 2018-08-22 23:57:57 -03:00
John Zhen Mo
2a17ee62a6 -Fixed potential NPE when updating thumbnail in background player. 2018-06-28 12:18:02 -07:00
John Zhen Mo
2317ecc74d -Fixed playback parameter dialog settings not persisting through rotation.
-Moved playback parameter dialog step size selector to below pitch slider.
2018-06-28 12:04:30 -07:00
John Zhen Mo
66cdd95371 -Changed baseplayer metadata getters to use media tag as source.
-Changed background player notification to no longer update bitmap on progress time change.
-Changed popup player to move above soft keyboard when it is opened.
2018-06-28 12:04:30 -07:00
John Zhen Mo
ebcc2e6f8e -Fixed popup player notification metadata not updated on stream change.
-Fixed popup player window not clipped to above soft input keyboard upon expansion.
2018-06-28 12:03:20 -07:00
John Zhen Mo
ed6f1cb0cf -Fixed video players end screen not cleared on restarting playback after single stream play queue is completed. 2018-06-28 12:03:20 -07:00
John Zhen Mo
1d662c0c63 -Fixed audio-only streams thumbnail not displaying on video players.
-Fixed potential play queue desynchronization due to fast forwarding on silence.
-Added current thumbnail storing in base player to allow immediate retrieval for notification building.
-Removed video player buffer spinner during interim buffering but not initial buffering.
-Reverted foreground notification stopping on pause and on complete.
2018-06-28 12:03:20 -07:00
John Zhen Mo
4328dea625 -Fixed player database and progress disposable disposed when destroying exoplayer.
-Fixed livestream not reloading on behind live window exception.
-Added nonnull annotation to player intent strings.
2018-06-28 12:01:34 -07:00
John Zhen Mo
8a9151b67e -Updated ExoPlayer to 2.8.1, fixing livestream with long duration not loading.
-Updated OkHttp to 3.10.0 and RxJava to 2.1.14.
-Changed player recovery seek to use ExoPlayer built-in window seeking instead of seeking after stream window starts playing.
-Changed playback speed changer default step size to 25%.
-Changed player notification to reset on all state changes.
-Fixed gradle dependency version incorrect variable names.
-Fixed video player double tap not working during pause.
-[#1412] Fixed NPE when sharing video to main video activity when it was playing but is out of focus: Reset main player state when new intent is received.
-[#1410] Fixed fast forwarding and rewinding not working within 10 seconds from beginning or end of a stream window.
2018-06-28 12:01:34 -07:00
John Zhen Mo
bca8b344ca -Refactored playback resolvers and other persistent player objects to instantiate once only during player creation to enforce non-nullity.
-Fixed background and popup player service staying in foreground when playback is paused or completed.
-Fixed player metadata not updating on new stream.
-Fixed player intent playback quality not applied.
-Fixed player auto-queue not applied after stream transition or swapping.
2018-06-28 12:00:00 -07:00
John Zhen Mo
0b52f3d43c -Fixed some typos. 2018-06-28 11:58:33 -07:00
John Zhen Mo
b786475d88 -Reduced fling speed required to close popup by 40%. 2018-06-28 11:58:33 -07:00
John Zhen Mo
87a12db995 -Fixed statistics fragment button not animating when pressed.
-Removed background player notification button opacity change.
2018-06-28 11:58:33 -07:00
John Zhen Mo
6b09a40ffa -[#1383]Fixed popup player caption selector not populating due to full width aspect ratio selector.
-Fixed potential memory leak in media session connector containing player instance.
2018-06-28 11:58:32 -07:00
John Zhen Mo
0ef48f4f7d -Refactored player media source resolution into external helpers.
-Baked resolved media metadata into media source for one-way data passing.
2018-06-28 11:58:32 -07:00
John Zhen Mo
7219fe7a54 -Fixed skip silence state not maintained by player on new queue.
-Fixed TrackSelector deprecations.
2018-06-28 11:58:32 -07:00
John Zhen Mo
1eac8f7500 -Added skip silence toggle to playback speed control.
-Added step size selector to playback speed control.
-Added skip silence flag to player intents.
-Moved default preset in playback speed control to neutral dialog button, renamed as reset.
-Removed nightcore preset from playback speed control.
2018-06-28 11:58:32 -07:00
John Zhen Mo
9ff4dcdd8a -Updated ExoPlayer to 2.8.0
-Updated MediaSource contracts in ManagedMediaSource.
-Changed PlaceholderMediaSource and FailedMediaSource to use built-in BaseMediaSource implementation.
-Changed deprecated DynamicConcatenatingMediaSource to ConcatenatingMediaSource.
-Removed manual playlist media source disposal in favor of player built-in disposal.
2018-06-28 11:58:32 -07:00
John Zhen Mo
8c88232d19 -Fixed player new share intent causing main player crash due to player activity in background. 2018-06-26 10:21:43 -07:00
John Zhen Mo
653a89181b -Fixed minimizing to popup player does not destroying existing player when drawing over app permission is not granted. 2018-06-26 10:19:16 -07:00