• Welcome to Valhalla Legends Archive.
 

Xmms Plugin for Gaim

Started by iago, November 13, 2004, 11:27 PM

Previous topic - Next topic

iago

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.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


hismajesty

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.

iago

#2
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.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


idoL

Thanks, I use Gaim and XMMS for Linux.

iago

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
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


iago

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.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Mephisto

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.

iago

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. 
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Sargera

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.  :)