Commit graph

13 commits

Author SHA1 Message Date
Jarne Demeulemeester
a785d6d3f8
Upgrade ExoPlayer to 2.16.1 (#115)
* Upgrade ExoPlayer to 2.26.1 and fix mpv player

* Re-enable ffmpeg extension
2022-05-02 21:44:22 +02:00
NIK679
92e4b8eafc
Add option to disable subtitle in mpv (#110)
* add empty subtitle track

* toggle selected variable

* does this work

* Revert "toggle selected variable"

This reverts commit 87589f1d34e741205674e66855b53d79a1f70adb.

* this should work

* this should work 2.0

* remove empty track if there are no subtitle tracks
2022-04-23 19:46:06 +02:00
maulik9898
f2b090d09b
Playlist support for MPV player (#77) 2022-02-12 16:58:52 +01:00
Jarne Demeulemeester
1e9ddd1173
Clean up 2021-12-28 18:26:43 +01:00
Jarne Demeulemeester
50ae884554 Upgrade mpv to 0.34 2021-12-20 21:48:18 +01:00
Jcuhfehl
532e9adac1
Add offline playback (#51)
* Add offline playback

* Remove unused values

* Replace downloadutilities extension functions with normal functions

This is to not polute the namespace of fragment and context.

* Replace default Android icons with those from lucide

* Fix deleting downloaded movie

Co-authored-by: Jarne Demeulemeester <32322857+jarnedemeulemeester@users.noreply.github.com>
2021-10-29 21:11:01 +02:00
lsrom
b0b7d7f5b5
Add ability to swipe up and down to adjust volume (#48)
* Add ability to swipe up and down to adjust volume

Created AudioController to adjust global volume for media channel. Alarm, system and other volume levels are unaffected. This way it doesn't need specific implementation for separate players. During swiping system volume slider is shown and it is possible to change direction mid-swipe.

AudioController should probably be singleton and provided by DI but currently PlayerActivity is handling all the playback so it seemed unnecessarily complicated.

Sensitivity can be adjusted by threshold value in VerticalSwipeListener.

* Add audio controller class

Co-authored-by: Jarne Demeulemeester <32322857+jarnedemeulemeester@users.noreply.github.com>
2021-10-24 18:07:08 +02:00
jarnedemeulemeester
1d0f2b3358
MPVPlayer: Start from playback position 2021-09-18 21:11:45 +02:00
jarnedemeulemeester
64b86f2b40
MPVPlayer: Support for software decoding + clean up 2021-09-18 15:17:20 +02:00
jarnedemeulemeester
0baef5ec2e
MPVPlayer: Improve track selection and some code cleanup 2021-09-17 11:55:35 +02:00
jarnedemeulemeester
87edeabb9a
MPVPlayer: Use preferred languages 2021-09-16 19:00:11 +02:00
jarnedemeulemeester
9cddd50d0e
Select audio and subtitle tracks 2021-09-15 23:13:59 +02:00
jarnedemeulemeester
c9d0d6ab17
Add experimental libMPV player 2021-09-14 16:39:57 +02:00