Created
November 27, 2012 21:46
-
-
Save kripton/4157307 to your computer and use it in GitHub Desktop.
krad radio tcl client function library (or s.th. like that)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## krad radio tcl client function library (or s.th. like that) | |
set sleeptime 200 | |
proc kr {args} { | |
global station sleeptime | |
puts "kr_client: running krad_radio $station $args" | |
exec krad_radio $station {*}$args | |
after $sleeptime | |
} | |
proc krlaunch {} { | |
kr launch | |
} | |
proc krkill {} { | |
kr destroy | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment