1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-22 15:56:58 +00:00

Fixed missing \" at the end of the payload string.

Jean-Paul Otto 2015-12-24 13:45:55 +01:00
parent 9073d873c6
commit 9f02349b1e

@ -19,7 +19,7 @@ After you make the webhook it will give you a "Webhook URL" that looks something
Next create a new bash script with this code:
#!/bin/bash
curl -X POST --data-urlencode "payload={\"username\": \"Sonarr\", \"icon_emoji\": \":ghost:\", \"text\": \"$sonarr_eventtype: $sonarr_series_title S$sonarr_episodefile_seasonnumber E$sonarr_episodefile_episodenumbers ($sonarr_episodefile_quality)}" $1
curl -X POST --data-urlencode "payload={\"username\": \"Sonarr\", \"icon_emoji\": \":ghost:\", \"text\": \"$sonarr_eventtype: $sonarr_series_title S$sonarr_episodefile_seasonnumber E$sonarr_episodefile_episodenumbers ($sonarr_episodefile_quality)\"}" $1
I put mine in `~/scripts/sonarr/` and named it `slack.sh`