Move Kodi playback info to state.py
This commit is contained in:
parent
65a48ebe7b
commit
e6a5b1c157
2 changed files with 6 additions and 1 deletions
|
@ -22,7 +22,8 @@ log = logging.getLogger("PLEX."+__name__)
|
|||
|
||||
class Player(xbmc.Player):
|
||||
|
||||
playStats = {}
|
||||
played_info = state.PLAYED_INFO
|
||||
playStats = state.PLAYER_STATES
|
||||
currentFile = None
|
||||
|
||||
def __init__(self):
|
||||
|
|
|
@ -74,3 +74,7 @@ PLEX_USER_ID = None
|
|||
# Token passed along, e.g. if playback initiated by Plex Companion. Might be
|
||||
# another user playing something! Token identifies user
|
||||
PLEX_TRANSIENT_TOKEN = None
|
||||
|
||||
# Kodi player states
|
||||
PLAYER_STATES = {}
|
||||
PLAYED_INFO = {}
|
||||
|
|
Loading…
Reference in a new issue