Am I trippin' or whatever the cool kids say nowadays

It's just a packaged zip. Open it with winrar or I believe you can just run unzip on it.shinger wrote: ↑Fri Nov 24, 2023 6:45 am Hi mhertz,
I have put the plugin in the attachment, maybe you can do something with it. I am not sure if you are able to see any source or something as i have not dived in to python yet.
Maybe the main code of deluge of the Notification plugin is missing something and it could be merged with it from the code of the plugin. That would be a more solid solution.
Code: Select all
diff -urN deluge_notifications/core.py deluge2_notifications/core.py
--- deluge_notifications/core.py 2023-11-24 13:39:10.559047385 +0100
+++ deluge2_notifications/core.py 2022-05-05 19:50:28.000000000 +0200
@@ -148,7 +148,7 @@
try:
try:
- server.sendmail(self.config['smtp_from'], to_addrs, message.encode())
+ server.sendmail(self.config['smtp_from'], to_addrs, message.encode('utf-8'))
except smtplib.SMTPException as ex:
err_msg = (
_('There was an error sending the notification email: %s') % ex
diff -urN deluge_notifications/webui.py deluge2_notifications/webui.py
--- deluge_notifications/webui.py 2023-11-24 13:39:10.559047385 +0100
+++ deluge2_notifications/webui.py 2022-05-05 19:45:38.000000000 +0200
@@ -21,6 +21,7 @@
class WebUI(WebPluginBase):
+
scripts = [get_resource('notifications.js')]
debug_scripts = scripts