mIRC Home    About    Download    Register    News    Help

Print Thread
#26862 29/05/03 07:16 AM
J
jndietz
jndietz
J
One of the first things I had ever made for my script was an mp3 player. Since then I've added many more features, but recently, I have not been able to use the /splay command at any time, on any script on the computer. Whenever I go to play a mp3, it gives me the error message:

* /splay: unable to play 'C:\Documents and Settings\User\My Documents\My Music\AFI - Girl's Not Grey.mp3'

Does anyone know why it would be doing this? I've tried different scripts on different instances of mIRC, but still it does not work.

Thank You,
Jared Dietz grin

#26863 29/05/03 11:54 AM
T
theRat
theRat
T
Something missing from Windows Media Player?

#26864 30/05/03 06:21 AM
Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
$10 says its because the file name has two or more consecutive spaces, and mirc can't play it. >:D

#26865 03/06/03 08:46 AM
K
kupotek
kupotek
K
has nothing todo with spacing.

you can rename Ozzy - Osbourne-Running Out Of Time.mp3

to OzzyOsbourne-RunningOutOfTime.mp3

and you sitll get :

/splay: no such file 'D:\Library\MP3s\OzzyOsbourne-RunningOutOfTime.mp3'

and this happens with uncorrupted files seeminlgy at random.
so a song that played 5 minutes ago might suddenly be unable to be found by mIRC.

mad

#26866 03/06/03 09:02 AM
K
kupotek
kupotek
K
Okay i just fixed this problem it is not a bug.

it is a scripting problem!
In your dialog, edit the on init event and those files that wont play, will be recognized again.

Change :

on *:dialog:player:init:0: {
to
on *:dialog:player:init:*: {

Last edited by kupotek; 03/06/03 09:19 AM.
#26867 03/06/03 06:40 PM
K
kupotek
kupotek
K
If you still have problems its because you are saving path to a variable and its only saving the root dir and not sub recursive folders.

#26868 05/06/03 03:57 AM
K
kupotek
kupotek
K
i think you gotta just put quotes around the splay like i use splay -p " $+ %publicmp3 $+ "


Link Copied to Clipboard