forked from NussNougate/arr-mastodon
		
	fixing note visibility
This commit is contained in:
		@@ -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
 | 
			
		||||
    )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user