simple mp3 player

By CodeProphet on Mar 29, 2007

this is a simple mp3 player that annouces whay ur playing with a "/ame" , easy to use and doesnt need to load anything... enjoy

alias mp3play {
  if (!$1) var %file = $sfile(c:\,Choose a MP3,Play it!)
else { set %file $1- }  
if (%file) { 
    run %file
    var %l = $duration($calc($mp3(%file).length / 1000))
    var %br = $mp3(%file).bitrate
    ame just played ( $+ $nopath(%file) $+ ) (kbps: %br * length: %l $+ ) 
  }
}
menu * {
  -
  mp3 :mp3play
  -
}

Comments

Sign in to comment.
Ghost-lit Warder   -  Aug 12, 2007

You should make a Set directory option to make it much easier to access a file. Other then that, good job.

 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.