-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (8) . 

amaroKnotify

   0.5.4  

Amarok 2.0 Script

Score 86%
amaroKnotify
zoom


amaroKnotify
zoom


Minimum required   KDE 4.x
Downloads:  1041
Submitted:  Apr 21 2009
Updated:  Sep 17 2009

Description:

Notifies you of song changes using native popup dialogs (via org.freedesktop.Notifications if you have it, kdialog if you don't). It is intended as a replacement for the built-in OSD.

If you are looking for notifications using libnotify, look at meerkat's NotifyAmarok: http://www.kde-apps.org/content/show.php/NotifyAmarok?content=103307.



Contact me if you want to add to the existing translations (English, Polish*, Spanish, Italian, Russian, French, German).
Feel free to leave any suggestions or requests.

*diacriticals do not work at this time




Changelog:

Known Bugs:
- "Resumed Playing" is sometimes triggered when skipping tracks. (it seems trackPlayPause is being called for some reason)
- when a notifiction is reused, it disappears as per the original timeout

0.5:
Since most of the features added here, though significant, I took them from meerkat's NotifyAmarok, I think this partial jump is warranted.
- FEATURE: added new metadata tags (pretty much all the ones there are plus some from NotifyAmarok)
- FEATURE: added option to display album art in notification
- FEATURE: added ability to change paused message independently
- [0.5.1] FIX: now reuses old amaroKnotify notifications (only works with org.freedesktop.Notifications) not until Amarok fully implements its qtscriptbindings and includes some form of QProcess.execute
- [0.5.1] FIX: if the new Notifications interface does not exist, will fall back to kdialog
- [0.5.1] added French translation, courtesy of oboulonis
- [0.5.2] added German translation, courtesy of hoihappen
- [0.5.2] FIX: fixed some problems with non-ASCII characters and kdialog
- [0.5.3] updated Russian translation, courtesy of nu11
- [0.5.3] FIX: untranslated text will now default to English
- [0.5.3] FIX: fixed some more problems with accented characters affecting covers
- [0.5.4] Updated Spanish translations courtesy of Fenix-TX

0.3
- FIX: If you cancel, the configuration dialog does not retain the old settings anymore.
- FIX: If you restart, the duration value is retained.
- FEATURE: Added volume change notification
- FEATURE: added configuration controls for deciding which notifications to receive
- [0.3.1] added Italian translation, courtesy of diegolanteri
- [0.3.2] added Russian translation, courtesy of HucK
- [0.3.3] FIX: stopping or exiting will no longer trigger a notification

0.2
- FEATURE: added localization support (uses the system language, but defaults to English)
- [0.2.1] added Polish translation, courtesy of madsheytan
- [0.2.2] added Spanish translation, courtesy of Fenix-TX

0.1
- Initial Creation




LicenseGPL
(amaroKnotify.amarokscript.tar.gz)
Send to a friend
Subscribe
Other  Apps  from thesalus
Report inappropriate content



goto page: prev   1  2 

-
.

 WELL DONE!

 
 by diegolanteri on: May 2 2009
 
Score 50%

Very useful script, well dome.

On my system the notifications are adding up until their expiring time is up.

For example a volume notification is appearing each 1%, so if I raise the volume by 10% I will have 10 notifications on my screen.

Could you add a function to cancel the previous notification before a new one is displayed?

I've got a translation in Italian where can I send it?


diegolanteri
Reply to this

-

 Re: WELL DONE!

 
 by thesalus on: May 3 2009
 
Score 50%

This is also in response to the previous comment.

I'm glad you found my script useful.

I was thinking of using the dbus interface (particularly org.kde.notify and org.kde.VisualNotifications), but unfortunately, it doesn't seem to work very well from the command line, nor are there qtscript bindings for them. This would fix both problems. If anybody has any advice, please enlighten me (it would be greatly appreciated).

Unfortunately, there is no clean way to cancel notifications, but I'll attempt to address that problem.


Reply to this

-

 Great Script

 
 by finifly on: Aug 10 2009
 
Score 50%

This script is great. I was hoping to find something like this.

Is there any chance that (over time) things like album cover art, and/or music control buttons can be added? Or is that impossible?


Weaseling out of things is important to learn. It's what separates us from the animals... except the weasel.
Reply to this

-

 Re: Great Script

 
 by thesalus on: Sep 5 2009
 
Score 50%

Unfortunately, I cannot find a way to do this just yet with KDE 4.3.

The event method in org.kde.knotify doesn't seem to work, and the org.freedesktop.notification specification is nowhere to be found in qdbus (in fact, I can't seem to find any conclusive information about its status in regards to KDE). If anybody has some information to the contrary, I would be more than happy to listen to it.


Reply to this

-
.

 Broken?

 
 by ademmer1977 on: Sep 16 2009
 
Score 50%

The latest version seems broken, it fails to show a plasma notification and shows a plain notification instead:

http://imagebin.ca/view/XW-0zWUy.html

Any fix for this?


I am not out to destroy Microsoft. That will be just an completely unintentional sideeffect. (Linus Torvalds)
Reply to this

-

 Re: Broken?

 
 by thesalus on: Sep 17 2009
 
Score 50%

Unfortunately, I do not know what might be causing this problem. What happens if you try to run db.py manually? Something like:

./db.py "title" "header" "body" 4 1

Any chance that this update fixed it?


Reply to this

-
.

 Re: Re: Broken?

 
 by ademmer1977 on: Sep 17 2009
 
Score 50%

Unfortunally, it's still broken. I tried to run you test command within the script folder, but it complains about an uninitialized key:

---
File "./db.py", line 41, in main
if metadata['arturl'] :
KeyError: 'arturl'
---

I am working on a implementation of my own for a firefox extension. Have a look at the implementation, it works:
http://pastebin.ca/1569320

Maybe you see the differences


I am not out to destroy Microsoft. That will be just an completely unintentional sideeffect. (Linus Torvalds)
Reply to this

-

 0.5 doesn't work

 
 by nqn1976 on: Sep 16 2009
 
Score 50%

version 0.5 doesn't work for me in KDE 4.3: when trying to execute db.py manually I get the error:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files

Also, the translation files are missing the TEXT_TITLE_HELP field, this makes the config dialog not appear at all in non-english locales


Reply to this

-

 Re: 0.5 doesn't work

 
 by thesalus on: Sep 17 2009
 
Score 50%

Sorry about that.

I updated to 4.3.1 recently, and completely forgot to account for this. If org.freedesktop.Notifications doesn't work, it should go back to using kdialog (which is only missing a little bit of the functionality that switching to this new service allows for). Hopefully this works for you.

And thank you for notifying me, I've updated the translation files with placeholder text.


Reply to this

-

 Re: Re: 0.5 doesn't work

 
 by nqn1976 on: Sep 17 2009
 
Score 50%

Thanks for the quick fix. It works now, but only if "show cover art" is unchecked. I know that knotify can't show images, but it should just ignore that option instead of failing.

Also, a little cosmetic issue: the title of the popup now says "notification from kdialog" instead of "now listening", which looks a little ugly imho.


Reply to this

-

 Re: Re: Re: 0.5 doesn't work

 
 by nqn1976 on: Sep 17 2009
 
Score 50%

knotify can't show images
^^^^^
I meant kdialog


Reply to this

-

 Re: Re: 0.5 doesn't work

 
 by nqn1976 on: Sep 17 2009
 
Score 50%

uhm I spoke too fast... it doesn't work either if the title or the artist have non-ascii characters


Reply to this

-

 Where's the configurator?

 
 by -luk- on: Sep 17 2009
 
Score 50%

Hi, i'm using amarok 2.1.1 and i can't find the configurator. i tryed to search in amarok configuration and in the menus but i dindnt find anything. Have you some ideas?


Reply to this

-

 Re: Where's the configurator?

 
 by thesalus on: Sep 18 2009
 
Score 50%

Hm. That's odd.

It should appear as "Configure amaroKnotify" under the Settings menu. However, it doesn't appear when the script isn't working... are notifications currently appearing when you play songs?


Reply to this

-

 Re: Re: Where's the configurator?

 
 by -luk- on: Sep 18 2009
 
Score 50%

yes the notifications are working correctly but in system settings i cant find anything about knotify or amarok.


Reply to this

-

 Re: Where's the configurator?

 
 by nu11 on: Nov 17 2009
 
Score 50%
nu11nu11
zb-susu
-
Dmitry Khlystov 0

zb-susu
Russian Federation, Zlatoust
Last visit May 20 2010
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Have the same problem with amarok 2.2.0. amaroKnotify is runnting, but no configuration entry in settings menu :(


Reply to this

-

 Re: Re: Where's the configurator?

 
 by nu11 on: Nov 17 2009
 
Score 50%
nu11nu11
zb-susu
-
Dmitry Khlystov 0

zb-susu
Russian Federation, Zlatoust
Last visit May 20 2010
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Found in debug output:
SCRIPT "amaroKnotify" : "ReferenceError: TEXT_TITLE_HELP is not defined"
I'm using ru_RU.UTF-8 locale, and this string is not defined in russian translation. When using en_US.UTF-8 configuration entry appers in setting menu. Please add this to russian translation file:
const TEXT_TITLE_HELP = "Справка";
This bug can be fixed by loading translation defined by system language, and then english translation to add untranslated entries:
if (QFile.exists(Amarok.Info.scriptPath() + '/' + languageFileName)) {
Importer.include(languageFileName);
}
Importer.include('lang/en.js');


Reply to this

-

 Re: Re: Re: Where's the configurator?

 
 by thesalus on: Nov 20 2009
 
Score 50%

Ah, that seems to work for me. Thanks for this solution! I will update it soon.

I have also added your translation along with some more I have gleaned from Ubuntu's translation site.


Reply to this

-

 Covers album y accents

 
 by txutxifel on: Nov 18 2009
 
Score 50%

Hello,
I like Amaroknotify, but i think than i found a bug with the accents (á, é, í, ó, ú).When the name or the title of the song has accents, amaroknotify dont show any cover. Its posible than happens with other special characters

Thanks for the script and im sorry for my english


Reply to this

-

 Re: Covers album y accents

 
 by txutxifel on: Nov 28 2009
 
Score 50%

I show that you have just fixed the problem with the accents.

Thanks If you read my message and for make the script!!!!!!!!!


Reply to this

goto page: prev   1  2 

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

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

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.