forked from NussNougate/arr-mastodon
added followers only visibility
This commit is contained in:
parent
7f2d72100b
commit
2156cc15a1
@ -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"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user