abdallahmehiz / mpvKt

A media player for android, based on mpv-android and built with Jetpack Compose.
Apache License 2.0
408 stars 12 forks source link

Add save position brightness display #58

Closed MrDark-code closed 1 week ago

MrDark-code commented 1 week ago

Hi now the svp player stores the position of the display brightness, you need to add it here.

https://github.com/mpv-android/mpv-android/blob/92be55335dfd12834620e6fd5dc84b46bb79f7c1/app/src/main/java/is/xyz/mpv/MPVActivity.kt#L1892

abdallahmehiz commented 1 week ago

i have the exact same logic as the link you sent here https://github.com/abdallahmehiz/mpvKt/blob/c1e544b27d0eb0031efd4c21066555c4df9e28c6/app/src/main/java/live/mehiz/mpvkt/ui/player/PlayerViewModel.kt#L337 though

MrDark-code commented 1 week ago

@abdallahmehiz look in this file also

https://github.com/videolan/vlc-android/blob/master/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt#L939

https://github.com/videolan/vlc-android/blob/master/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt#L1821