mIRC Home    About    Download    Register    News    Help

Print Thread
#248311 03/10/14 08:32 AM
Joined: Sep 2014
Posts: 7
D
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Sep 2014
Posts: 7
ok, so i'm working on a mp3 player and i'm trying to use $sound(%songname).title and such to display the id3 tags for the song. if i say $sound(%songname) it returns the mp3 dir, if i make it msg just %songname it shows the filename, and if i add .title .artist or whatever i get * /msg: insufficient parameters. even if i put the actual filename and not my custom %songname it does the exact same thing. any clues what's up with that?

dalamar238 #248312 03/10/14 02:30 PM
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Check http://en.wikichip.org/wiki/mirc/playing_music

Are you using an mp3 type? $sound only works with .mp3


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #248340 04/10/14 08:04 AM
Joined: Sep 2014
Posts: 7
D
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Sep 2014
Posts: 7
yes, i'm only using mp3s

//msg #zroom $sound(Tenacious D - Beelzeboss (The Final Showdown) - 13.mp3).title

that is one of my test attempts that i am typing in directly, responds with... * /msg: insufficient parameters

Last edited by dalamar238; 04/10/14 08:10 AM.
dalamar238 #248651 14/10/14 11:38 PM
Joined: Sep 2014
Posts: 7
D
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Sep 2014
Posts: 7
anybody?

dalamar238 #248654 14/10/14 11:55 PM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Does the "Tenacious D - Beelzeboss (The Final Showdown) - 13.mp3" exist on the $mircdir?

Please use this command and then reply the results here: //echo -a IS: $isfile(Tenacious D - Beelzeboss (The Final Showdown) - 13.mp3)

Also please give us the full direction of the .mp3 file.


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #248688 18/10/14 11:06 AM
Joined: Sep 2014
Posts: 7
D
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Sep 2014
Posts: 7
well that actually turned out to be helpful, it wasn't finding it for lack of a proper directory. this is what i ended up having to use to make it function...
$sound($findfile($mp3dir,%song,1)).title



Link Copied to Clipboard