Warning: session_start(): open(/tmp/sess_am70thffpe8jm34f7gear300r2, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
AmarokPidgin openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (3) .- Knowledge Base  . 

AmarokPidgin

   0.2.1  

Amarok Script

Score 78%
AmarokPidgin
zoom


Link:  Link
Downloads:  12928
Submitted:  Oct 30 2006
Updated:  Mar 3 2009

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




Changelog:

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




LicenseGPL
other(AmarokPidgin-0.2.1)
other(AmarokGaim-0.1.5)
Send to a friend
Subscribe
Other  Content  from keegancsmith
Report inappropriate content



goto page: prev   1  2  3  4  5  6  7  8 

-
.

 Doesnt deliver anyth

 
 by sammut on: May 31 2007
 
Score 50%

Hi.
This script has been working fine.
But for now, it doesnt deliver anything to Pidgin 2.0.1 since i changed the order of the avriables.

This now is:
Listening to: $album - $title - $track - [Amarok]

Shown on Pidgin:
Listening to: - - - [Amarok]


Reply to this

-

 Re: Doesnt deliver a

 
 by keegancsmith on: May 31 2007
 
Score 50%

When I change it to what you have, it works for me. Could you post your ~/.kde/share/apps/amarok/scripts-data/AmarokPidgin.ini file?


Reply to this

-

 Re: Doesnt deliver a

 
 by sammut on: May 31 2007
 
Score 50%

This folder doesnt exist.

[code]
13:49 lennon:../apps/amarok # l
insgesamt 44
drwxr-xr-x 8 root root 4096 31. Mai 13:08 .
drwxr-xr-x 292 root root 12288 25. Mai 07:26 ..
drwxr-xr-x 2 root root 4096 31. Mai 13:08 data
drwxr-xr-x 4 root root 4096 14. Feb 23:34 icons
drwxr-xr-x 2 root root 4096 31. Mai 13:08 images
drwxr-xr-x 5 root root 4096 31. Mai 13:08 ruby_lib
drwxr-xr-x 11 root root 4096 14. Feb 23:34 scripts
drwxr-xr-x 5 root root 4096 14. Feb 23:34 themes
-rw-r--r-- 1 root root 387 1. Feb 19:14 amarokui.rc
[/code]

and in scripts:

[code]
13:51 lennon:../amarok/scripts # l
insgesamt 44
drwxr-xr-x 11 root root 4096 14. Feb 23:34 .
drwxr-xr-x 8 root root 4096 31. Mai 13:08 ..
drwxr-xr-x 2 root root 4096 31. Mai 13:08 common
drwxr-xr-x 2 root root 4096 31. Mai 13:08 lyrics_astraweb
drwxr-xr-x 2 root root 4096 31. Mai 13:08 lyrics_lyrc
drwxr-xr-x 2 root root 4096 31. Mai 13:08 playlist2html
drwxr-xr-x 2 root root 4096 31. Mai 13:08 ruby_debug
drwxr-xr-x 2 root root 4096 31. Mai 13:08 score_default
drwxr-xr-x 2 root root 4096 31. Mai 13:08 score_impulsive
drwxr-xr-x 2 root root 4096 31. Mai 13:08 templates
drwxr-xr-x 2 root root 4096 31. Mai 13:08 webcontrol
[/code]

thanks for replying!


Reply to this

-

 Re: Re: Doesnt deliv

 
 by sammut on: May 31 2007
 
Score 50%

Sorry, i have been in root-folder.
Here it is:

13:53 lennon:../amarok/scripts-data # cat AmarokPidgin.ini
[AmarokPidgin]
status_name = Media
censor = false
censor_words = # Put words here separated by a | eg: word1|word2|word3
status_message = Listening to: $album - $title - $track - [Amarok]
display = status


Reply to this

-

 Re: Re: Re: Doesnt d

 
 by keegancsmith on: May 31 2007
 
Score 50%

Hmm, it seems the problem is on the dbus side. Can you open up AmarokPidgin.py in a text editor and change on line 14
DEBUG = False
to
DEBUG = True
Then run/restart the script for a little bit.
Then post the file /tmp/AmarokPidgin.log


Reply to this

-

 Re: Re: Re: Re: Does

 
 by sammut on: Jun 1 2007
 
Score 50%

00:46 lennon:/tmp # cat AmarokPidgin.log
------------------------------------------------------------
Got message: trackChange

Updating status: 1230497 Listening to: - - - [Amarok]
Got message: engineStateChange: empty

Default: 2547
Got message: engineStateChange: playing

Updating status: 1237008 Listening to: - - - [Amarok]
Got message: trackChange

Got message: trackChange

Got message: trackChange


Reply to this

-

 Re: Re: Re: Re: Does

 
 by sammut on: Jun 1 2007
 
Score 50%

Courios. It has been working fine within Pidgin 2.0.1 until i changed the order of the variables.


Reply to this

-

 Re: Re: Re: Re: Does

 
 by sammut on: Jun 1 2007
 
Score 50%

Things are going on.... :-)
After restarting Amarok all went fine.
A thing i have not tried before.


Reply to this

-

 Errors from log

 
 by InspectorxGadget on: Jun 19 2007
 
Score 50%

I'm currently running AmarokPidgin in debug mode with Pidgin 2.0.0.beta7devel and Amarok 1.45. I have DCOP, dbus, and the python packages installed and working. The log file located at /tmp/AmarokPidgin.log reads

------------------------------------------------------------
Could not read in AmarokPidgin.ini
------------------------------------------------------------
Could not read in AmarokPidgin.ini
------------------------------------------------------------

on and on. I would appreciate it if you could point me in the right direction as to what to do to fix it. Do I need to create this file manually or change permissions somewhere? Thank you very much! I'm very excited about this plugin.


Reply to this

-

 Re: Errors from log

 
 by keegancsmith on: Jun 19 2007
 
Score 50%

This is intentional. If you want to get rid of the constant logging about the configuration file, do a configure in the scripts dialog. or run
touch ~/.kde/share/apps/amarok/scripts-data/AmarokPidgin.ini


Reply to this

-

 Re: Re: Errors from

 
 by InspectorxGadget on: Jun 19 2007
 
Score 50%

I'm sorry I didn't explain myself more thoroughly. That is the only thing that appears in the log. When I click "configure" in the Amarok scripts menu AmarokPidgin menu (with AmarokPidgin running) I don't get a dialog box and I can't figure out how to set any display variables. I'm also not sure what I need to enable in Pidgin to get this to work. Do I need to set my available message to "$track", for instance? I'm fairly new to Linux, so assume I know knothing. Thanks for your help.


Reply to this

-

 Re: Re: Re: Errors f

 
 by InspectorxGadget on: Jun 19 2007
 
Score 50%

I should also note that AmarokPidgin.ini remains blank. Which suggests to me that my configuration problem has to do with Amarok rather than Pidgin (?).


Reply to this

-

 Re: Re: Re: Re: Erro

 
 by InspectorxGadget on: Jun 19 2007
 
Score 50%

After some wrangling with runaway python processes, it works like a charm :). Thanks!!!


Reply to this

-

 Re: Re: Re: Re: Re: Erro

 
 by Skripteru on: Aug 27 2007
 
Score 50%

I am have the same problem as u mentioned above, please tell me what process of python was causing the problem !
Thank you !


Reply to this

-

 Re: Re: Re: Re: Re:

 
 by keegancsmith on: Aug 27 2007
 
Score 50%

It could have been an older version of amarokpidgin. It used to not shutdown properly.



-

 Re: Re: Re: Re: Re:

 
 by pooyaplus on: Aug 30 2007
 
Score 50%

hi, it seems the script does not generate the ini file in scripts-data for me. And can not see any configuration panel in amarok with kdebase-bin already installed.
any ideas? :)
by the way i could figure out from the logs that the problem may be with the dbus settings:
Quote:

/home/.kde/share/apps/amarok/scripts/AmarokPidgin/AmarokPidgin.py:294: DeprecationWarning: The dbus_bindings module is deprecated and will go away soon.

dbus-python 0.80 provides only a partial emulation of the old
dbus_bindings, which was never meant to be public API.

Most uses of dbus_bindings are applications catching the exception
dbus.dbus_bindings.DBusException. You should use dbus.DBusException
instead (this is compatible with all dbus-python versions since 0.40.2).

If you need additional public API, please contact the maintainers via
<dbus@lists.freedesktop.org>.

except dbus.dbus_bindings.DBusException:
/var/lib/python-support/python2.5/dbus/_dbus.py:851: DeprecationWarning: The dbus_bindings module is deprecated and will go away soon.

dbus-python 0.80 provides only a partial emulation of the old
dbus_bindings, which was never meant to be public API.

Most uses of dbus_bindings are applications catching the exception
dbus.dbus_bindings.DBusException. You should use dbus.DBusException
instead (this is compatible with all dbus-python versions since 0.40.2).

If you need additional public API, please contact the maintainers via
<dbus@lists.freedesktop.org>.

import dbus.dbus_bindings as m



-

 Re: Re: Re: Re: Re:

 
 by keegancsmith on: Aug 30 2007
 
Score 50%

That is just a warning, and shouldnt effect the program. But try these changes to AmarokPidgin.py

On line 294 change
except dbus.dbus_bindings.DBusException:
to
except dbus.DBusException:

Also change on line 14
DEBUG = False
to
DEBUG = True

Then try running AmarokPidgin and send me the log in /tmp/AmarokPidgin.log



-

 Re:

 
 by pooyaplus on: Aug 30 2007
 
Score 50%

hi, the changes just removed the warnings (as expected) but here is the log:
Quote:

------------------------------------------------------------
Could not read in AmarokPidgin.ini
------------------------------------------------------------
Could not read in AmarokPidgin.ini
------------------------------------------------------------
Could not read in AmarokPidgin.ini
------------------------------------------------------------
Could not read in AmarokPidgin.ini
------------------------------------------------------------
Could not read in AmarokPidgin.ini


Reply to this

-

 Re:

 
 by pooyaplus on: Aug 30 2007
 
Score 50%

hi, the changes just removed the warnings (as expected) but here is the log:
Quote:

------------------------------------------------------------
Could not read in AmarokPidgin.ini
------------------------------------------------------------
Could not read in AmarokPidgin.ini
------------------------------------------------------------
Could not read in AmarokPidgin.ini
------------------------------------------------------------
Could not read in AmarokPidgin.ini
------------------------------------------------------------
Could not read in AmarokPidgin.ini


Reply to this

-

 Re: Re:

 
 by keegancsmith on: Aug 30 2007
 
Score 50%

Ok, so either AmarokPidgin has a problem reading the ini file, or the ini file isnt a valid ini file.

So can you give the output of:
Quote:
ls -ld ~/.kde/share/apps/amarok/scripts-data/
ls -l ~/.kde/share/apps/amarok/scripts-data/
cat ~/.kde/share/apps/amarok/scripts-data/AmarokPidgin.ini


Reply to this

-

 Re: Re: Re:

 
 by pooyaplus on: Aug 30 2007
 
Score 50%

hi,
as I noted in the previous posts, there is no ini file in the scripts-data folder.
Anyway, here are the results:
Quote:

drwx------ 2 pooya pooya 192 2007-08-30 14:21 /home/pooya/.kde/share/apps/amarok/scripts-data/

total 8
-rw-r--r-- 1 pooya pooya 1079 2007-08-30 19:33 lyrics-manager.conf
-rw-r--r-- 1 pooya pooya 139 2007-08-29 12:57 replaygain.conf
-rw-r--r-- 1 pooya pooya 0 2007-08-29 12:56 replaygain-kdialog.log
-rw-r--r-- 1 pooya pooya 0 2007-08-29 12:56 replaygain.log

cat: /home/pooya/.kde/share/apps/amarok/scripts-data/AmarokPidgin.ini: No such file or directory


Reply to this

-

 Re: Re: Re: Re:

 
 by keegancsmith on: Aug 30 2007
 
Score 50%

Yeah, i was just checking if your permissions where borked.

Ok, so maybe try logging + try configure amarokpidgin. If that still doesnt work (You might be missing the kdialog program), just try pasting the following config file into AmarokPidgin.ini

Quote:

[AmarokPidgin]
status_name = Media
status_message = Listening to $title by $artist on $album [Amarok]
censor = false
censor_words = # Put words here separated by a | eg: word1|word2|word3
display = status # Where to display song playing. either status or nick


Reply to this

-

 Re: Re: Re: Re: Re:

 
 by pooyaplus on: Sep 2 2007
 
Score 50%

Unfortunately the paste trick does not work for me. The log still gives the previous message.


Reply to this

-

 Re: Re: Re: Re: Re:

 
 by keegancsmith on: Sep 2 2007
 
Score 50%

Ok. I'll make more verbose debugging output for the next release. That should happen in about a week.


Reply to this

-

 status change

 
 by silentlaugh on: Oct 2 2007
 
Score 50%

Hello. I really love your script and use it both at work and at home.

At work I use an older version (AmarokGaim 1.0.5) and it works great.

I've installed Ubuntu Gutsy Beta a few days ago and set up Amarok with AmarokPidgin 1.0.7. My Amarok version is 1.4.7 and Pidgin version is 2.2.0.

The problem is that my Yahoo status in Pidgin does not change when I pause or stop the playback.

I've enabled debug mode and these are the lines I get with these actions:

- on stop playback:
Got message: engineStateChange: empty

Default: 421


- on start playback:
Got message: engineStateChange: playing

Updating status: 421 @home: - AC/DC - Highway To Hell @ WackenRadio.com


- on pause playback:
Got message: engineStateChange: paused

Default: 421


I've also noticed that when Amarok crashes, teh script isn't stopping, processor usage jumps to 100% (with a python process using most of it), and the log is filled with these lines:

Got message:
Got message:
Got message:
Got message:
Got message:
Got message:
............


Could you make it so that the script dies together with Amarok?

Thanks.


Reply to this

-

 connected friends

 
 by claudiomet on: Oct 31 2007
 
Score 50%

Hi, the plugin for me works fine, but for my connected frieds the music info doesn't appear in his IM client.


Reply to this

-

 Re: connected friend

 
 by keegancsmith on: Oct 31 2007
 
Score 50%

Is your friend using MSN? pidgin doesnt support status notifications for MSN (and probably a few other protocols).


Reply to this

goto page: prev   1  2  3  4  5  6  7  8 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team