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.

11 thoughts on “A simple plugin for Sonata…

  1. Steve Dodier

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

    Reply
  2. Justin

    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

    Reply
    1. l3on Post author

      It’s not necessary install sonata (that works without installation too).
      However, take a look in this dir:
      /usr/share/python-support/sonata/sonata/plugins/

      Or in /usr/local/share….. , depends on the prefix that you choosen.

      Reply
  3. Pingback: Music Player Daemon: Sonata Notifications with Notify-OSD .:Tutorial & Disclaimer Inside:. « http://smyte.wordpress.com

  4. Justin

    @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

    Reply
  5. Pingback: Peng’s links for Saturday, 30 May « I’m Just an Avatar

  6. phynix

    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?

    Reply

Leave a Reply