implemented episode var-check
This commit is contained in:
parent
87cbdb579c
commit
0cb2307967
@ -35,7 +35,10 @@ if os.getenv('sonarr_eventtype'):
|
||||
body = "New content added to Jellyfin: \n"
|
||||
body += 'Series: ' + os.getenv('sonarr_series_title') + '\n'
|
||||
body += 'Season: ' + os.getenv('sonarr_episodefile_seasonnumber') + '\n'
|
||||
body += 'Episode: ' + os.getenv('sonarr_release_episodenumbers') + '\n'
|
||||
if os.getenv('sonarr_release_absoluteepisodenumbers'):
|
||||
body += 'Season: ' + os.getenv('sonarr_release_absoluteepisodenumbers') + '\n'
|
||||
elif os.getenv('sonarr_release_episodenumbers'):
|
||||
body += 'Episode: ' + os.getenv('sonarr_release_episodenumbers') + '\n'
|
||||
toot(server_url, body, server_token)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user