From cfc9ef1cade470f6d2a7ba67c625eb8c11ff2743 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 16 Jul 2024 20:27:53 +0200 Subject: Add fallback urls for rss (right now, fallback nyaa.si to nyaa.land) --- tools/list-missing-unwatched.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/list-missing-unwatched.py') diff --git a/tools/list-missing-unwatched.py b/tools/list-missing-unwatched.py index e529acb..431054a 100755 --- a/tools/list-missing-unwatched.py +++ b/tools/list-missing-unwatched.py @@ -6,7 +6,7 @@ import sys def show_notification(title, description, urgency): print("Notification: title: %s, description: %s" % (title, description)) - process = subprocess.Popen(["notify-send", "-a", "automedia", "-t", "3000", "-u", urgency, "--", title, description]) + process = subprocess.Popen(["notify-send", "-a", "automedia", "-t", "5000", "-u", urgency, "--", title, description]) stdout, stderr = process.communicate() return process.returncode == 0 -- cgit v1.2.3