jellyfin-mpv-shim/jellyfin_mpv_shim/constants.py
2021-03-23 00:11:37 -04:00

17 lines
640 B
Python

APP_NAME = "jellyfin-mpv-shim"
USER_APP_NAME = "Jellyfin MPV Shim"
CLIENT_VERSION = "1.9.0"
USER_AGENT = "Jellyfin-MPV-Shim/%s" % CLIENT_VERSION
CAPABILITIES = {
"PlayableMediaTypes": "Video",
"SupportsMediaControl": True,
"SupportedCommands": (
"MoveUp,MoveDown,MoveLeft,MoveRight,Select,"
"Back,ToggleFullscreen,"
"GoHome,GoToSettings,TakeScreenshot,"
"VolumeUp,VolumeDown,ToggleMute,"
"SetAudioStreamIndex,SetSubtitleStreamIndex,"
"Mute,Unmute,SetVolume,DisplayContent,"
"Play,Playstate,PlayNext,PlayMediaSource"
),
}