I set it up as a separate shell script then run
--def exec=/pathto/Sonarrrefresh.sh
Search found 3 matches
- 14 May 2016, 04:17
- Forum: Scripting and Automation
- Topic: Custom AMC features (AniDB Maps, Sonarr, Couchpotato, etc)
- Replies: 40
- Views: 36051
- 14 May 2016, 03:50
- Forum: Scripting and Automation
- Topic: Custom AMC features (AniDB Maps, Sonarr, Couchpotato, etc)
- Replies: 40
- Views: 36051
Re: Custom AMC features (AniDB Maps, Sonarr, Couchpotato, et
--def exec="curl 'http://localhost:8989/api/command' -X POST -d "{'name':'refreshseries'}" --header "X-Api-Key:(api key)"
does " before curl need to come out?
does " before curl need to come out?
- 14 May 2016, 03:06
- Forum: Scripting and Automation
- Topic: Custom AMC features (AniDB Maps, Sonarr, Couchpotato, etc)
- Replies: 40
- Views: 36051
Re: Custom AMC features (AniDB Maps, Sonarr, Couchpotato, et
this is the curl script I use to update sonar
curl http://192.168.2.76:8989/api/command -X POST -d "{'name':'refreshseries'}" --header "X-Api-Key:"
curl http://192.168.2.76:8989/api/command -X POST -d "{'name':'refreshseries'}" --header "X-Api-Key:"