Old 31st May 2002, 10:22   #1
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 31st May 2002, 10:35   #2
nonexistentnothing
Senior Member
 
nonexistentnothing's Avatar
 
Join Date: Apr 2001
Location: England (DO'H!)
Posts: 122
Send a message via AIM to nonexistentnothing
Sounds great, i will take a look at this when i get back to my main computer.
nonexistentnothing is offline  
Old 31st May 2002, 14:49   #3
Arvenius
Junior Member
 
Join Date: Dec 2000
Posts: 34
Send a message via ICQ to Arvenius
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? =)
Arvenius is offline  
Old 31st May 2002, 15:58   #4
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
Yeh I know what you mean, I'm working on it now .

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 31st May 2002, 17:16   #5
YtseJam
Forum King
 
YtseJam's Avatar
 
Join Date: Dec 2000
Location: Israel
Posts: 2,398
Send a message via ICQ to YtseJam Send a message via AIM to YtseJam
Just make it optional... Not all like to show the bitrate and other [useless] info. in a /me line.
YtseJam is offline  
Old 31st May 2002, 17:22   #6
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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.

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 31st May 2002, 17:47   #7
Kakos Daimos
Junior Member
 
Join Date: Dec 2001
Posts: 12
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? =)
Kakos Daimos is offline  
Old 31st May 2002, 17:50   #8
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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.

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 5th June 2002, 13:40   #9
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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.

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 5th June 2002, 16:00   #10
thepyr0x
Major Dude
 
thepyr0x's Avatar
 
Join Date: Oct 2001
Location: At my house in a city in Canada
Posts: 1,336
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
code:
$dll(wa3.dll,filename)
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......

thepyr0x is offline  
Old 5th June 2002, 21:09   #11
Bizzeh
Forum Pirate
Beta Team
 
Bizzeh's Avatar
 
Join Date: Oct 2001
Posts: 2,032
could you add a command like
code:
%ver
which pulls out the current version of winamp 3 being used???
Bizzeh is offline  
Old 5th June 2002, 21:13   #12
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
Yup sure, that's in my todo list for the next version ... could be quite a while coming though, other things to do.

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 5th June 2002, 21:49   #13
Bizzeh
Forum Pirate
Beta Team
 
Bizzeh's Avatar
 
Join Date: Oct 2001
Posts: 2,032
thanks dade... could u send me code for that PHP script aswell plz in a quick instruction on how to set it up..

thanks
Bizzeh is offline  
Old 6th June 2002, 08:49   #14
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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 .

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 6th June 2002, 10:10   #15
Rocker
Hiding in plain sight (mod)
 
Join Date: Jun 2000
Location: Melbourne, Australia
Posts: 9,910
winamp3 downloads fixed
Rocker is offline  
Old 6th June 2002, 15:21   #16
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
With regards to build #475, the SDK doesn't compile for that build because some pretty essential files are missing. I'm awaiting #476 .

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 6th June 2002, 18:34   #17
Bizzeh
Forum Pirate
Beta Team
 
Bizzeh's Avatar
 
Join Date: Oct 2001
Posts: 2,032
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
Bizzeh is offline  
Old 7th June 2002, 00:55   #18
Bizzeh
Forum Pirate
Beta Team
 
Bizzeh's Avatar
 
Join Date: Oct 2001
Posts: 2,032
compile to 476 aswell plz
Bizzeh is offline  
Old 7th June 2002, 08:44   #19
mc^^^^
Forum King
 
mc^^^^'s Avatar
 
Join Date: Aug 2001
Location: Perth, Australia MSN: mcbriar@ii.net Posts: All your posts are belong to me!!!!
Posts: 2,608
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

mc^^^^ is offline  
Old 7th June 2002, 16:48   #20
thepyr0x
Major Dude
 
thepyr0x's Avatar
 
Join Date: Oct 2001
Location: At my house in a city in Canada
Posts: 1,336
/me taps his foot and waits for $dll and /dll ability rather than just having it sent from the plugin

thepyr0x is offline  
Old 16th June 2002, 16:11   #21
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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.

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 16th June 2002, 18:30   #22
thepyr0x
Major Dude
 
thepyr0x's Avatar
 
Join Date: Oct 2001
Location: At my house in a city in Canada
Posts: 1,336
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?

thepyr0x is offline  
Old 16th June 2002, 18:43   #23
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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.

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 22nd June 2002, 20:25   #24
Bizzeh
Forum Pirate
Beta Team
 
Bizzeh's Avatar
 
Join Date: Oct 2001
Posts: 2,032
are you goin to compile for RC1 #478?

i hope so cos i love this plug
Bizzeh is offline  
Old 22nd June 2002, 20:32   #25
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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 .

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 30th June 2002, 17:24   #26
Electronic Punk
Member
 
Join Date: Jun 2002
Location: StoneHenge
Posts: 94
Send a message via ICQ to Electronic Punk Send a message via AIM to Electronic Punk Send a message via Yahoo to Electronic Punk
Now that configurification is kinda in and working again, you reckon you could update this fine looking mod ?

Cheers.
Electronic Punk is offline  
Old 30th June 2002, 17:33   #27
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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.
Attached Files
File Type: zip infofilerc2.zip (11.2 KB, 209 views)

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 30th June 2002, 17:54   #28
Electronic Punk
Member
 
Join Date: Jun 2002
Location: StoneHenge
Posts: 94
Send a message via ICQ to Electronic Punk Send a message via AIM to Electronic Punk Send a message via Yahoo to Electronic Punk
Thanks I will give it a go now
Electronic Punk is offline  
Old 30th June 2002, 18:40   #29
Electronic Punk
Member
 
Join Date: Jun 2002
Location: StoneHenge
Posts: 94
Send a message via ICQ to Electronic Punk Send a message via AIM to Electronic Punk Send a message via Yahoo to Electronic Punk
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
Interesting to read thru the code that converts that all into an image tho..
Electronic Punk is offline  
Old 30th June 2002, 18:54   #30
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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



For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 30th June 2002, 19:37   #31
Electronic Punk
Member
 
Join Date: Jun 2002
Location: StoneHenge
Posts: 94
Send a message via ICQ to Electronic Punk Send a message via AIM to Electronic Punk Send a message via Yahoo to Electronic Punk
Thats working a treat. Thanks alot, nice of you to drag yourself away from business

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!
Electronic Punk is offline  
Old 30th June 2002, 20:42   #32
Q3aiml
Junior Member
 
Join Date: Jul 2001
Posts: 19
Quote:
Originally posted by mc^^^^
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
This works if you change the song before ten seconds is up. If you pause/stop it will not work.

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
Q3aiml is offline  
Old 9th July 2002, 20:06   #33
Electronic Punk
Member
 
Join Date: Jun 2002
Location: StoneHenge
Posts: 94
Send a message via ICQ to Electronic Punk Send a message via AIM to Electronic Punk Send a message via Yahoo to Electronic Punk
Any word on any updates, or are you still well busy?
A new line of total time would be nice etc..
Electronic Punk is offline  
Old 9th July 2002, 20:11   #34
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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 .

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 9th July 2002, 20:35   #35
Electronic Punk
Member
 
Join Date: Jun 2002
Location: StoneHenge
Posts: 94
Send a message via ICQ to Electronic Punk Send a message via AIM to Electronic Punk Send a message via Yahoo to Electronic Punk
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) ]

Electronic Punk is offline  
Old 9th July 2002, 20:38   #36
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
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.

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
Old 5th May 2003, 13:42   #37
anenburg
Junior Member
 
Join Date: Mar 2003
Posts: 3
Sorry for bumping up the thread, but is there a new version of this or something, for the current build - 488?
anenburg is offline  
Old 5th May 2003, 16:08   #38
Russ
Mostly Harmless
(Alumni)
 
Join Date: Jan 2001
Location: UK
Posts: 2,319
No. Use AMIP.

For long you live and high you fly, but only if you ride the tide, and balanced on the biggest wave you race towards an early grave.
|Musicbrainz|Audioscrobbler|last.fm|
Russ is offline  
 
Go Back   Winamp & Shoutcast Forums > Winamp3 > Winamp3 Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump