»Mp3 Player«

By Daniel_ on Jan 29, 2007

Mp3 Player ;o

Comments

Sign in to comment.
Storm2108   -  Jun 23, 2008

Notice at line 27 you missed out a s for splay and put play instead.

More
 Respond  
EL   -  Nov 28, 2007

I haev been through every effin mp3 snippet an none work for my script.Odd thing about my script is some how when i downloaded mIRC 6.3 then went back to 6.21(cause i like it better) then back to 6.3 then back to 6.21 I have a fricken hybrid mIRC,so like i have the best of 6.21 an the best of 6.3 god knows how that happened can\'t tell ya,Ok askin what does this have to do with a mp3,well i have been through every mp3 here like i said an i have only been scriptin eh 5 or 6 months an aint about to try my own.so i come across this snippet,and it dint work for me...didnt know why so like so i started to mess with it, and found that \"\"splay %Play.song\"\" will not work for me so changed it to \"run %play.song\" and woot it works like a champ.Any ways sorry for all that info but it works an im a happy effin camper even tho i dislike the songs sent to all channels i changed that.Also im wundering if any one can enlighten me on thsi error message n this has been with all the mp3z i tryed i cant seem to use any other buttons but Play/directory /play: invalid parameters (line 44, script12) - /splay: no such file \'pause\' (line 41, script12).Ok im done an thanks daniel_ great work.`-.-

More
 Respond  
DaNzO   -  Nov 13, 2007

lol :D

More
 Respond  
mountaindew   -  Oct 08, 2007

ugh...

>  <quote> 
More
 Respond  
tai   -  Oct 08, 2007

Ah, thanks. ^^

More
 Respond  
mountaindew   -  Oct 08, 2007

for snippets, u can only do

[quote][/quote] no names

More
 Respond  
tai   -  Oct 08, 2007

[quote=\"Sick_Puppy\"] Boring cosmetics. Looks like poo. Add some color and save me time. :< [/quote] @ Sick_Puppy: Looks fine, simple, and it includes colour. ;) Although, coloured snippets are not really that great as they do not suit some user\'s tastes in colour. So this snippet shouldn\'t include colour in the first place.

@ Daniel_: It works fine, but you might want to make an edit and use a list instead of a combo box so that it displays the full song. =)

More
 Respond  
Sick_Puppy   -  Oct 08, 2007

Boring cosmetics. Looks like poo. Add some color and save me time. :<

More
 Respond  
Calzo   -  Aug 12, 2007

Lmao, Saurabh, you will steal it ;)

More
 Respond  
Shadow Clash   -  Aug 12, 2007

Your lame Calzo

More
 Respond  
Calzo   -  Jun 17, 2007

Watch out Saurabh will steal it

More
 Respond  
wayne   -  May 27, 2007

i dident know you realised this lol ;x ~steals it~ haha :)

More
 Respond  
Conipto   -  Mar 09, 2007

oops, that\'s line 25

More
 Respond  
Conipto   -  Mar 09, 2007

What other parameters are needed?

More
 Respond  
Conipto   -  Mar 09, 2007

Line 27 is where mine goes bad.

More
 Respond  
DarthReven   -  Jan 29, 2007

Techincally we don\'t even need the variables to be honest we could just use the identifiers to return the data back to the room

More
 Respond  
Daniel_   -  Jan 29, 2007

nah i dnt use var much

More
 Respond  
X1qu10n3r   -  Jan 29, 2007

--

set %mp3 $did(mp3,5).seltext
set %Play.song $findfile(%mp3dir,$did(mp3,5).seltext,1)
set %bitr $mp3(%play.song).bitrate
set %length $gmt($round($calc($mp3(%play.song).length / 1000),0),nn:ss)
set %mp3size $bytes($file(%Play.song).size).suf 
set %khz $round($calc($mp3(%Play.song).sample / 1000),1)) 

-- You\'re not using those for anything else but messaging the channel, so use local variables. /var

and the inc %song.play is useles in my opinion.

More
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.