aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/NyaaSi.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-18 22:07:27 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-18 22:07:27 +0200
commit04d0fa5001ebc9c43bc602823cd3395fc215c569 (patch)
treeff64d62ad97bc363385e327abcb3e7d15d0f9c06 /src/plugins/NyaaSi.cpp
parenta791c8a76d8a5caa24b2c17436dec6aadd4d7e42 (diff)
Set all notification titles to QuickMedia, fallback to BROWSER env if xdg-utils is not installed for opening urls, add more .mp4 file magic checks
Diffstat (limited to 'src/plugins/NyaaSi.cpp')
-rw-r--r--src/plugins/NyaaSi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/NyaaSi.cpp b/src/plugins/NyaaSi.cpp
index 860eb71..3ae6ffb 100644
--- a/src/plugins/NyaaSi.cpp
+++ b/src/plugins/NyaaSi.cpp
@@ -385,7 +385,7 @@ namespace QuickMedia {
(void)result_tabs;
if(strncmp(url.c_str(), "magnet:?", 8) == 0) {
if(!is_program_executable_by_name("xdg-open")) {
- show_notification("Nyaa.si", "xdg-utils which provides xdg-open needs to be installed to download torrents", Urgency::CRITICAL);
+ show_notification("QuickMedia", "xdg-utils which provides xdg-open needs to be installed to download torrents", Urgency::CRITICAL);
return PluginResult::ERR;
}
const char *args[] = { "xdg-open", url.c_str(), nullptr };