![]() |
New Winamp3 mIRC plugin finished
I've just finished my new Winamp3/mIRC plugin for Winamp3 beta 3. Here's the readme:
This is a completely rewritten version of my original Winamp3/mIRC plugin, updated to use the mIRC SendMessage communication instead of DDE. To use, put mIRC.wac into your winamp3\wacs directory, and restart Winamp. Hit <control>+p and go to the "mIRC plugin" section of the configuration. Check the "Enable mIRC Control" box, and enter the irc command into the text box. This will be processed by mIRC as if it were typed into the active window. Codes you can use in this box are listed below: %a - Artist %t - Title %l - Album %y - Year %c - Comment Colour codes (use as you would in mIRC): *b - Bold *u - Underline *k <number> - Colour <number> Grab it here: http://russ.garrett.co.uk/wa3/mIRC.zip |
Sounds great, i will take a look at this when i get back to my main computer.
|
great thing.. waiting for good mirc plug for ages... but please add more variables, like the full-filename with path for dcc sends, bitrate, length, size, etc.. its not just for displaying it on screen but for working with it in mirc, you know? =)
|
Yeh I know what you mean, I'm working on it now :).
|
Just make it optional... Not all like to show the bitrate and other [useless] info. in a /me line.
|
It's already optional - personally I only use artist and title, I really don't see why people use the other parameters, but it's not much of a bother putting them in, so I will.
|
It is made for build 466 right? Because nothing shows up on my build 475. Would it be hard to make it work with build 475? =)
|
I don't support the development builds at the moment (my god I'm beginning to sound like a software company already) because they're pretty unstable. I'll look into doing a #475 build though.
|
Version 2
In response to comments, here's version 2 which includes the following new formatting codes:
%l - Length in seconds %m - Length in mm:ss %p - Winamp3 playstring - if this is a file, you can strip the file: off the beginning to get the path. (A full guide to the codes is in the readme file in the zip). Grab it at http://russ.garrett.co.uk/wa3/mIRCv2.zip. |
hrm, I do a lot of mIRC scripting myself, and from that point of view there's something that would be even better than the way you are going about your mIRC plugin now. The way I would prefer it is if you could get something like
and have it return the filename, that way you wouldn't have to leave your mIRC window to display the song you are playing. Maybe as a future implementation you could allow mIRC to make calls to the dll and have it tell WA3 to stop, play, pause, etc etc etc. If ya ever need any help with the mIRC scripting side......code: |
could you add a command like
which pulls out the current version of winamp 3 being used???code: |
Yup sure, that's in my todo list for the next version :)... could be quite a while coming though, other things to do.
|
thanks dade... could u send me code for that PHP script aswell plz:D:D:D in a quick instruction on how to set it up..
thanks |
I'll ramble quickly on the PHP script. I use my info file plugin to output a file onto another computer I have here (a linux machine, but that's irrelevant), using a mapped network drive. That file is shared using a web server on that machine (which is on my cable modem - you can view it here: http://europa.tcslon.com/playing.txt), and then the PHP script on my main web server picks that up and does some image stuff with it.
The source to the PHP script is here http://russ.garrett.co.uk/playing.txt but your ISP needs to have PHP compiled with GD and FreeType support for the image stuff to work, which is a pain to do to say the least. Here it helps to be your own ISP :). |
winamp3 downloads fixed
|
With regards to build #475, the SDK doesn't compile for that build because some pretty essential files are missing. I'm awaiting #476 :).
|
ok... i got http://dexterholland.drakesland.com that is perm up and suports everything (well as much as he can do, which is quite alot)
could u give me a lil help on how to set it up to my machine |
compile to 476 aswell plz
|
a feature i would ABSOLUTLY LOVE: the ability to only send the string to mirc after the song has been playing for 10 seconds or so, this way people dont see some of the pathetic songs i dont want yet cant be bothered deleting.
to do you could just use a timer or something |
/me taps his foot and waits for $dll and /dll ability rather than just having it sent from the plugin
|
OK build 477 versions of all my plugins are arriving shortly. It's the first build I can actually *use*.
With regards to the timer thing, I'm looking into it at the moment. With the $dll thing, the reason I didn't do one is because winamp3 has no externally-accessible API of it's own - I'd end up reimplementing the Winamp 2 plugin manager component to provide an api, then reimplementing one of the mIRC DLLs already available. So, if you really really want to tell everyone in your channel how far through the song you are (I never found out why people do that - I DON'T CARE WHERE YOU ARE IN THE BLOODY SONG), use the wa2 plugin manager and one of the existing mIRC DLLs. If you want functionality like the mIRC dlls, but don't need people to know the gory details of how far through the song you are, then you can use my info file plugin, which provides similar functionality, without the live "how far through you are" data, and is simpler and more flexible into the bargain. |
no no no I don't care about "how far in the song I am"
however, i like the idea of being able to make an alias so I can just type like /mp3.play and have it randomly play a song (or maybe I could do /mp3.play songtitle and have it use a j like function to find that title and play it). then I could have it display an ad saying here's the song, here's the details, here's how to get it sorta thing. if it's using Winamp based searching, and Winamp based random select, then I'd have to get the songtitle and whatnot from Winamp do ya see what I'm sayin? |
Ah I see what you're getting at... This is where I personally thing Winamp3 should be provided with an externally-accessible API.
Again I think that the best bet at the moment is to use the winamp 2 plugin support component, with an existing plugin. Someone needs to write a generic IPC component for wa3, although that could be somewhat confusing for end-users. I'll try and put something together possibly, but I've got other things to do, so I make no promises. :) |
are you goin to compile for RC1 #478?
i hope so cos i love this plug |
The problem with RC1 is there's no configurification, so there's nowhere for the settings to live. Although the plugin can be used by editing the studio.xnf manually (I'm using it at the moment), that's not particularly user-friendly.
Expect a new version in the next few days, I'll write some instructions on using studio.xnf, but also expect to be shouted at or ignored if you ask any questions - I'm quite busy over the next 2 or 3 weeks :). |
Now that configurification is kinda in and working again, you reckon you could update this fine looking mod ?
Cheers. |
1 Attachment(s)
This is provided with absolutely no support whatsoever. Compiled for RC1.5 but works with RC2. A better version with a preferences pane will arrive within 3 weeks. I hope.
|
Thanks I will give it a go now :D
|
Did mean the mIRC addon, but this seems pretty cool.
The above file seems to be working pretty cool with the latest build, should be nice when you have configured what the output txt file will show. Currently on dialup so can't really realistically link to my ip as the txt file source, tried putting some ftp details as the target location but it wasn't having any of it :D Interesting to read thru the code that converts that all into an image tho.. |
Ooops lol I forgot which thread this was :). I really haven't got much time at the moment - the PHP script is at http://russ.garrett.co.uk/playing.txt - I don't think it's too hard to follow.
You can use the info file in mIRC using an alias like this: playing say [ $+ $read(H:\playing.txt,1) $+ ] playing $+ $read(H:\playing.txt,2) $+ - $+ $read(H:\playing.txt,4) Replacing H:\playing.txt with the path to your info file |
Thats working a treat. Thanks alot, nice of you to drag yourself away from business :D
Used the following alias as the other one gave me some unknown error type thing: playing say $chr(91) $+ $read(c:\program files\winamp\playing.txt,1) $+ $chr(93) playing $read(c:\program files\winamp\playing.txt,2) - $read(c:\program files\winamp\playing.txt,4) And have customised it a little: playing describe $active is raving to [ $read(c:\program files\winamp\playing.txt,2) - $read(c:\program files\winamp\playing.txt,4) ] Greatly appreciated! :D |
Quote:
Send the command as //timermp3info 1 10 amsg what you want to say Rememeber that if you are on more than one server and the active window changes to a different connection it won't work. If you want it to work on all connections you could use //scon -a timermp3info 1 10 amsg what you want to say |
Any word on any updates, or are you still well busy?
A new line of total time would be nice etc.. |
School ends tomorrow, but I want a new wa3 build/RC to play with :).
Still now the RC2 SDK is out I shall have a few new builds out soon. I hope to include a preferences page in the next release :). Thing is, I don't have much incentive to build any more of my components, because the one I use works fine at the moment :). |
Yeah a new build would be well nice - but then you can't really expect too many changes with it ;)
Not sure how these mods are coded, but it seems weird how every new release breaks compatibility. Anyway, it works fine for now (your doohicky), wowing all my friends with my awesome taste in music... * [e]-Punk is raving to [ Yves Deruyter - Back To Earth (DJ Scot Project Remix) ] ;) |
lol, not every build actually breaks compatibility. The Info File plugin I posted above was compiled against the RC1.5 SDK, but works fine with RC2. They've still been screwing quite a lot with the APIs though, although this is slowing down.
|
Sorry for bumping up the thread, but is there a new version of this or something, for the current build - 488?
|
No. Use AMIP.
|
| All times are GMT. The time now is 20:46. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.