From 2156cc15a14ef2688b931285998f688fb8de23c9 Mon Sep 17 00:00:00 2001 From: sevi-kun Date: Mon, 18 Jul 2022 22:19:00 +0200 Subject: [PATCH] added followers only visibility --- arr-misskey.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arr-misskey.py b/arr-misskey.py index f3c91f5..df936c3 100755 --- a/arr-misskey.py +++ b/arr-misskey.py @@ -21,7 +21,8 @@ if os.getenv('radarr_eventtype'): body = "New content added to Jellyfin: \n" body += "Movie: " + os.getenv('radarr_movie_title') + '\n' mk.notes_create( - text=body + text=body, + visibility="followers" ) @@ -35,14 +36,14 @@ if os.getenv('sonarr_eventtype'): episode_title = os.getenv('sonarr_episodefile_episodetitles') release_quality = os.getenv('sonarr_episodefile_quality') body += "%s - S%sE%s - %s [%s]\n" % (series_title, season_number, episode_number, episode_title, release_quality) - mk.notes_create( - text=body + text=body, + visibility="followers" ) if os.getenv('sonarr_eventtype') == 'Test': mk.notes_create( - text="Test message from jellybot" - ) - + text="Test from Jellybot.", + visibility="followers" + )