AmarokPidgin
Amarok 1.x Scripts
Score 50%
Description:

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/]
Last changelog:

10 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

5 years ago

Hi, I got some mp3 with japanese artist name and when playing them amarokpidgin was crashing with this message:
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

6 years ago

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 :\

Report

svartson

6 years ago

problem solved!
i didn't realise there was a new status under "saved statuses" ._.

Report

siusplau

7 years ago

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.

Report

devianpctek

7 years ago

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

Report

keegancsmith

7 years ago

I'll check it out tomorrow

Report

keegancsmith

7 years ago

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

Report

devianpctek

7 years ago

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 :/

Report

nasir8891

8 years ago

thank u for the plugin . it is working fine with my ubuntu 8.04

Report

zipobibrok5x10e8

8 years ago

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.


Report

keegancsmith

8 years ago

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.

Report

zipobibrok5x10e8

8 years ago

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.

Report

unifyingtheory

8 years ago

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".

Report

unifyingtheory

8 years ago

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 ;]

Report

keegancsmith

8 years ago

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 :)

Report

urke

8 years ago

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?

Report

keegancsmith

8 years ago

Make sure the service dbusd is running

Report

gardar

8 years ago

Will this script be coming for amarok 2 anytime soon?
Or is there maby such script already available?

Report

keegancsmith

8 years ago

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.

Report

gardar

8 years ago

Any news? : )

Report

keegancsmith

8 years ago

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

Report

gardar

8 years ago

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!

Report

keegancsmith

8 years ago

That sounds like it isn't amarok2 specific. Is it possible for you to try on amarok 1?

Report

gardar

8 years ago

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.

Report

bobradu

8 years ago

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'. :-)

Report

10 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

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.2.1
updated Mar 03 2009
added Oct 30 2006
downloads today
0
page views today 1