Writing /home/myplugin/public_html/activewinamp/data/cache/a/a43e8e54d09df971fdd7b64c26bbb388.i failed
Writing /home/myplugin/public_html/activewinamp/data/cache/a/a43e8e54d09df971fdd7b64c26bbb388.i failed
Writing /home/myplugin/public_html/activewinamp/data/cache/a/a43e8e54d09df971fdd7b64c26bbb388.xhtml failed

Will stop playback of winamp after a given number of minutes. Can be easily changed to stop playback after a number of tracks.

i = 0
num = CInt(InputBox("Timeout in minutes"))
if num > 0 then
	setTimeout 60000,GetRef("stoptimer")
else
	quit
end if
 
sub stoptimer
	i = i + 1
	if i >= num then
		stopplayback
 		quit
	end if
	setTimeout 60000,GetRef("stoptimer")
end sub
 
examples/general/stop_timer.txt · Last modified: 2007/01/08 16:37 by 203.206.3.83
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Music Plugins