PDA

View Full Version : How to display which song/video you are listening to/watching in mIRC (& txt output)


RedSaint
02-03-2007, 02:19 AM
I've just switched video player from zoom player to kmplayer, and so far i'm pretty impressed. The post processing could be better, but that's not what I want to share with you in this thread.

I use mIRC ([Only registered and activated users can see links]) every day, and I use a script/plugin/dll called GTSdll ([Only registered and activated users can see links]). It used to be able to show what I was playing in a variety of video and audio players, but it doesn't support KMPlayer :(

So I have used a few hours today to find an alternative way to show my friends on IRC what I am watching.

The great Winamp plugin support enables the users of KMPlayer to use AMIP ([Only registered and activated users can see links])! Easy to install, and it includes a quick start help file. That should get most people started "spamming" their currently playing video on their favorite channels on IRC :)

AMIP also supports text file export/output. So if you want to use specific details about a playing file in KMPlayer you could use the information from the textfile, which, for example, is possible in mIRC.

It should also be possible for a hotkey shortcut in AMIP to copy your playing file to the clipboard, so it is easy to paste it anywhere you want.

On the AMIP website you can get files to support other programs, including AIM, jIRCii and Bersirc. MSN support is also included, but that function is already in KMPlayer.

I would recommend installing the AMIP Java Configurator as well, as it gives a better and cleaner overview of the functions and options in AMIP.

mIRC script example:

I prefer writing commands in the status window, so I don't accidentally write lines of code or commands including passwords and so on in a channel.
So..

In the status window, write: /dde mplug options

Enable eMail/text support and save the file in the mIRC directory, eg. C:\Program files\mIRC\nowplaying.txt

It's pretty self-explanatory if you installed the AMIP Java Configurator, and you can include color codes in the various states (playing, paused, stopped and exit) and if you want to include more than one playing state, eg. "i'm playing Shark Attack by The Sharks" and "now playing: Vicious Bite @ Raging Monkeehs" you write the mIRC codes directly to the various tabs - I'll explain in a minute why and how to execute commands from a text file.

Push ALT+R to open the script editor. In remote write the following: alias kmp /say $read(nowplaying.txt)

You can now type: /kmp

This is would very simply make you say what you're playing based on the info from the nowplaying.txt file. If you want to change the command name, rename it to whatever, and if you want to make it into an action, as in /me, you just change the /say to /describe.
If you used commands in your text file, you need to do it a little different: /alias kmp /$read(nowplaying.txt)

I think this about covers playing state in mIRC for KMPlayer, but don't hesitate to ask questions. If I should not be able to answer them, i'm sure there are a few others who can.

Kenzo
02-05-2007, 12:50 AM
Can't install AMIP Winamp version in kmp/plugins folder.
Whats files i need from the AMIP plugin exactly?

RedSaint
02-05-2007, 10:38 PM
Can't install AMIP Winamp version in kmp/plugins folder.
Whats files i need from the AMIP plugin exactly?
My bad Kenzo :(

I had forgotten that before installing AMIP into the Kmplayer\Plugins\ folder that I had created an empty file called "winamp.exe" in the Kmplayer\ folder to trick another winamp plugin installer.
And that works just fine on my computer.

The installer only extracts 2 files into the plugins folder:
gen_irc.dll (the plugin)
gen_irc.chm (the help file)

Nothing else should be required.

Kenzo
02-05-2007, 11:42 PM
Ok, I did it, but now, when i write "/dde mplug options" in status or channel window nothing happens.
I use UPP script with mIRC 6.21, and in mIRC Options the DDE server is on.

Enable DDE Server (checked)
Check if Service Name in use at startup (checked)
Service Name: mIRC
DDE delay: 200 ms

eilegz
07-01-2007, 02:25 PM
nice after a few try it works very well, i wish there could be a status indicator like gtsdll but well its better than nothing i guess thanks

Pwntje
09-01-2007, 07:12 PM
Thanks dude, working fine!!!

eilegz
09-04-2007, 01:02 AM
well this method dont work for windows vista =/

any ideas? anyone tried this on vista?