(WIN) WOL (wake-on-lan) batch not working with sickbeard

Come up with a useful post-processing script? Share it here!
Post Reply
coopooc
Newbie
Newbie
Posts: 1
Joined: February 22nd, 2011, 2:19 pm

(WIN) WOL (wake-on-lan) batch not working with sickbeard

Post by coopooc »

Ok, I wrote what I figured would be an easy little script to send a magic packet to my NAS, wait a bit and then send things along to sabtosickbeard.exe.

Apparently I'm missing something though. I'm guessing SAB usually sends along some variables and my batch messes that up. I get the "folder not supplied" warning. Anyone have experience with something like this on windows? I've found some python scripts that do this but I need it in windows. Anyway, here's the simple script I have now.

Code: Select all

@echo off
"c:\Program Files\SABnzbd\scripts\wolcmd.exe" MACADDRESSHERE 192.168.0.152 255.255.255.0
ping -n 11 127.0.0.1 > nul
"c:\Program Files\SABnzbd\scripts\sabToSickBeard.exe"
relman
Release Testers
Release Testers
Posts: 46
Joined: September 30th, 2008, 2:42 am

Re: (WIN) WOL (wake-on-lan) batch not working with sickbeard

Post by relman »

its because you are not passing all the info to the SabToSickbeard.exe  make the change below and it should work.

Code: Select all

@echo off
"c:\Program Files\SABnzbd\scripts\wolcmd.exe" MACADDRESSHERE 192.168.0.152 255.255.255.0
ping -n 11 127.0.0.1 > nul
"c:\Program Files\SABnzbd\scripts\sabToSickBeard.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9 
Post Reply