Commit graph

13 commits

Author SHA1 Message Date
Jarne Demeulemeester
76121925d7
Modularize the codebase (#230)
* Split app into core and app:phone

* Use global versionCode and versionName

* Clean up gradle dependencies

* Use string formatting inside getString function

* Move proguard file to app:phone

* Move app_navigation and BasePlayerActivity to app:phone

* Add buildTypes to core gradle and remove buildFeatures

* Add suffix core to core namespace

* Split code into 4 more modules: data, preferences, player:core and player:video

* Clean up some gradle files

* Clean up data gradle

* Remove duplicate Constants.kt

* Use AppPreferences in more places

* Split off strings

* Remove unused animations

* Make about_libraries strings non-translatable

* Move mpv assets to player:video module

* Make AppPreferences a Singleton
2023-01-13 23:51:20 +01:00
Jarne Demeulemeester
65f4c2f639
Migrate to androidx media3 (#213)
* Migrate to media3

* Update docs

* Move display_extended_title to AppPreferences

* Move display_extended_title to AppPreferences p2

* Add MediaSession support to the player

* Fix mpv player

* Disable animations on tv player controls and rename the tv_control_view file

* New media3 decoder ffmpeg
2022-12-10 11:33:16 +01:00
Yusuf
53d1720ad0
Allow seeking video by swiping or tapping (#132)
* Allow seeking in players by tapping

* Allow seeking in players by swiping horizontally

* Small cleanup

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2022-07-29 18:48:47 +02:00
Jarne Demeulemeester
b50b7b985f
Upgrade ExoPlayer to 2.17.1 (#116)
* Upgrade ExoPlayer to 2.17.1

* Upgrade ExoPlayer FFmpeg extension to 2.17.1

* Revert subtitle and audio track buttons changes

* Clean up layout files and code

* Clean up activity_player.xml

* Fix warnings about exo drawables overrides
2022-05-09 21:22:59 +02:00
Jcuhfehl
e259c405bb
Add brightness swipe controls (#69)
* Add brightness swipe control

* Add background to the overlays

Co-authored-by: Jarne Demeulemeester <32322857+jarnedemeulemeester@users.noreply.github.com>
2021-11-27 16:03:17 +01:00
jarnedemeulemeester
9cddd50d0e
Select audio and subtitle tracks 2021-09-15 23:13:59 +02:00
jarnedemeulemeester
6d340bd7ab
Add new player controls 2021-09-15 13:42:17 +02:00
jarnedemeulemeester
88b5d38ffc
Clean up player code 2021-09-05 18:34:07 +02:00
jarnedemeulemeester
a067b6b13d
New error panel with details dialog 2021-08-22 18:47:25 +02:00
jarnedemeulemeester
d67f195789
Rework player to allow for playing multiple episodes in a row 2021-08-05 16:09:08 +02:00
Jarne Demeulemeester
fd4fbc7ee5
Switch to StyledPlayerView 2021-07-12 11:14:20 +02:00
Jarne Demeulemeester
7f5dea58bc
Improve ExoPlayer (hide systembars and keep screen on) 2021-07-10 14:02:02 +02:00
Jarne Demeulemeester
fcbd7d1f33
First early test of ExoPlayer
Currently only plays some movies
2021-07-07 21:19:47 +02:00