
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
To view the README in html visit http://people.cs.uct.ac.za/~ksmith/AmarokPidgin.html
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/]
12 years ago
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/2008)
- 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/2008)
- 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
12 years ago
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/2008)
- 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/2008)
- 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
shadoww
9 years ago
File "/home/shad/.kde/share/apps/amarok/scripts/amarokpidgin/AmarokPidgin.py", line 76, in __getitem__
return str(self.player.GetMetadata().get(key, ''))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)
I have to add ".encode('utf-8')" to the
return str(self.player.GetMetadata().get(key, '')) code to make it working again
Report
svartson
10 years ago
Report
svartson
10 years ago
i didn't realise there was a new status under "saved statuses" ._.
Report
siusplau
10 years ago
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.
Report
devianpctek
10 years ago
Thanx
Report
keegancsmith
10 years ago
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
Report
devianpctek
10 years ago
Report
keegancsmith
10 years ago
Report
nasir8891
11 years ago
Report
zipobibrok5x10e8
11 years ago
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.
Report
keegancsmith
11 years ago
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.
Report
zipobibrok5x10e8
11 years ago
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.
Report
unifyingtheory
12 years ago
Report
unifyingtheory
12 years ago
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 ;]
Report
keegancsmith
12 years ago
Report
urke
12 years ago
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?
Report
keegancsmith
12 years ago
Report
gardar
12 years ago
Or is there maby such script already available?
Report
keegancsmith
12 years ago
Report
gardar
12 years ago
Report
keegancsmith
12 years ago
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
Report
gardar
12 years ago
Report
keegancsmith
12 years ago
Report
gardar
12 years ago
Report
bobradu
12 years ago
Report