Valhalla Legends Forums Archive | General Discussion | Xmms Plugin for Gaim

AuthorMessageTime
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.
November 14, 2004, 5:27 AM
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.
November 14, 2004, 7:18 AM
iago
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.
November 14, 2004, 9:17 AM
idoL
Thanks, I use Gaim and XMMS for Linux.
November 16, 2004, 8:34 PM
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
November 16, 2004, 11:06 PM
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.
November 17, 2004, 4:40 AM
Mephisto
[quote author=iago link=topic=9539.msg89077#msg89077 date=1100666447]
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]

You have too much time on your hands.
November 17, 2004, 4:49 AM
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. 
November 17, 2004, 1:29 PM
Sargera
[quote author=iago link=topic=9539.msg89096#msg89096 date=1100698191]
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]

Hehe, now that I read the thread; when I looked at it first glance I thought it said xmas plugin and I immediately replied.  :)
November 18, 2004, 4:50 AM

Search