diff --git a/README.md b/README.md index c60f2ce0..3c8580c8 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Features: - [x] Includes movie trailers - [x] Automatically renames media - [x] Supports multiple languages (TMDB supports internationalized Titles, Descriptions and Poster artwork) -- [x] Notifications - supports all major notification services (via [Apprise](https://github.com/caronc/apprise)) +- [x] Notifications - supports all major notification services (via [Apprise](https://github.com/caronc/apprise/tree/v0.9.3)) - [x] Imports existing libraries - [x] VPN integration (optional) - [x] Auto download subtitles via [opensubtitles](https://www.opensubtitles.com/) [api](https://opensubtitles.stoplight.io/) diff --git a/docs/USAGE.md b/docs/USAGE.md index 400ae6fe..b8972ef4 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -73,8 +73,8 @@ If you want to see the logs you can run: ## Notifications nefarious can send notifications (e.g. push notifications, email, sms) when media is downloaded. -See [Apprise](https://github.com/caronc/apprise) for documentation on how to construct the *Notification Url* for -the [available notification services](https://github.com/caronc/apprise#popular-notification-services). +See [Apprise](https://github.com/caronc/apprise/tree/v0.9.3) for documentation on how to construct the *Notification Url* for +the [available notification services](https://github.com/caronc/apprise/tree/v0.9.3#popular-notification-services). Enter the *Notification Url* on the settings page. You can test it from there to make sure it works as expected. diff --git a/src/frontend/src/app/settings/settings.component.html b/src/frontend/src/app/settings/settings.component.html index 6964ce35..df991fcb 100644 --- a/src/frontend/src/app/settings/settings.component.html +++ b/src/frontend/src/app/settings/settings.component.html @@ -172,7 +172,7 @@
Notifications

Defining a Notification URL allows you to get notified when downloads are complete.

-

nefarious uses Apprise for notifications which supports most major notification services.

+

nefarious uses Apprise for notifications which supports most major notification services.

diff --git a/src/nefarious/models.py b/src/nefarious/models.py index e58c2bff..96cc003e 100644 --- a/src/nefarious/models.py +++ b/src/nefarious/models.py @@ -59,7 +59,7 @@ class NefariousSettings(models.Model): # expects keyword/boolean pairs like {"x265": false, "265": false} keyword_search_filters = JSONField(blank=True, null=True) # type: dict - # apprise notifications - https://github.com/caronc/apprise + # apprise notifications - https://github.com/caronc/apprise/tree/v0.9.3 apprise_notification_url = models.CharField(max_length=1000, blank=True) # category of media the user prefers: movie or tv... diff --git a/src/nefarious/notification.py b/src/nefarious/notification.py index ec080dab..ca1234a2 100644 --- a/src/nefarious/notification.py +++ b/src/nefarious/notification.py @@ -4,7 +4,7 @@ def send_message(message: str) -> bool: - # apprise notifications - https://github.com/caronc/apprise + # apprise notifications - https://github.com/caronc/apprise/tree/v0.9.3 nefarious_settings = NefariousSettings.get() if nefarious_settings.apprise_notification_url: apprise_instance = apprise.Apprise()