1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-08-13 15:43:47 -04:00
arch-ppa/src/sabnzbd/addnzb.sh
2016-11-05 02:18:08 -04:00

5 lines
125 B
Bash

#!/bin/sh
. /etc/conf.d/sabnzbd
curl -s -F apikey="$API_KEY" -F mode="addfile" -F name=@"$1" $URL/sabnzbd/api &> /dev/null