xmms-agent

Utilities

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
Hides XMMS into KDE tray and allows controlling it from tray icon's popup menu.
Last changelog:

v0.1
XMMS agent is written, that's my first experience with KDE libraries.
Thanks god and developers, they are fairly simple and very comfortable
to work with!
v0.2
Added title icon to menu, made code cleanup.
Added popup tip with track title.
Added handling of second instances of application (now there can be only one running).
Launching app when XMMS is running quits XMMS and re-launches it with saving state/playing position
---------------------------------------
Last upload fixed missing aclocal file.
---------------------------------------
v0.3
Fixed icon alignment on some systems (probably using older versions of Qt/KDE)
Fixed behavior of not showing playlist/equalizer window after exit while xmms is hidden and running again, even if they were enabled at exit.

Added support of passing file name/url (which is passed to XMMS) in the command line to make use xmms_agent for opening media files instead of xmms itself.
BTW, could you let me know about how to disable saving/restoring full application state in session manager? Or at least how to disable session manager at all for specified application? Thanks in advance!
v0.3.1
Pretty little improvement: now xmms pops up on active desktop.
--------------------------------------
Updated due last comment (about missing .moc)
--------------------------------------
XMMS-agent 1.1 released: it is now a plugin for XMMS. It's a wild-style mix of Gtk and Qt widgets - don't ask - I won't tell someone how I did made it work :-)

XMMS-agent 1.2 is out. Fixed some bugs (actually all, as I hope). And yes, I forgot to mention - now XMMS will minimize to tray.


Ratings & Comments

24 Comments

vladvic

You can try to send me xmms core file, if you have one. Don't promise, but probably I could do something with that...

Musikolo

Hi, thanks for your feedback. However, I still would like to know if there is anyway I can debug it or find out somehow what's going on behind this error. Maybe there is some parameter to run verbosely or print a trace that could be very helpful. I love XMMS and this plugin makes it even more powerful. It would very a big dissapointment not to be able to sort it out. Any suggestion? Regards! :)

vladvic

So, first about your error message: X Error: BadWindow (invalid Window parameter) 3 Major opcode: 18 Minor opcode: 0 Resource id: 0x2a00011 I've got it too (as well as I got it from many KDE apps when launching them from console), but it doesn't seem to hurt - at least for me everything runs flawlessly despite the message. Considering the problem... well, I can't say something about it, as for me it runs smoothly (but I work under not just another distributive, but another OS).

Musikolo

Hi, first of all I would like to thank you for such a masterpieace. I'm one of the few people that still loves XMMS. Last day I saw this plugin and I decided to use it. I compiled it for my distro (Yoper 3.1) and tried it out. At the begining it seemed to work more or less fine. Then xmms crashed and when I tried to re-launch xmms could start no longer and showed this message: Message: device: default Initializing context menu X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0x2a00011 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0x2a00011 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 18 Minor opcode: 0 Resource id: 0x2a00011 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0x2a00011 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0x2a00011 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 18 Minor opcode: 0 Resource id: 0x2a00011 xmms: Fatal IO error: client killed In end I had to edit ~/xmms/config file and manually disable xmms-agent plugin. Please, try to fix this bug as soon as possible. If it isn't a bug, but I have done something wrong, please let me know what I have to do to sort it out. Looking forward to having news from you soon.

vladvic

thanks for your comments, I'll try to fulfill your wishes. I won't update very often, as I got a lot of other work :(

spacer

Hm. Looks like I was quite wrong about ease of the feauture. I've tried to make it myself, but looks like without changing of xmms code it's not possible. So if you'll find a way you'll be my hero =))

vladvic

Well you see, I did it :) Enjoy the feature :D

spacer
amigib

nice work, this is what xmms users waited for long time thanks :)

vladvic

My desktop is FreeBSD-powered, so I'm not really sure whether new version (XMMS-plugin) will work on linux. But I hope it will, and it rather will as there is nothing system-specific in my program.

vladvic

I see no more possible improvements, so I think there will be no more updates unless I find out something with session manager, or someone will propose something to do with xmms_agent. :)

spacer

I can see one more good feature - minimze in tray by minimize button. I don't think that that is hard to implement so I hope you'll do that =) Apropos, thanks for a really nice util =)

hlwoodcock

xmms_agent.cpp:215:26: xmms_agent.moc: No such file or directory make[2]: *** [xmms_agent.o] Error 1 make[2]: Leaving directory `/home/hlwood/apps/xmms_agent-0.3.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/hlwood/apps/xmms_agent-0.3.1' make: *** [all] Error 2 where do I get xmms_agent.moc? I am on fedora core 3 but I am running an up to date version of KDE (3.4.2).

vladvic

You can either run perl admin/am_edit from the sources directory, or get updated version of the source

hlwoodcock

Hi, I am trying to compile with 31652-xmms_agent-0.3.1.tar.bz2. Is this the latest? I do not see a place to download a newer version. Also, I tried running `perl admin/am_edit` and I still get the missing .moc file error when I compile. Berfore I did this I removed the old stuff and unpacked the package again. Thanks for you help!

vladvic

The version is OK, I just updated the sources. Sorry, I forgot to say, that after running admin/am_edit your should re-./configure and re-make.

rugge

...curiosity - why would you want to use xmms nowadays?

vladvic

Hmm... What is your preference? If is noatun - it's too unstable (at least in port of KDE for my OS).

everettattebury

I like the beep media player.

cmost

Umm, I can't speak for the author of this app, but peraonally I STILL use XMMS because it's small, stable, simple, and most importantly, it gets the job done right. Sure, I also use AmaroK, but it's so huge and unwieldly when you just want to listen to a track or two. Plus, it's not the most stable software ever written. Other media players have their strengths and weeknesses too. On my system, I use a combination of AmaroK, XMMS, and Kaffiene for all my music playing needs; depending on how I want to listen to my music. What's it to you?

vladvic

Oh, that is all I'd wanted to say, but didn't due time limits :) As for me, XMMS and mpg123/play is all that could entirely suit my needs.

rugge

> What's it to you? Well, as my subject stated: Just out of curiosity. I had no intention of saying this or that is better. I use amaroK, because it handles my large music library nicely. I used xmms for 5 years but my library and needs outgrew xmms. Therefore, I wanted to know what you use xmms for, to check if I have some use for xmms again.

Abaddon

Because xmms is the one and only app that uses libmpg123 instead of libmad. Libmad gives worse quality sound (especcialy when using equalizer) than libmad does.

loki
Pling
0 Affiliates
Details
license
version 1.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Utilities:

Gis Weather
RingOV
last update date: 9 years ago

Score 8.0

Splash Screen Manager
zorinos
last update date: 14 years ago

Score 7.4

BashStyle-NG
Chrispy
last update date: 10 years ago

Score 6.1

anymeal
wedesoft
last update date: 7 months ago

Score 5.0

MonA3XN 01
A3XN
last update date: 2 years ago

Score 5.0

SuperCalc (By Keshav bhatt)
keshavnrj
last update date: 10 years ago

Score 5.0



System Tags