diff --git a/Tautulli.py b/Tautulli.py index 0a15f2c6..4fa83243 100755 --- a/Tautulli.py +++ b/Tautulli.py @@ -124,6 +124,8 @@ def main(): if helpers.bool_true(os.getenv('TAUTULLI_DOCKER', False)): plexpy.DOCKER = True + if helpers.bool_true(os.getenv('TAUTULLI_SNAP', False)): + plexpy.SNAP = True if args.dev: plexpy.DEV = True diff --git a/plexpy/__init__.py b/plexpy/__init__.py index 61c88eb6..d5ba9319 100644 --- a/plexpy/__init__.py +++ b/plexpy/__init__.py @@ -98,6 +98,7 @@ CREATEPID = False PIDFILE = None NOFORK = False DOCKER = False +SNAP = False FROZEN = False SCHED = None @@ -194,6 +195,8 @@ def initialize(config_file): if DOCKER: build = '[Docker] ' + elif SNAP: + build = '[Snap] ' elif FROZEN: build = '[Bundle] ' else: