mp3 - 20/07/03 12:33 AM
can anyone give me a gist of what happens with a continous mp3 player? because i cant figer out what would make it play continously after an splay ends? any help will be great
thanks anyways
thanks anyways
alias syn { if (%mp3.dir == $null) { set %mp3.dir $sdir(C:/,Select Your mp3 Directory) } if (%rand == on) { set $rand(%mp3.dir) | syn.dis | syn.play { if ($insong == true) { on *:mp3end: { set %mp3 $rand(%mp3.dir) | syn.dis | syn.play } } elseif ($inwave == true) { on *:mp3end: { set %mp3 $rand(%mp3.dir) | syn.dis | syn.play } } else ($inmidi == true) { on *:mp3end: { set %mp3 $rand(%mp3.dir) | syn.dis | syn.play } } } } else { syn.get syn.rand syn.dis syn.play } } alias syn.get { set %mp3 $sfile(%mp3.dir,Select a song!,ok) } alias syn.rand { set %rand $$?="Set this value to either, on or off:" } alias syn.dis { set %mp3.name $sound(%mp3).title set %mp3.length $sound(%mp3).length set %mp3.artist $sound(%mp3).artist set %mp3.bit $sound(%mp3).bitrate } syn.play { //splay %mp3 msg $active syn mp3; (%mp3.artist(%mp3.title)%mp3.length) @ (%mp3.bit) }
alias syn { if (%mp3.dir == $null) { set %mp3.dir $sdir(C:/,Select Your mp3 Directory) } if (%rand == on) { set $rand(%mp3.dir) | syn.dis | syn.play [color:Red]{[/color] if ($insong == true) { on *:mp3end: { set %mp3 $rand(%mp3.dir) | syn.dis | syn.play } } ...
... [color:Red]alias[/color] syn.play { ...
... $rand(%mp3.dir) ...
$findfile(%mp3.dir, *.mp3, $rand(1, $findfile(%mp3.dir, *.mp3, 0)))
if ($insong == true) { [color:red]on *:mp3end:[/color] { set %mp3 $rand(%mp3.dir) | syn.dis | syn.play } }
alias syn.dis { set %mp3.name $sound(%mp3).title set %mp3.length $sound(%mp3).length set %mp3.artist $sound(%mp3).artist set %mp3.bit $sound(%mp3).bitrate }
alias syn.play { //splay %mp3 msg $active syn mp3; (random play) - ( $+ %mp3.artist $+ ( $+ %mp3.title $+ ) $+ %mp3.length $+ ) @ ( $+ %mp3.bit kb/s) - anti SARS defense system! }