2023-11-04 18:13:42 +00:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
name = "Discord Rich Presence for Plex"
|
2024-01-04 06:02:39 +00:00
|
|
|
version = "2.4.3"
|
2023-11-04 18:13:42 +00:00
|
|
|
|
|
|
|
plexClientID = "discord-rich-presence-plex"
|
|
|
|
discordClientID = "413407336082833418"
|
|
|
|
|
|
|
|
dataDirectoryPath = "data"
|
2023-11-04 19:39:30 +00:00
|
|
|
configFilePathRoot = os.path.join(dataDirectoryPath, "config")
|
2023-11-04 18:13:42 +00:00
|
|
|
cacheFilePath = os.path.join(dataDirectoryPath, "cache.json")
|
|
|
|
logFilePath = os.path.join(dataDirectoryPath, "console.log")
|
|
|
|
|
|
|
|
isUnix = sys.platform in ["linux", "darwin"]
|
|
|
|
processID = os.getpid()
|
|
|
|
isInteractive = sys.stdin and sys.stdin.isatty()
|
2023-11-05 05:24:45 +00:00
|
|
|
containerDemotionUidGid = os.environ.get("DRPP_CONTAINER_DEMOTION_UID_GID", "")
|