Just another blog tagged CH3CH2OH

A simple plugin for Sonata…

This simple plugin uses pynotify to notify on song changes in sonata.

This is when you don’t have the album cover:

no-album-cover

This one shows a preview of plugin when option “Album art” is checked (and mp3 file has some decent id3-tags):

notify-with-album-prew

Download:
You can download it using bzr:

bzr branch lp:~l3on/sonata/sonata-plugins

Then copy notify.py into the plugins directory of sonata.

Required:
* Sonata git
* python-notify package

Suggestion:
For a better result, uncheck: Sonata -> Preferences -> Extra -> Popup notification on song changes

Regards.

9 Comments to A simple plugin for Sonata…

  1. Steve Dodier's Gravatar Steve Dodier
    17 maggio 2009 at 19:46 | Permalink

    Got it in Exaile too :) With sexy pause/play/stop icons when the said buttons are pressed \o/

  2. 18 maggio 2009 at 01:30 | Permalink

    Nice!

  3. Justin's Gravatar Justin
    18 maggio 2009 at 10:23 | Permalink

    Hey, thanks for the plugin. But I’m having a weird problem, I’ve installed Sonata from SVN, I can’t seem to find the plugins directory. Where can I find it so I can install the notify plugin?

    Thanks again.
    Justin

  4. Justin's Gravatar Justin
    18 maggio 2009 at 12:33 | Permalink

    @admin

    Thanks for the response, I resolved it. I just had to “mkdir /usr/local/lib/sonata/plugins”, and it worked! Thanks a lot for the plugin. I just wrote a crufty tutorial in wordpress on how to install Sonata from svn, download the plugin from bzr and install it.

    Good luck.
    Justin

  5. 18 maggio 2009 at 13:11 | Permalink

    Your full feed is not going to Planet Ubuntu. You should fix that.

  6. phynix's Gravatar phynix
    5 febbraio 2010 at 01:36 | Permalink

    Is there a way to disable the default popups. I am getting the old notifications on resting my mouse on the tray icon? Also I have a notification when I sort a playlist by album or artist. Can I turn this off?

  1. By on 18 maggio 2009 at 12:15

Leave a Reply

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>