From 1f983b5fdff0bc8d1519aa1ee8244a7d06729e2f Mon Sep 17 00:00:00 2001 From: sevi-kun Date: Fri, 11 Nov 2022 21:27:00 +0100 Subject: [PATCH] fixing note visibility --- arr-misskey.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arr-misskey.py b/arr-misskey.py index df936c3..bd0f83f 100755 --- a/arr-misskey.py +++ b/arr-misskey.py @@ -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 )