After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 526493 - New plugin: change IM status according played song
New plugin: change IM status according played song
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Plugins (other)
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-06 12:56 UTC by Guillaume Desmottes
Modified: 2009-04-30 05:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2008-04-06 12:56:24 UTC
Vincent wrote a wonderful plugin changing your IM status according the song played by Rhythmbox. Currently Empathy and Gossip are supported.

As he is a modest guy, he didn't submit it for inclusion so I do it for him (with his approval, of course).

See http://www.vuntz.net/projets/rhythmbox/ (in French) about the plugin and http://www.vuntz.net/download/rhythmbox/rb-im-status-0.7.tar.gz for the latest release.
Comment 1 Vincent Untz 2008-04-06 13:09:42 UTC
Just to confirm, I'm of course okay to have this shipped with rb.
Comment 2 Vincent Untz 2008-04-06 15:31:49 UTC
FWIW, http://www.vuntz.net/bzr/rhythmbox-plugins is the bzr repository. There's a bug fix to make it work with streams that only have extended metadata (like last.fm).
Comment 3 Guillaume Desmottes 2008-05-07 13:54:22 UTC
I discovered a bug with current plugin and Empathy. To reproduce:
- be sure Empathy is not running
- Start to play music with rhythmbox
- Connect Empathy
- Stop to play music
- Our status is available but the status message says "Offline"
Comment 4 Vincent Untz 2008-05-08 10:54:34 UTC
Small note on how to fix this: compare the status message with empathy_presence_get_default_message() and save it as "" if it's the same.

Problem: looks like the empathy python bindings don't bind this function.
Comment 5 Praveen Thirukonda 2009-04-14 11:54:24 UTC
Is the work on this stopped? why isnt this still not included with rythmbox after and year of being released?
Comment 6 Vincent Untz 2009-04-14 12:46:06 UTC
I guess it's just because there's no clear way on how to add a new plugin to the rhythmbox module... But you can still use the plugin by just downloading it.
Comment 7 Jonathan Matthew 2009-04-14 14:00:57 UTC
Some time soon, I was planning to look over the available plugins that do this sort of thing (there's a few out there) and add whatever I liked best.

The current way to get a plugin added to rhythmbox is to open a bug, maybe provide a patch, and wait.  Which obviously takes too long.. so perhaps it'd be a good idea to open it up a bit.  How do other applications deal with this?
Comment 8 Jonathan Matthew 2009-04-29 10:22:49 UTC
OK, looks like this is the winner.  Vincent, since we've changed the rhythmbox license since you posted comment 1 above, do you agree to relicense your code to match the rest of rhythmbox?  For reference, the rhythmbox license is GPLv2 (or later) with the following exception:

 The Rhythmbox authors hereby grant permission for non-GPL compatible
 GStreamer plugins to be used and distributed together with GStreamer
 and Rhythmbox. This permission is above and beyond the permissions granted
 by the GPL license by which Rhythmbox is covered. If you modify this code
 you may extend this exception to your version of the code, but you are not
 obligated to do so. If you do not wish to do so, delete this exception
 statement from your version.
Comment 9 Vincent Untz 2009-04-29 11:51:18 UTC
Oh, sure, I'm fine with relicensing to the same license as RB.
Comment 10 Jonathan Matthew 2009-04-30 05:16:39 UTC
Thanks.  I've committed the latest revision of the plugin from bzr as f743b766ce9cd51425339d09fad99f2b419f4ec7.