I wrote this today, mostly to learn but also because it's handy. It's a plugin for gaim that lets you control xmms on Linux. You can download it here:
http://iago.no-ip.com/xmms-playing.tgz
I included source and compiled, but there's no makefile (since I haven't figured out how to make them well yet).
Extract it to /usr/local/lib/gaim or ~/.gaim/plugins, restart gaim, and that's it! Use the command ".xmms help" to get help on it.
Did you write it in Perl? The xmms plugin on the gaim website that's in Perl is only a few line, the C one is pretty long though.
No, I wrote it in C. I don't know enough about Perl to use it for a plugin. This is somewhat long, but fairly simple.
And yeah, I knew there was already an Xmms plugin, but I had already started this one when I noticed. Plus, I was trying to learn how to do a plugin more so than actually write one, and I did learn from it, so it's all good.
<edit> incidentally, the Perl script thingy is buggy, apparently. And the guy who wrote the Perl/C Xmms plugin said that the C one worked much better.
Thanks, I use Gaim and XMMS for Linux.
I also wrote a plugin that splits long messages into multiple smaller messages. It doesn't work for msn, though, because msn has a shorter length.
http://iago.no-ip.com/splitter.tgz
I've made some significant improvements, in case anybody cares:
http://iago.no-ip.com/plugins.tgz
There are 3 now:
splitter.so -- splits up overly long messages
encode.so -- lets you encode/decode .hex, .binary, and .reverse. I need to fix this up to use /commands instead of .commands. Tomorrow!
xmms-plugin.so -- lets you control xmms. It now uses /xmms instead of .xmms.
Quote from: iago on November 16, 2004, 10:40 PM
I've made some significant improvements, in case anybody cares:
http://iago.no-ip.com/plugins.tgz
There are 3 now:
splitter.so -- splits up overly long messages
encode.so -- lets you encode/decode .hex, .binary, and .reverse. I need to fix this up to use /commands instead of .commands. Tomorrow!
xmms-plugin.so -- lets you control xmms. It now uses /xmms instead of .xmms.
You have too much time on your hands.
Why's that? I'm trying to learn how to write plugins for Gaim, and each of them are slightly different. And I've learned a lot from them.
Quote from: iago on November 17, 2004, 07:29 AM
Why's that? I'm trying to learn how to write plugins for Gaim, and each of them are slightly different. And I've learned a lot from them.
Hehe, now that I read the thread; when I looked at it first glance I thought it said xmas plugin and I immediately replied. :)