* 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> |
||
---|---|---|
.. | ||
jdtech/jellyfin |