XMMS Bar for SuperKaramba

Karamba & Superkaramba

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

0
Become a Fan
5.0

Description:
XMMS Bar for SuperKaramba

This is a useful SuperKaramba theme for those who constantly listen to music while they work. This is a bar that displays your XMMS playlist and provides basic controls and play status. And it autohides when not in use.

Basically, the idea is that you move your mouse pointer to the edge of the screen, and XMMS Bar pops out. Then you can scroll through your playlist with the scroll wheel on your mouse, click on a song to choose it, and hit play. Other basic controls are provided, as well as a "time remaining" display.

So now you don't have to constantly stop your work to find XMMS in the taskbar, pop it up, find your song, play it, etc. Just move your mouse to the left edge of the screen and choose your favorite song, then it automatically disappears again!

The secondary reason for creating this is to provide an example of several of the new functions I have added to SuperKaramba recently, including:

changeText()
changeTextColor()
changeTextFont()
changeTextSize()
getting mouse scroll wheel data in widgetClicked()

Also, this is a good example of how to use python elements to enhance a regular theme and how to mix python with a regular theme successfully.

You need xmmsctrl installed to use this properly. You might already have it, if not you can find it at:

http://user.it.uu.se/~adavid/utils/

Enjoy! Comments appreciated.


Credits:

Some of the graphics are a super-modified version of the "fiRe" theme for XMMS by ?

The status bar and other simple elements for the .theme portion are adapted from xmms.theme by ?

The rest, including the xmmsbar.py is by me
Last changelog:

0.2:

Fixed a bug for small playlists.

0.3:

Really fixed the playlist bug.
Made the auto-hide occur a lot fast.


Ratings & Comments

20 Comments

burhankhalid

Can you tell me what icon set you are using in that screenshot? Looks very nice :)

nuka

snowe2

matzie

I love xmmsbar. I love beep. They didn't work together. "xmmsctrl playlist" returns garbage with beep. "xmmsctrl playfiles" works. I replaced the couple of places in xmssbar.py where it said the first of those commands, with the second - literally just swapping them over. Now xmmsbar works with beep. :-)))) Thx!

calhoun

While I'm listening to music, I get this repeating info in my console window: Headstrong - Trapt - Headstrong - Trapt doing heavy refresh unicode start unicode end Headstrong - Trapt - Headstrong - Trapt doing heavy refresh unicode start unicode end Headstrong - Trapt - Headstrong - Trapt doing heavy refresh unicode start unicode end How do I stop this? I noticed a reference to this, but I don't know if it was fixed. BTW I'm using superkaramba .033. Also is there a way to hide the xmms player that also opens up?

gackt3541

I have installed xmmsctrl, but the song name can't show in the playlist . #karamba xmmsbar.theme libGL error: InitDriver failed QGDict::hashKeyString: Invalid null key 136400168 karamba toggleLocked unicode start unicode end Evanescence - Even in death unicode start unicode end Evanescence - Even in death /usr/share/apps/karamba/scripts/xmmsctrl Found xmmsctrl, excellent! Traceback (most recent call last): File "xmmsbar.py", line 123, in widgetUpdated karamba.changeTextColor(widget, text, 255, 255, 255) AttributeError: 'module' object has no attribute 'changeTextColor' Call to widgetUpdated failed unicode start unicode end Evanescence - Even in death Traceback (most recent call last): File "xmmsbar.py", line 129, in widgetUpdated redispPlaylist(widget) File "xmmsbar.py", line 57, in redispPlaylist text = display_lines[i] IndexError: list index out of range Call to widgetUpdated failed Traceback (most recent call last): File "xmmsbar.py", line 129, in widgetUpdated redispPlaylist(widget) File "xmmsbar.py", line 57, in redispPlaylist text = display_lines[i] IndexError: list index out of range Call to widgetUpdated failed anyone know ? Thank you so much ^!^

gackt3541

I can't install xmmsctrl !! [ginux@gackt3541 xmmsctrl-1.6]$ ls Changelog Makefile README samples xmmsctrl.c [ginux@gackt3541 xmmsctrl-1.6]$ make make: xmms-config: Command not found make: xmms-config: Command not found gcc -o xmmsctrl xmmsctrl.c -Wall -ansi -pedantic -Wshadow -Wmissing-prototypes -W -O2 -DVERSION=\"1.6\" ................ ................ Thank you so much ^!^

gackt3541

Oh! yes..... i found the problem . i forgot to install xmms-devel. ^!^

ZIOlele

Yuo need to install xmms-devel

wizzard

Great theme. Maybe I can use the Text functions until tooltips are supported :)

ageitgey

Tooltips are supported, aren't they? The should be in as of 0.17g it's addToolTip(), look in examples/API

wizzard

damn i'm stupid :D always used addImageTooltip :D:D

wizzard

haha no i'm not stupid :) It's somehow still missing :)

ageitgey

No, I'm stupid. It is addImageTooltip() Does that not do what you want?

wizzard

no, this never worked for me, it says its not defined in the module. the same with createPopupItem() (noticed in help(karamba))

wizzard

Stop, im a bit confused now! The script doesnt report it to be missing in the module anymore, but I still dont see a tooltip (i focused the window)

ageitgey

createPopupItem doesn't "really exist". Well it does, but it doesn't work. Thats why its not documented in API. It should have been commented out so it wouldn't show up in help(), oh well.

ageitgey

by the way, addImageTooltip() works fine for me. Make sure you add it to an image while the image is actually where you want the tooltip to be (you did read API, right?? hehe) The tooltip won't follow the image currently...

kola

wait a minute ... shouldn't karamba be part of official kde 3.2 :)

techniq

It will start and control xmms, but won't autohide for me or display the playlist. I have xmmsctrl installed, as well as superkaramba G version. I loaded karamba from konsole and noticed these errors repeating. Not a python coder so didn't know how to correct them. unicode start unicode end System of a Down - Bounce Traceback (most recent call last): File "/home/techniq/Documents/Karamba-Themes/xmmsbar/xmmsbar.py", line 129, in widgetUpdated redispPlaylist(widget) File "/home/techniq/Documents/Karamba-Themes/xmmsbar/xmmsbar.py", line 57, in redispPlaylist text = display_lines[i] IndexError: list index out of range *I did just notice that it will load the playlist (if small), but then goes away with the error in konsole, so I'm guessing its a problem with refreshing the list. BTW, I've very much looking forward to using this.

ageitgey

I am stupid... hehe. I knew about that problem and for some reason thought I fixed it. It should work now. Please let me know if you still have problems. Thanks

Pling
0 Affiliates
Details
license
version 0.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Karamba & Superkaramba from ageitgey:

WallPapr Flickr Wallpaper Auto-switcher
ageitgey
last update date: 19 years ago

Score 5.0

SuperKaramba
ageitgey
last update date: 20 years ago

Score 5.0

Dashboard Calculator
ageitgey
last update date: 21 years ago

Score 5.0

CornerXMMS for SuperKaramba
ageitgey
last update date: 21 years ago

Score 5.0

SuperKaramba Mandrake 9.1 RPM
ageitgey
last update date: 22 years ago

Score 5.0

Cleanbar kicker replacement
ageitgey
last update date: 22 years ago

Score 5.0

Other Karamba & Superkaramba:

Evolution Task Theme (for Karamba)
L0rclA5CII
last update date: 22 years ago

Score 5.0

Karambaqua
manor
last update date: 22 years ago

Score 5.0

Karamba Print Queue Monitor
Praxxus
last update date: 22 years ago

Score 5.0

The DarkGirl wallpaper and Karamba theme
xray
last update date: 22 years ago

Score 5.0

TecnoBar for Karamba
ZIOlele
last update date: 22 years ago

Score 5.0

Karamba Ink Level Monitor
Praxxus
last update date: 22 years ago

Score 5.0