
AmarokPidgin
Source (link to git-repo or to original if based on someone elses unmodified work):
Now Listening for Pidgin
Version 0.2 - February 2009
Description:
A plugin for Amarok 1 and 2 that updates your Pidgin status message with what you are currently listening too.
If you want to update your Gaim status message, look for the AmarokGaim package.
Dependencies:
* Amarok (Tested on Amarok 1.4.10 or Amarok 2.0-SVN-Neon Jan 14 2009)
* Pidgin with D-Bus support (Tested on Pidgin 2.5.2)
* Python with D-Bus support (Tested on Python 2.5.2 (Should also work with
Python 2.4))
* DCOP client (If using Amarok 1. Tested on KDE 3.5.10)
* Optionally depends on chardet for better character
decoding. [http://chardet.feedparser.org/]
Changelog:
* Version 0.2.1 (03/03/2009)
- Executible bit was not switched on! So could not install in Amarok 1.
* Version 0.2 (11/02/2009)
- Your Buddy Icon can now be set to the currently playing song's album cover. Set *cover_icon* to true in the config file to enable.
- Made Media status type "tune". To update:
+ Stop AmarokPidgin in Amarok
+ Delete Media status in Pidgin
+ Start AmarokPidgin in Amarok
- New variables $rating and $score.
* Version 0.1.9 (16/05/200
- New variables: $year, $nowPlaying, $lyricsURL, $lyrics. Based on a patch
by Hieu Hoang.
- Variable Map. Based on work by Ryan Davis.
- Seems to work with Pidgin 2.4.0 now.
- Media status is of type Avaliable now by default.
* Version 0.1.8 (09/02/200
- Can use chardet library to decode strings.
- Testing of the new decoding routine thanks to David Partain.
- Fixed bug with status not returning to Media.
- Quick hack to prevent crashes on debugging output.
* Version 0.1.7 (02/08/2007)
- Closes script when Amarok sends SIGTERM. (Thanks to Kiyoshi Murata)
- Only media status is updated. No changing status anymore on song change.
- Pausing only changes status if status is on Media. (Thanks to Vasilis
Vasaitis)
* Version 0.1.6 (27/05/2007)
- Changed project name to AmarokPidgin
- Updated codebase to use purple. With thanks to the following contributors:
* Tony Bassette
* Thomas Bird
* Luigi Capriotti
* Version 0.1.5 (05/04/2007)
- Can now change nick instead of status message.
- Updates to unicode handling.
- Updates status type if necessary (Thanks to Vasilis Vasaitis)
* Version 0.1.4 (20/11/2006)
- Fixed a bug with misbehaving kdialogs. (Thanks to Kartik Mohta)
- Now changes Gaim's status back too default when script closes.
- Updates status if a song is playing when the script starts.
* Version 0.1.3 (14/11/2006)
- Now can block expletives in status message.
- Fixed a bug when reading in the configuration file.
* Version 0.1.2 (02/11/2006)
- Fixed unicode strings bug. (Thanks too Tim Su)
- Added basic configuration
* Version 0.1.1 (30/10/2006)
- Forgot to comment out logging =/
* Version 0.1 (25/10/2006)
- Initial Release
Ratings & Comments
150 Comments
Hi, I got some mp3 with japanese artist name and when playing them amarokpidgin was crashing with this message: I have to add ".encode('utf-8')" to the return str(self.player.GetMetadata().get(key, '')) code to make it working again
if i configure and set the script to "nick" it works (even picture changes, but i want it to be working with "status" as well :\
problem solved! i didn't realise there was a new status under "saved statuses" ._.
install this plugin but dont work. i rename the file, install with install script page but dont work. i put a new ini file because i dont have it. Amarock script work, i can see on config page but dont change my pdgin status.
Hi guys i just upgrade to amarok 2.3 and i dont know if this feature is missing or what but on amarok 1.4 when i set my status "media" also it give me the option to change the buddyicon is there a way to do the same with this new version? Thanx
I'll check it out tomorrow
Use this version of AmarokPidgin http://bitbucket.org/keegan_csmith/amarokpidgin/get/tip.tar.bz2 You may have to rename it to tip.amarokscript.tar.bz2 for it to be installed. AmarokPidgin with Amarok 2 does not yet support configuration, so instead you have to manually edit the file ~/.kde4/share/apps/amarok/scripts/amarokPidgin/AmarokPidgin.ini and add cover_icon=True. If the file does not exist use this file: http://pastebin.com/xGFw4Xi4
ok i managed to install it but is half way working, when i first play a song it does change the icon but when the song changes the icon doesnt and it shows nothing :/
thank u for the plugin . it is working fine with my ubuntu 8.04
Amarok Version = 1.4.9.1 KDE = 3.5.10 Pidgin = 2.4.1 Script version = 0.2.1 I have installed the plugin from install scripts menu in Amarok. Kdialog is also installed . When I click the "Configure" button , nothing seems to happen. When I click the "Configure" button for another script for a script named "Webcontrol" I get a dialog box , (so I think Kdialog is working?) When I run purple-remote 'setstatus?status=away&message=dont disturb' , I get No existing libpurple instance detected. Please Help ! Thank You.
Sounds like one of threes things: 1. Pidgin is not running 2. Pidgin is compiled without DBUS support 3. Your DBUS daemon is not running The first one is easy to fix, just run pidgin. two and three are distribution specific, so require help from people who use the same distro as you. I can try help if you get no responses from them.
Thank you for your reply. I tried to compile pidgin 2.5.X from source on the website. It did not work. So I removed that and installed it from Adept (Kubuntu 8.04). The plugin seems to work just fine now. Thanks ! Thank You.
I'm using this script with amarok 1.4.10 python 2.5.2 and pidgin 2.5.2. The "media" status message is created but doesn't have a message. When I try to configure the script from within script manager, no dialog box pops up. Am I missing any dependencies? Can't figure out what went wrong. I'm using gnome on the latest ubuntu 8.10. I disabled arts output after a crash, would that have any effect? Also I see some "scripts" in the script manager that I did not install as packages, like "debug.rb".
When I delete the config file in ~/.kde/share/apps/amarok/scripts-data the script actually works... Then when I click configure in the script manager, the config file is created, no dialog box appears, and the script stops working. When I manually enter the status_message in the config file the script works again. So it looks the the configure button is broken ;]
You don't have kdialog installed. I'll add a check for it, to make it more user friendly when you are missing such things :)
I have Debian 5, Amarok 1.4.10, KDE 3.5.10, Pidgin 2.5.5. When I activate AmarokPidgin in Amarok, I can't access script settings. There is no output for status "Media" and in script console I get this error: ERROR:dbus.proxies:Introspect error on :1.4:/im/pidgin/purple/PurpleObject: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Do you have some idea how to fix this?
Make sure the service dbusd is running
Will this script be coming for amarok 2 anytime soon? Or is there maby such script already available?
Hey, Amarok 2 support is nearly there. I don't have Amarok 2 on my home machine, but on my work machine. I'll be back at work in about a week and will then finish it off. It'll be available on http://freehg.org/u/casted/amarokpidgin/ before i release it.
Any news? : )
Yeah. I actually finished Amarok 2 support at the end of last month! I just haven't had a chance to properly test it due to my pc with Amarok 2 not working anymore. Maybe you can do the beta testing for me :) It is available here: http://people.cs.uct.ac.za/~ksmith/AmarokPidgin-0.2.amarokscript.tar.bz2
The currently playing song appears when I choose the status "Media" in pidgin, but i doesn't appear as a status message on my msn account. Haven't tried other protocols but at least on msn it's not working!
That sounds like it isn't amarok2 specific. Is it possible for you to try on amarok 1?
I'm actually not sure if I can have both amarok 1.4.x and 2.0 installed at the same time, but if I can then I can try it out.
Anyway we could get $rating and $score? Especially $rating. I want to tell my friends what I think of the song so when Britney Spears comes up, they don't think it is my fav'. :-)