diff --git a/Tautulli.py b/Tautulli.py index 09ab4462..c9bf92fb 100755 --- a/Tautulli.py +++ b/Tautulli.py @@ -245,8 +245,9 @@ def main(): # Windows system tray icon if common.PLATFORM == 'Windows': - if plexpy.CONFIG.WIN_SYS_TRAY: + if plexpy.CONFIG.SYS_TRAY_ICON: plexpy.WIN_SYS_TRAY_ICON = windows.WindowsSystemTray() + plexpy.WIN_SYS_TRAY_ICON.start() windows.set_startup() elif common.PLATFORM == 'Darwin': macos.set_startup() @@ -258,9 +259,10 @@ def main(): plexpy.launch_browser(plexpy.CONFIG.HTTP_HOST, plexpy.HTTP_PORT, plexpy.HTTP_ROOT) - if common.PLATFORM == 'Darwin': + if common.PLATFORM == 'Darwin' and plexpy.CONFIG.SYS_TRAY_ICON: threading.Thread(target=wait).start() - macos.MacOSSystemTray().start() + plexpy.MAC_SYS_TRAY_ICON = macos.MacOSSystemTray() + plexpy.MAC_SYS_TRAY_ICON.start() else: wait() diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index eed76e89..4be05ab4 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -448,15 +448,13 @@

Note: Web interface changes require a restart.

- % if common.PLATFORM == 'Windows': + % if common.PLATFORM in ('Windows', 'Darwin'):

Show Tautulli shortcut in the system tray.

- % endif - % if common.PLATFORM in ('Windows', 'Darwin'):