PlexKodiConnect/resources/lib/state.py

32 lines
926 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# THREAD SAFE
# Quit PKC
STOP_PKC = False
2017-05-17 21:55:24 +10:00
# Usually triggered by another Python instance - will have to be set (by
# polling window) through e.g. librarysync thread
SUSPEND_LIBRARY_THREAD = False
# Set if user decided to cancel sync
STOP_SYNC = False
2017-05-17 21:55:24 +10:00
# Set if a Plex-Kodi DB sync is being done - along with
# window('plex_dbScan') set to 'true'
DB_SCAN = False
# Plex Media Server Status - along with window('plex_serverStatus')
PMS_STATUS = False
# When the userclient needs to wait
SUSPEND_USER_CLIENT = False
# Plex home user? Then "False". Along with window('plex_restricteduser')
RESTRICTED_USER = False
2017-05-17 23:42:12 +10:00
# Direct Paths (True) or Addon Paths (False)? Along with
# window('useDirectPaths')
DIRECT_PATHS = False
2017-05-17 23:57:30 +10:00
# Along with window('plex_authenticated')
AUTHENTICATED = False
PLEX_TOKEN = None
2017-05-17 23:57:30 +10:00
# Plex ID of the current user (e.g. for plex.tv) as a STRING
2017-05-18 00:14:17 +10:00
PLEX_USERNAME = None
2017-05-18 00:15:16 +10:00
PLEX_USER_ID = None