fixing note visibility

This commit is contained in:
Lord Of Nougate 2022-11-11 21:27:00 +01:00
parent 2156cc15a1
commit 1f983b5fdf

View File

@ -22,7 +22,8 @@ if os.getenv('radarr_eventtype'):
body += "Movie: " + os.getenv('radarr_movie_title') + '\n'
mk.notes_create(
text=body,
visibility="followers"
visibility="home",
local_only=False
)
@ -38,12 +39,14 @@ if os.getenv('sonarr_eventtype'):
body += "%s - S%sE%s - %s [%s]\n" % (series_title, season_number, episode_number, episode_title, release_quality)
mk.notes_create(
text=body,
visibility="followers"
visibility="home",
local_only=True
)
if os.getenv('sonarr_eventtype') == 'Test':
mk.notes_create(
text="Test from Jellybot.",
visibility="followers"
visibility="home",
local_only=True
)