Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin Apprise links to current version (0.9.3) #286

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
4 changes: 2 additions & 2 deletions docs/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/app/settings/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
<div class="card-header">Notifications</div>
<div class="card-body">
<p>Defining a <i>Notification URL</i> allows you to get notified when downloads are complete.</p>
<p>nefarious uses <a target="_blank" href="https://github.com/caronc/apprise">Apprise</a> for notifications which supports <a target="_blank" href="https://github.com/caronc/apprise#productivity-based-notifications">most major notification services.</a></p>
<p>nefarious uses <a target="_blank" href="https://github.com/caronc/apprise/tree/v0.9.3">Apprise</a> for notifications which supports <a target="_blank" href="https://github.com/caronc/apprise#productivity-based-notifications">most major notification services.</a></p>
<div class="my-2">
<label>Notification URL</label>
<input type="text" class="form-control" placeholder="slack://TokenA/TokenB/TokenC/" formControlName="apprise_notification_url">
Expand Down
2 changes: 1 addition & 1 deletion src/nefarious/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down
2 changes: 1 addition & 1 deletion src/nefarious/notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading