jellyfin-mpv-shim/jellyfin_mpv_shim/cli_mgr.py

21 lines
352 B
Python
Raw Permalink Normal View History

2020-01-16 22:56:17 +00:00
from .clients import clientManager
2020-08-22 15:38:07 +00:00
2020-01-16 22:56:17 +00:00
class UserInterface(object):
def __init__(self):
self.open_player_menu = lambda: None
self.stop = lambda: None
2020-08-22 19:00:24 +00:00
@staticmethod
def login_servers():
2020-01-16 22:56:17 +00:00
clientManager.cli_connect()
def start(self):
pass
2020-08-22 15:38:07 +00:00
def stop(self):
pass
2020-01-16 22:56:17 +00:00
2020-08-22 15:38:07 +00:00
2020-08-22 19:00:24 +00:00
user_interface = UserInterface()