fin-assistant/const.py
2021-05-04 11:46:09 +02:00

15 lines
No EOL
293 B
Python

"""Constants for the jellyfin integration."""
DOMAIN = "jellyfin"
SIGNAL_STATE_UPDATED = "{}.updated".format(DOMAIN)
DEFAULT_SSL = False
DEFAULT_VERIFY_SSL = True
DEFAULT_PORT = 8096
CONN_TIMEOUT = 5.0
STATE_PLAYING = 'Playing'
STATE_PAUSED = 'Paused'
STATE_IDLE = 'Idle'
STATE_OFF = 'Off'