mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Fix ntfy notifications not sending if provider link is blank
This commit is contained in:
parent
f23d3eb81c
commit
c70381c3ff
1 changed files with 2 additions and 1 deletions
|
@ -2667,7 +2667,8 @@ class NTFY(Notifier):
|
||||||
|
|
||||||
provider_name = pretty_metadata.get_provider_name(provider)
|
provider_name = pretty_metadata.get_provider_name(provider)
|
||||||
provider_link = pretty_metadata.get_provider_link(provider)
|
provider_link = pretty_metadata.get_provider_link(provider)
|
||||||
actions.append(f"view, View on {provider_name}, {provider_link}, clear=true")
|
if provider_link:
|
||||||
|
actions.append(f"view, View on {provider_name}, {provider_link}, clear=true")
|
||||||
|
|
||||||
if self.config['incl_pmslink']:
|
if self.config['incl_pmslink']:
|
||||||
plex_url = pretty_metadata.get_plex_url()
|
plex_url = pretty_metadata.get_plex_url()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue