-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework app / webapp communication #165
Conversation
override fun onAdjustVolume(direction: Int) { | ||
when (direction) { | ||
AudioManager.ADJUST_RAISE -> { | ||
webappFunctionChannel.triggerInputManagerAction(Constants.INPUT_MANAGER_COMMAND_VOL_UP) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix your TODO's
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They were already there in master xD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it something we can fix or is it not possible without changing webui?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It needs changes to the web UI, unfortunately. But then again, we'll probably have a native UI before we get those changes, lol.
app/src/main/java/org/jellyfin/mobile/webapp/RemoteVolumeProvider.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/jellyfin/mobile/webapp/RemoteVolumeProvider.kt
Outdated
Show resolved
Hide resolved
673efa9
to
2d19090
Compare
Put Kotlin channel inside wrapper class, use channel for communication from NativeInterface, RemotePlayerService and ExternalPlayer.
2d19090
to
b5019f2
Compare
Put Kotlin channel inside wrapper class, use channel for communication from NativeInterface, RemotePlayerService and ExternalPlayer.