mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
Joined: Sep 2007
Posts: 6
E
Edie Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Sep 2007
Posts: 6
Why can't i play music on my mIRC? /splay -p <Map> doesn't works, because i get this error message whole the time:

* /splay: unable to play 'C:\Documents and Settings\liedjes\Robin Beck - First Time.mp3' (line 49, script8.ini)

It's not the song and it's not the script. Can someone help?

Joined: Dec 2004
Posts: 87
I
Babel fish
Offline
Babel fish
I
Joined: Dec 2004
Posts: 87
show us line 49, in your script8.ini

Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
My guess is you need to put the directory path in quotes ("..."), but yes, please show the line mentioned.

Joined: Sep 2007
Posts: 6
E
Edie Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Sep 2007
Posts: 6
Line 49:

splay -p $qt($findfile($readini(tehmp.ini,Directory,Playlist1),$+(*,$did(16).seltext,.mp3),1,))

But, it's not the script, all /splay's aren't working.

EDIT:

My operating system is XP. I've also used /splay alot on my laptop, it's working fine there.

Last edited by Edie; 01/09/07 08:06 PM.
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Does using short filename work?
Code:
 splay -p $findfile($readini(tehmp.ini,Directory,Playlist1),$+(*,$did(16).seltext,.mp3),1).shortfn


Last edited by deegee; 01/09/07 10:48 PM.
Joined: Jul 2006
Posts: 4,180
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,180
When Sound is off, if you try to /splay a file, mIRC doesn't give an error, it just not play the file.

I know some others person who are able to reproduce this error when playing a file.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Originally Posted By: Wims
When Sound is off, if you try to /splay a file, mIRC doesn't give an error, it just not play the file.

Yes, that is exactly what my post points out wink

Originally Posted By: Wims
I know some others person who are able to reproduce this error when playing a file.

It isn't an error, it's a design feature. I believe it was requested at some point.

Joined: Jul 2006
Posts: 4,180
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,180
Quote:
Originally Posted By: Wims
I know some others person who are able to reproduce this error when playing a file.

It isn't an error, it's a design feature. I believe it was requested at some point.


Why mIRC return an error ?
If his file can be played with another program, (and if his file exists), why mIRC can't read it ?






#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Ah, woops! I missed that he had an error... shocked

Disregard the "/ebeeps on" post then. laugh

Joined: Jul 2006
Posts: 4,180
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,180
Lol ok, but what i said is wrong too, playing a file that doesn't exists give an the error even if sound is off smile


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
As mentioned, turn on sounds in mIRC's options to be able to use /splay.


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033
Obviously sounds are enabled or he wouldn't get the error message.

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
This has happened to me in the past when I've tried to play a file with a format that doesn't match the extension, ie. an mp3 file with a .wma extension. When playing the same file in windows media player it complained about the file not matching the format and asked if I wanted to play it anyway.

Joined: Sep 2007
Posts: 6
E
Edie Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Sep 2007
Posts: 6
.wma files are working. .mp3 files aren't.

Somebody knows what i could do? smile

PS: It's just the /splay not the script.

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Just an idea... does mIRC "recognize" the file(s) in question as mp3 files?
You can test this with e.g.; //echo -a $sound($qt(filename.here)).version
...The output should be like "MPEG 1.0 Layer 3"

Joined: Sep 2007
Posts: 6
E
Edie Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Sep 2007
Posts: 6
'MPEG 1.0 Layer 3'

Hmm.. Why isn't it working tired

Last edited by Edie; 02/09/07 07:08 PM.
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Hum, did you try a different file location? (..thinking of restricted file access according to user account or other settings)
Try e.g. your $mircdir and another drive / partition of that PC.

Joined: Sep 2007
Posts: 6
E
Edie Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Sep 2007
Posts: 6
Nope; not working.

I'm still getting same error message.

Last edited by Edie; 02/09/07 07:25 PM.
Joined: Sep 2007
Posts: 6
E
Edie Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Sep 2007
Posts: 6
...

Joined: Jan 2006
Posts: 111
N
Vogon poet
Offline
Vogon poet
N
Joined: Jan 2006
Posts: 111
It looks like Edie is nuts, but he isn't. I made a player for mirc which works perfectly for me and lots of other people. Today I got the question: "Your player only plays wma and not mp3". I asked this person to send me this piece of music and at my pc it is being played very well. I let her change the filename (replace spaces by underscores), put the file at another location, etc. but nothing helped. I changed filenames myself and relocated them and got no errors. She uses xp too like Edie. And she has mirc 6.17. I'm stunned ....

* /splay: unable to play 'H:\Shared\02 Beauty And The Beast.mp3' (line 1015, rb-CoolPlayer.mrc)

Why????

Page 1 of 2 1 2

Link Copied to Clipboard