mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-29 09:39:03 +03:00
MPV remote support (#445)
Co-authored-by: Ferenc Nánási <husudous94@gmail.com>
This commit is contained in:
parent
6db203c219
commit
493fb155e1
2 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,7 @@ class ExternalIntents(val anime: Anime, val source: AnimeSource) {
|
|||
MPV_PLAYER -> ComponentName(packageName, "$packageName.MPVActivity")
|
||||
MX_PLAYER_FREE, MX_PLAYER_PRO -> ComponentName(packageName, "$packageName.ActivityScreen")
|
||||
VLC_PLAYER -> ComponentName(packageName, "$packageName.gui.video.VideoPlayerActivity")
|
||||
MPV_REMOTE -> ComponentName(packageName, "$packageName.MainActivity")
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
@ -139,3 +140,4 @@ private const val MPV_PLAYER = "is.xyz.mpv"
|
|||
private const val MX_PLAYER_FREE = "com.mxtech.videoplayer.ad"
|
||||
private const val MX_PLAYER_PRO = "com.mxtech.videoplayer.pro"
|
||||
private const val VLC_PLAYER = "org.videolan.vlc"
|
||||
private const val MPV_REMOTE = "com.husudosu.mpvremote"
|
||||
|
|
|
@ -82,6 +82,7 @@ class SettingsPlayerController : SettingsController() {
|
|||
"com.mxtech.videoplayer.ad" -> true
|
||||
"com.mxtech.videoplayer.pro" -> true
|
||||
"org.videolan.vlc" -> true
|
||||
"com.husudosu.mpvremote" -> true
|
||||
else -> false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue