xmppstatusbot (jabberstatusbot)
Amarok 1.x Scripts
Description:

This little script for well known Amarok music player will connect with your jabber account on it's own resource and announce music your are listening to.
From version 0.3 it can let you remotly control your amaroK using your instant messanger.

Changelog:

9 years ago

0.3
- Remote control!
- Fix Unicode status - by Anton Khirnov.

0.2
Added features suggested by Alexander Schaber:
- Notification Delay - rapid song changes will not flood status description and status will change after decision has been made
- KWallet Integration - your xmpp/jabber account password is safe now - right in your wallet!

0.1
Initial release.

wiskas

9 years ago

Changing lines 310-314 to this will make the scipt work with unicode track/artist names:
track = os.popen("dcop amarok player track").readlines()[0].strip()
title = unicode(os.popen("dcop amarok player title").readlines()[0].strip(), 'utf_8')
artist = unicode(os.popen("dcop amarok player artist").readlines()[0].strip(), 'utf_8')
album = unicode(os.popen("dcop amarok player album").readlines()[0].strip(), 'utf_8')
msg = u"playing"

Disclaimer: i'm not a programmer and i don't know python, so it is probably a crude hack :). But it works for me.

Report

hatsch23

9 years ago

i tried to use it with gmail, but it is only working when i am not logged into gmail. so it seems that when i am logged in the gmail status message is overriding the xmmpstatusbot message. any idea howto solve this.

greets ste

Report

dpc5

9 years ago

Your conclusions are probably very true. I guess this is how gmail jabber server is implemented.

Maybe try asking about that on gtalk support mailing list. I have no better idea, sorry.

Report

Supporters

Recent Donations

Be the first to donate
Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 50%
50.00 Likes
50 Dislikes

0 Supporters for xmppstatusbot (jabberstatusbot):

Recent Donations:

Be the first to donate
show all
Details
version
0.3
updated Oct 23 2007
added May 08 2007
downloads
page views 350
support dpc5
For The Product
xmppstatusbot (jabberstatusbot)
5 - 10 - 25 - 50 - 100 - 200 - 500