full listings » Appearance, Playback


ubuntu-notifyOSD FreaK

Displays playing artist info using ubuntu notifyOSD library.


ubuntu-notifyOSD



Description

This is an addon for songbird running on UBUNTU, to show the playing file information using ubuntu notify OSD library. (This is truly working!)

Ubuntu Linux must have python-notify python-dbus packets are installed

to install it type below in the terminal screen

sudo apt-get install python-notify python-dbus




Release Notes

Release v0.2.0.2
- Kubuntu users should see album arts in notification applet (Please report bugs if exists)




Images

(6)
  • Screenshot_thumbnail
  • Screenshot2_thumbnail
  • Screenshot3_thumbnail
  • Screenshot4_thumbnail
  • Screenshot5_thumbnail
  • Screenshot6_thumbnail
 

Comments

(37)


LIB53
LIB53

Not to be rude but someone has already made an addon like this: http://addons.songbirdnest.com/addon/1672.

Can you tell me the difference between your addon and the other one?

3 months ago
LIB53
LIB53

Nvm, i see that yours shows the album art and it does seem to work quite well. I dunno what you should do about the duplicate project though. Thanks for the addon.

3 months ago
FreaK
FreaK

You are right Lib53, i've developed it because mentioned addon has out of code optimisation and most time it's working wrong... That's why i recode the entire addon. this one shows album art correctly... In addition to this, preferences windows will be available soon. I tried to contact with the other addon's writer, so i can send the fixes to him to release the new version but he has not replied my messages then i think he is not interested in my fixes because of that i create a new one...

3 months ago
robin0800
robin0800

Not at all sure why but although working on the latest nightly, the album art is not shown, only the no album art picture.

3 months ago
FreaK
FreaK

@robin0800
if no album art picture is shown, there is not an error exists on passing variables to the dbus script. do you have an album art of the song? you have to have an album art for mentioned song. my add-on does not have album art fetching specification. if you do not see it in now playing album art panel meaning that you do not have an album art..

you can use the following add-on to fetch the album arts from Amazon when you play the song...

http://addons.songbirdnest.com/addon/1425

take care

3 months ago
robin0800
robin0800

Further investigation it appears album art only works for *.png images and this only on your version 1
Your 1.5 displays nothing for me.

3 months ago
FreaK
FreaK

@robin0800
Ok, it sounds like an improper installation of notify-osd or an old version exists. So i need some information about your system.

first of all ;
which ubuntu version you are using (Hardy, Jaunty, Karmic or something else)
is it 32-bit or 64-bit?
have you ever do a manual installation to your system, anything, any packet?
have you update your system lately using ubuntu update manager?

what are the versions of
- notify-osd
- libnotify
- python-notify

have you installed libjpeg

this problem can be about notify-osd installed on your system... There was a bug exists which has been fixed in Ubuntu Karmic

http://launchpadlibrarian.net/30874723/screencast2.ogv

watch the video on given link above for the problem.. i think its related...

3 months ago
sanja-no1
sanja-no1

hello, there is an issue to show unicode correctly.

Image Hosted by ImageShack.us

i have fixed it:

Image Hosted by ImageShack.us

file: http://ul.to/i9v0gl

3 months ago
FreaK
FreaK

@sanja-no1

thanks for bug fix and german translation ;)

3 months ago
noisethief
noisethief

I just want to say this is the absolute best of the notification extensions (or silly hacks) that I've used to get what I want working.

I really like the settings menu, and the ability to put whatever information I want in there.

Works perfectly. I'm using Ubuntu 9.04.

Keep up the good work. My only suggestion is font size or even color options would be a welcomed feature.

3 months ago
robin0800
robin0800

Latest report
This fully works with 1.2 release which I have installed and is still working. Downloaded 1.6 nightly didn't install just ran from folder and as before no display. Any thoughts?

3 months ago
FreaK
FreaK

@noisethief
Thanks to use my add-on. I also want to add font size and colouring options to the notification add-on but Ubuntu's notify-OSD package has not support both of them. Whenever it becomes available by the package, this feature will be available...

@robin0800
Songbird 1.6 is not supported right now...

3 months ago
TheOneRing
TheOneRing

Could you please implement the icon with
http://www.galago-project.org/specs/notification/0.9/x207.html

so that Kubuntu user can see a big icon?

3 months ago
FreaK
FreaK

@TheOneRing
In fact i tried to do using icon implementation explained in galago project but Ubuntu notify OSD was not able to show the album art with this way. because of that i've used some other way to show album art in notify OSD. However, it can be a limitation for only GNOME desktop, maybe KDE desktop can show bigger album art with this way. On the other hand, i don't have any Kubuntu installation on my computer, first of all, i must build a test platform for your request then I will able to code and test galago project's icon implementation. I will try to do as soon as possible.

3 months ago
TheOneRing
TheOneRing

Hi thanks for trying,
as far as I know the notification system prefers the icon defined on galago so you can leave the icon url blank for testing(so testing should not need a KDE Platform), an other benefit of using this implementation of an icon is that you can scale it.

The org.freedesktop.Notification interface is currently only supported by Kubunu as a part of the NotifyOSD.

3 months ago
FreaK
FreaK

@TheOneRing
Thanks for info, can you try the new release of addon. If it works, i will very glad to share a screen shot of applet.

3 months ago
TheOneRing
TheOneRing

hm sorry nothing changed

here is a extract of dbus-monitor

----------------------
method call sender=:1.102 -> dest=:1.80 serial=4 path=/SongBirdService; interface=com.songbird.ubuntu_notifyOSD_interface; member=show
   string "Tribute (4:08)"
   string "Tenacious D - Tenacious D"
   string "/home/patrick/.songbird2/ia9anciz.default/artwork/d057d902813d00bc0a01da52b02b868c.jpeg"
   string "-1|0|/home/patrick/.songbird2/ia9anciz.default/extensions/ubuntu-notifyOSD@songbirdnest.com/chrome/skin/starfull.png"
method call sender=:1.79 -> dest=org.freedesktop.Notifications serial=13 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "SongBird_NotifyOSD"
   uint32 3
   string "/tmp/c655232a-dd1f-11de-a5f5-00027261d024.png"
   string "Tribute (4:08)"
   string "Tenacious D - Tenacious D"
   array [
   ]
   array [
      dict entry(
         string "urgency"
         variant byte 0
      )
   ]
   int32 -1
method return sender=:1.12 -> dest=:1.79 reply_serial=13
   uint32 3

----------------------
it looks like the first dbus message is generated by your plugging and the second one by an other application, so maybe you cant generate the image like in galago defined.

otherwise

the section
   array [
      dict entry(
         string "urgency"
         variant byte 0
      )
   ]

should look like

   array [
      dict entry(
         string "urgency"
         variant byte 0
      )
dict entry(
         string "icon_data"
         variant struct {
               int32 50
               int32 50
               int32 200
               boolean true
               int32 8
               int32 4
               array [
                  byte 255
                  byte 32
                  byte 57
                  byte 93
                  byte 255
                  byte 32
                  byte 57
                  byte 93
                  byte 255
                  byte 32
          .......
            ]
   ]
 

so if only the first message is from you plugging this could be an issue of the NotifyOSD implementation for KDE and you cant change anything.

Greetings TheOneRing

3 months ago
ACMiller
ACMiller

This is working perfectly for me on Ubuntu 9.10 with songbird 1.2. Thanks, definitely an essential addon, I really appreciate the work you've put in!

3 months ago
elkikin
elkikin

Hey FreaK,

First off, I want to thank you for this add-on. It's great! :)

I'm having the following problem with it (not sure if it's a bug in notify-osd, in Songbird, or in your add-on, but here it goes):

- When I start playing a track, the notification pop-up appears just fine (with album art and all, if present), but if I change to another track with the original notification still active, Songbird starts skipping all the tracks in my current playlist/library, until it reaches the last track. If I wait until the notification disappears, then I can change tracks without this happening and a new notification will pop up just fine.

Any thoughts on this one? I'm running Songbird 1.2.0, Build 1146 on Xubuntu 9.10 (32-bit) with notify-osd 0.9.24, libnotify1 0.4.5-1 and python-notify 0.1.1-2.

3 months ago
FreaK
FreaK

@TheOneRing
I need to investigate the problem according to your message... I will try to solve if my add-on causes it.

@ACMiller
Thank you ;)

@elkikin
It's an odd problem... My add-on must not effect the songbird playing flow. It just sends the notification information to an external script and forget it. If an error occurs on external script, songbird can not know it. In addition to this notify-osd does not show anything about the playing song. You are using xubuntu and I need to set up an environment to test what's going on. but it sounds like there is a problem on songbird or its add-ons excluding mine. thanks for your information

3 months ago
elkikin
elkikin

@Freak

I think I figured out the problem. I had the MPRIS add-on enabled, so I could use Pidgin Music Tracker with Songbird. Disabling the MPRIS add-on fixes the problem I described earlier. I'm no programmer, but it seems like when both add-ons are active, dbus goes crazy.

Anyway, sorry if I wasted your time with this :)

3 months ago
FreaK
FreaK

I check the plug-in that you are talking about, and yes it is possible to be the problem. It has a dbus library working integrated with songbird. It means it can do unpredictable actions on songbird when this plug-in throws an error. Anyway I am happy to solve your problem practically.

Take care ;)

3 months ago
TheOneRing
TheOneRing

I don't what changed but today I'm getting Notifications with a big icon :D
the dbus-monitor output is correct now.


Maybe a change in a Kubuntu library or something different, it doesn't matter as long as it works now :D

3 months ago
RPG_Master
RPG_Master

The Album art is only working on my MP3s with embed album art... but almost my entire collection is in ogg :(

3 months ago
chrushertauren
chrushertauren

thanx for the addon...works excellent with karmic :-D

3 months ago
FreaK
FreaK

@TheOneRing
I am happy for yourself :) so no problem exists any more I think...

@RPG_Master
Embedded or not, add-on is not looking for. It's just searching album art directory in your profile for related song id then display it on OSD. :) try Amazon Fetcher... http://addons.songbirdnest.com/addon/1425

@chrushertauren
I thank to you for using my add-on ;)

3 months ago
robin0800
robin0800

There is something funny with this album art directory is it yours or songbirds? The reason I ask is that if album art is missing in the notification the art is missing in this folder also but the really strange thing is even if it is missing the now playing panel has it as does media flow this does strongly suggest media flow and now playing don't use it?

2 months ago
FreaK
FreaK

artwork directory belongs to songbird, not my add-on's operational directory. If your mp3 is containing an album art, songbird can cache it in this folder. If it's cached, my add-on can use it to show your album art in notify-osd.

2 months ago
robin0800
robin0800

Thanks For that FreaK but does it have to be cached, clearly not for now playing or media view but it appears it has to be for notify is this true?

2 months ago
FreaK
FreaK

I don't know :) songbird is automaticly caching it, maybe it needs to be reach an album art quickly because embedded album art requires more task to be displayable that's why it caches album arts. in addition to this maybe now playing or media view also have used it, I don't have any idea about these add-ons. On the other hand, my add-on needs a cached album art image file to display it on notify-osd.

2 months ago
robin0800
robin0800

Couple of points no they are not caching art I've deleted all art in that folder and Now playing and Media Flow are both working fine. Secondly I have no embedded art, Rockbox dosn't like it and can crash on it. All art is in the same folder as the album tracks, I think this is what Now Playing and Media flow must be using.

2 months ago
xiaogaozi
xiaogaozi

Although there is already a notify add-on ubuntu-notifier, it doesn't work with Chinese and the album art (a.k.a artwork) dosen't display.

This add-on (ubuntu-notifyOSD) works fine on my Ubuntu system. And those errors just mentioned are all gone.

It's awesome, thanks the author.

2 months ago
lumpy211
lumpy211

Niels' version of ubuntu-notifier works fine for me, though this one doesn't.

Distro: Arch Linux, 64-bit
Songbird version: 1.4.3
notify-osd: bzr 407
libnotify: 0.4.5
python-notify: 0.1.1
dbus-python (the Arch equivalent of python-dbus): 0.83.0

Any suggestions?

2 months ago
FreaK
FreaK

@lumpy211

is there any error output?

2 months ago
lumpy211
lumpy211

Figured it out - was missing a package named "pil"

Thanks FreaK, this is a really nice plugin!

2 months ago
FreaK
FreaK

Your Welcome ;) I am happy to be solved your problem... Take Care...

2 months ago



Log in to Post a Comment


Download
Statistics
Downloads: 2,802

Average Rating:
4 out of 5  based on 12 ratings

Images: 6

Comments: 37

Last Updated: 3 months ago
Details
Name: ubuntu-notifyOSD


Author: FreaK

Version: 0.2.0.2 version history

Categories:


Log in to Add a Tag
Share
Embed:

Share: