forked from NussNougate/arr-mastodon
revert deb45ed1a5540ef77724331017748d3f24d1c233
revert revert 1f983b5fdff0bc8d1519aa1ee8244a7d06729e2f revert revert fixing note visibility
This commit is contained in:
parent
deb45ed1a5
commit
5256f51b11
@ -22,7 +22,8 @@ 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="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)
|
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="followers"
|
visibility="home",
|
||||||
|
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="followers"
|
visibility="home",
|
||||||
|
local_only=True
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user