Krofinzki
User Karma: 24
|
Re:PennFans.net Radio Recorder V0.3 - 2006/01/16 08:48
My windows scheduler didn't work today for some reason.. I tried changing everything about the job to get it to work, but nothing did it. So now I'm using mirc to schedule the recording instead.
With this code:
| Code: | on *:«»START:{ pennradio -t }
alias pennradio {
if (($day == Saturday) || ($day == Sunday)) { .timer -o 1 120 /pennradio -t | halt }
if ($1 == -t) { .timer -o 19:59 1 10 /pennradio -r | halt }
if ($1 == -r) {
run D:\vlc-0.7.1-penn\vlc.exe --one-instance --http-caching 5000 mmsh://68.142.72.67:80/bdcast_infinity_wckg-fm?MSWMExt=.asf <img src="http://www.pennfans.net/components/
com_joomlaboard/emoticons/dizzy.png" alt="" style="vertical-align: middle;border:0px;" />
out=#transcode{acodec=mp3,ab=64,channels=1}:duplicate{dst=std{access=file,mux=raw,url="D:\
The.Penn.Jillette.Radio.Show. [ $+ [ $date(yyyy.mm.dd) ] $+ ] .mp3"}}
.timer -o 1 3720 /run D:\vlc-0.7.1-penn\vlc.exe --one-instance vlc:quit
.timer -o 1 120 /pennradio -t
}
}
|
If anyone else wants to use it, all you need to change is the 19:59 and where vlc.exe exists and where to save the file.
EDIT: The code had a bug. I'm pretty sure I fixed it, but you never know until you've actually tried at the exact right time and stuff, so I'll know tomorrow
|