mirror of https://github.com/morpheus65535/bazarr
no log: prevent apprise from logging when no notification providers are configured.
This commit is contained in:
parent
9c2737c963
commit
8bc2347bc5
|
@ -84,6 +84,8 @@ def get_movie(radarr_id):
|
|||
|
||||
def send_notifications(sonarr_series_id, sonarr_episode_id, message):
|
||||
providers = get_notifier_providers()
|
||||
if not len(providers):
|
||||
return
|
||||
series = get_series(sonarr_series_id)
|
||||
if not series:
|
||||
return
|
||||
|
@ -114,6 +116,8 @@ def send_notifications(sonarr_series_id, sonarr_episode_id, message):
|
|||
|
||||
def send_notifications_movie(radarr_id, message):
|
||||
providers = get_notifier_providers()
|
||||
if not len(providers):
|
||||
return
|
||||
movie = get_movie(radarr_id)
|
||||
if not movie:
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue