remove notifypy. only show notifications via pystray

This commit is contained in:
Yeon Vinzenz Varapragasam 2023-03-20 18:45:00 +01:00
parent 22324f0511
commit 5b21d3af2e
3 changed files with 0 additions and 12 deletions

View File

@ -2,11 +2,9 @@ hiddenimports = [
"sacn",
"aubio",
"numpy",
"notifypy",
"math",
"voluptuous",
"numpy",
"notifypy",
"aiohttp",
"mido",
"mido.frozen",

View File

@ -2,7 +2,6 @@ import logging
from json import JSONDecodeError
from aiohttp import web
from notifypy import Notify
from ledfx.api import RestEndpoint
from ledfx.utils import get_icon_path
@ -48,14 +47,6 @@ class NotifyEndpoint(RestEndpoint):
if self.icon is not None:
if self.icon.HAS_NOTIFICATION:
self.icon.notify(f"{title}:\n{text}")
else:
icon_location = get_icon_path("tray.png")
notification = Notify()
notification.application_name = "LedFx"
notification.title = title
notification.message = text
notification.icon = icon_location
notification.send(block=False)
response = {
"status": "success",

View File

@ -29,7 +29,6 @@ INSTALL_REQUIRES = [
"cython>=0.29.21",
"certifi>=2020.12.5",
"multidict~=5.0.0",
"notify-py>=0.3.42",
"openrgb-python~=0.2.10",
"paho-mqtt>=1.5.1",
"psutil>=5.8.0",