media player
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 5.2 (of 6 scores) |
| Date Added | Sep 20, 2007 |
| Last Updated | Sep 25, 2007 |
| Tags | mp3 |
Introduction
;--------
FOR QUICK PLAY:
/quickmedia .play
/quickmedia .pause (type again to resume)
/quickmedia .stop
to edit if you want to enable the broadcast change the %i variable to off or on depending on your choice.
mIRC Snippet:
media player
Posted on Sep 20, 2007 11:57 pm
Posted on Sep 20, 2007 11:57 pm
completely reworked everything. it now includes a bit more compatibility then the last. hope you enjoy the update. =)
mIRC Snippet:
media player
Posted on Sep 21, 2007 11:16 am
Posted on Sep 21, 2007 11:16 am
The thing I like about this snippet is that it doesn't require a dialog to function. It's simple to control and manipulate. I would add a little more functionality to this snippet. Perhaps an an add
file/remove file option and a previous & next function? Maybe more info on the disp. message? Nice job for your first time with hash tables.
file/remove file option and a previous & next function? Maybe more info on the disp. message? Nice job for your first time with hash tables.
mIRC Snippet:
media player
Posted on Sep 21, 2007 1:27 pm
Posted on Sep 21, 2007 1:27 pm
thanks SilentExile, i am currently trying to find a way to manipulate everything through a new window. this window will include all of the features your are asking. =)
mIRC Snippet:
media player
Posted on Sep 22, 2007 12:27 am
Posted on Sep 22, 2007 12:27 am
Pretty good, but I think it would be cool if you added a way to use multiple playlists. I would either make it a dialog or use window commands if that is what you are trying to do, it just makes it easier to utilize.
mIRC Snippet:
media player
Posted on Sep 22, 2007 12:51 am
Posted on Sep 22, 2007 12:51 am
performed extreme updates. made in into a neast dialog that may require a bit of setup at first. and at Kyousoukyoku, that would be cool. i'll try and figure out a way to include that.
mIRC Snippet:
media player
Posted on Sep 22, 2007 12:56 am
Posted on Sep 22, 2007 12:56 am
Couple things. 1) Where is the aud.open command? I can't even open the dialog. :( 2) Your intro isn't updated. ;) 3) I would add a bit more functions. Perhaps an add file and remove file ability as SilentExile has stated and everything can only be set through one time. What if I wanted to add channels or change the directory? Other then that, I haven't performed extensive testing so I can't say anything else. Nice job on the coding though. =)
mIRC Snippet:
media player
Posted on Sep 22, 2007 1:12 am
Posted on Sep 22, 2007 1:12 am
alright kyou, i have made the updates. thank you so much for the feedback.
mIRC Snippet:
media player
Posted on Sep 22, 2007 2:45 pm
Posted on Sep 22, 2007 2:45 pm
Nice! Looks a lot better now. :)
mIRC Snippet:
media player
Posted on Sep 22, 2007 9:35 pm
Posted on Sep 22, 2007 9:35 pm
ok i'm getting " * Invalid parameters: $did (line 21, mp3system) " when i type /aud.play
any suggestion this is the only error so far ?
any suggestion this is the only error so far ?
mIRC Snippet:
media player
Posted on Sep 22, 2007 9:41 pm
Posted on Sep 22, 2007 9:41 pm
Nice work on this one, token. The use of the horizontal scrollbar like that is truly unique. :3 I like it :D
mIRC Snippet:
media player
Posted on Sep 23, 2007 6:35 pm
Posted on Sep 23, 2007 6:35 pm
stargazer989, was the dialog open when you typed this? i probably am going to add a quick use part so that you don't recieve that error. but the dialog should be open for the commands atm.
Akishoot, thank you. ^^
Akishoot, thank you. ^^
mIRC Snippet:
media player
Posted on Sep 24, 2007 11:17 pm
Posted on Sep 24, 2007 11:17 pm
Very nice. Though I found I hated hash tables, you seemed to have done well with this one. I work more with ini's but still, nice job :3
mIRC Snippet:
media player
Posted on Sep 25, 2007 9:54 pm
Posted on Sep 25, 2007 9:54 pm
Update: added a quick media option and edited a few bugs
mIRC Snippet:
media player
Posted on Sep 30, 2007 8:46 pm
Posted on Sep 30, 2007 8:46 pm
Really nice media player token good work. There is just a minute bug that I found. In your aud.load alias, it doesn't check if the playlist.txt is already made. As a result, it adds on to the playlist.txt when changing your directory. Here is the fixed code:
- Really simple edit.
It would be great if you can add an add file feature as well. I have a large directory of songs. Perhaps a:
| Code: |
alias aud.load { if ($isfile(playlist.txt)) write -c playlist.txt var %tmpdir $sdir(C:,Music Files) if ($dialog(mplay)) did -r mplay 11 var %x 1 :start if (%getnum|mp3 = 1) { inc %getnum|mp3 } while ($findfile(%tmpdir,*.mp3,%x)) { if ($dialog(mplay)) { did -a mplay 11 $nopath($findfile(%tmpdir,*.mp3,%x)) } write playlist.txt $findfile(%tmpdir,*.mp3,%x) inc %x } var %x 1 while ($findfile(%tmpdir,*.wav,%x)) { if ($dialog(mplay)) { did -a mplay 11 $nopath($findfile(%tmpdir,*.wav,%x)) } write playlist.txt $findfile(%tmpdir,*.wav,%x) inc %x } var %x 1 while ($findfile(%tmpdir,*.midi,%x)) { if ($dialog(mplay)) { did -a mplay 11 $nopath($findfile(%tmpdir,*.midi,%x)) } write playlist.txt $findfile(%tmpdir,*.midi,%x) inc %x } halt if ($1 = destroydir) { remove playlist.txt unset %getnum|mp3 goto start } if ($1 = remfile) { if ($2-) { if ($read(playlist.txt,$nopath($1)) { write -dl $v1 } } } } |
- Really simple edit.
It would be great if you can add an add file feature as well. I have a large directory of songs. Perhaps a:
| Code: |
var %s = $sfile(C:\,Choose a song to add) write playlist.txt %s |
mIRC Snippet:
media player
Posted on Jan 20, 2008 7:13 am
Posted on Jan 20, 2008 7:13 am
how would i add more than one song at a time?






