mIRC Home    About    Download    Register    News    Help

Print Thread
/splay -q : (queue sounds) question #89019 03/07/04 06:03 PM
Joined: Feb 2004
Posts: 54
Cyclone Offline OP
Babel fish
OP Offline
Babel fish
Joined: Feb 2004
Posts: 54
When you queue sounds for playing after the current track has ended is there any way of listing the queued tracks?

The mIRC helpfile says:
/splay -cwmpq [filename | stop | pause | resume | seek | skip] [pos]
Plays the specified sound, which can be a .wav, .mid, or .mp3 file.

The -q switch allows you to queue sounds for playing after the current sound ends.


I can't find any information about being able to list the queued sound files. Any help will be appreciated grin


Re: /splay -q : (queue sounds) question #89020 04/07/04 12:41 AM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
There's no way, but scripts can listen to the On mp3end event and play files from a customized, scripted playlist.

Re: /splay -q : (queue sounds) question #89021 04/07/04 07:56 AM
Joined: Feb 2004
Posts: 54
Cyclone Offline OP
Babel fish
OP Offline
Babel fish
Joined: Feb 2004
Posts: 54
thanks Online...

I'm already using the, on *:MP3END:, event identifier. I just wondered if there was a way to list queued /splay sounds in a dialog editbox, listbox or combo and use them like a playlist. I think i'll /write them to a text file and $read and/or /splay them from there, seeing as the queueing route looks like it's a dead-end. wink

Re: /splay -q : (queue sounds) question #89022 04/07/04 08:22 AM
Joined: Mar 2004
Posts: 130
T
tsoglanos Offline
Vogon poet
Offline
Vogon poet
T
Joined: Mar 2004
Posts: 130
here is a quick code smile
Code:
  
alias Qplay {
  write X.txt $1- 
  splay -q $1-
  echo -atc notice * $nopath($1-) , add to play queue

}
on 1:Mp3end:{ 
  var %f = 1 | while ($read(x.txt,%f)) { if ($filename == $read(x.txt,%f)) write $+(-dl,%f) x.txt | inc %f }
  if ($window(@P)) { clear @p | loadbuf $lines(x.txt) @p x.txt }
}

alias w2 {
  if ($window(@p)) { clear @P | loadbuf $lines(x.txt) @p x.txt }
  else { window -lk0bd @p | loadbuf $lines(x.txt) @p x.txt }
}


;usage: /Qplay filename 
;use: /w2 , to veiw list if any!