forked from NussNougate/arr-mastodon
revert 1f983b5fdff0bc8d1519aa1ee8244a7d06729e2f
revert fixing note visibility
This commit is contained in:
parent
1f983b5fdf
commit
deb45ed1a5
@ -22,8 +22,7 @@ if os.getenv('radarr_eventtype'):
|
|||||||
body += "Movie: " + os.getenv('radarr_movie_title') + '\n'
|
body += "Movie: " + os.getenv('radarr_movie_title') + '\n'
|
||||||
mk.notes_create(
|
mk.notes_create(
|
||||||
text=body,
|
text=body,
|
||||||
visibility="home",
|
visibility="followers"
|
||||||
local_only=False
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -39,14 +38,12 @@ if os.getenv('sonarr_eventtype'):
|
|||||||
body += "%s - S%sE%s - %s [%s]\n" % (series_title, season_number, episode_number, episode_title, release_quality)
|
body += "%s - S%sE%s - %s [%s]\n" % (series_title, season_number, episode_number, episode_title, release_quality)
|
||||||
mk.notes_create(
|
mk.notes_create(
|
||||||
text=body,
|
text=body,
|
||||||
visibility="home",
|
visibility="followers"
|
||||||
local_only=True
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if os.getenv('sonarr_eventtype') == 'Test':
|
if os.getenv('sonarr_eventtype') == 'Test':
|
||||||
mk.notes_create(
|
mk.notes_create(
|
||||||
text="Test from Jellybot.",
|
text="Test from Jellybot.",
|
||||||
visibility="home",
|
visibility="followers"
|
||||||
local_only=True
|
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user