amaroKnotify

Amarok 2.x Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

5
Score 70.0%
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
Last changelog:

10 years ago

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

madsheytan

11 years ago

Is it possible to translate it, or it depends on amarok translations? If it's possible then how can i do this?

Report

C

thesalus

11 years ago

I wasn't sure if the Qt localisation feature was usable by this, so I adapted one from Lyrics Workshop. I hope it is what you are looking for.

You can use the lang/en.js as a template.


Thank you for the suggestion!

Report

urcadox

11 years ago

Just wanted to let you know that your script works perfectly for me =)

Great script ;)

OS : ArchLinux x86_64
KDE 4.2.2
Amarok 2.0.2

Report

ungethym

11 years ago

This looks really great. I tried to install it (via GHNS) but when I activate it, amarok crashes.
You can find the backtrace here:
https://bugs.kde.org/show_bug.cgi?id=190234

Report

C

thesalus

11 years ago

I'm sorry that my script has caused you so much trouble. It seems that this is not an isolated incident.

You can find the particular bug report here: https://bugs.kde.org/show_bug.cgi?id=182810

Report

madsheytan

11 years ago

Works for me, suing 2.0.2, too. Nice and thanks!

Report

10 years ago

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

12345678910
4
product-maker e1nste1n Jun 14 2011 9 excellent
product-maker delian Jun 07 2011 9 excellent
product-maker Keksbubi Apr 29 2011 9 excellent
product-maker Razor13 Mar 24 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
DaiVied
Dec 30 2009
mdye
Sep 30 2009
-luk-
Sep 16 2009
apolodor
Sep 16 2009
gskbyte
Aug 14 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.5.4
updated Sep 16 2009
added Apr 20 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags addon