G15 Amarok Plugin Plus

Amarok 1.x Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
G15 Amarok Plugin Plus v1.1
Shows some information about the currently played track of amarok in the screen of the Logitech G15 keyboard.

(Amarok 2 [kde4] users can use the "G15 Show Tune Plugin", wich is the officially successor of this plugin for the next amarok version: http://www.kde-apps.org/content/show.php?action=content&content=92419.)

If title, artist or album doesn't fit in the screen, it will be scrolled.

Tip: I set the wheel of the G15 to set the volume of amarok (global hotkeys). That's pretty handy.

New in v1.1:
- can be also run in console with more possibilities to configure (scroll speed, show amarok or global volume*)
Further information: "./g15amarokpluginplus.sh -h"

Hint: Due to some heavy changes, it is possible, that the script will be run slower. So if you don't need the new features, still use the version v1.0, because its routines are more efficent.

Requires: g15composer, optional kmix

Hope you enjoy it! Greets saLOUtions

(2008/03/14)

*global volume:
means the main channel of kmix, which can be selected by the menu appearing on right click of the kmix icon

Update (2008/07/22):

Added full character support (utf- to v1.0 Branch.

In the next months I will spend some time to get the script working with the upcoming amarok 2 in kde4.
Please don't hesitate to let me know what could be better done.

Greets saLOUtions
Last changelog:

v1.0 2008/03/11:

first release, known bugs: no handling of special chairs - but doesn't influence the functionallity itself

v1.1 2008/03/14:

add console modus, the possiblity to show the change of the global (kmix) volume instead of the amarok volume and better scroll-speed control with supported values under 1 second (float)

v1.0.1 2008/07/22:

Added full character support (utf-


Ratings & Comments

11 Comments

kiozen

when using that script my play/pause/stop keys, assigned with lineakd won't work anymore.

saLOUtions

My script doesn't care for any keys. I just listened for the kde dcop server. That might be due to amarok's global keys... Greets saLOUt

pbuard

Would it be possible to add support for accents (é, à, ...)? Right now the "é" is transformed into a weird pipe character.

saLOUtions

I know this problem. As i listen often to german tracks like "Die Ärzte", i got also weird letters for non-ascii-chars. I think this might be an issue of the g15-composer. -> I'm not able to do anything. Sry

Vloeck

maybe you could use Quote:

iconv -f utf-8 -t cp437//TRANSLIT > $pipe << EOF ... EOF
instead of Quote:
cat > $pipe <<EOF ... EOF
g15composer likes to get the text in CP437-encoding (DOS-US), I changed it and it works fine for me.

saLOUtions

thanks a lot. That helped. I changed the amarok script v1.0 to v1.0.1. => Use Version v1.0.1 to get full character support.

scsimodo

This works like a charm ! Nice script

YOjick

Thank you very much for this plugin. It works pretty well!

dentommi

hello, i like your script, good work! now i don't have to use lcdproc anymore. just a few questions/suggestions: is it possible to make the artist/band/song scroll faster? can you show de volume bar when the volume is changed with for example kmix?

dentommi

ok, just found out that if i start the script from commandline and not from inside of amarok, you can give the -s option. but if i set for example -s 0.5 it gives an error and it scrolls very fast. this is the error: g15amarokpluginplus.sh: line 70: read: 0.5: invalid timeout specification the volume bar doesn't work when i start the script from commandline greetz

saLOUtions

That's my first software publication and i am very pleased, that there are some guys how use my script. ;) Speed-Control: I will fix that problem in the following days (check this page again on weekend), so that no error appears, but i don't recommend to set the speed lower than 1, because the current time will run in an ugly way (not consistent, try and see it self). Volume-Change-Notification: Amarok sends messages to my script, if the volume changes. I check these messages and show the volume change screen if necessary. That means: 1) Running the script manually: Amarok isn't able to send messages if volume changes -> No Volume Screen Better would be to change the default speed in the amarok bash script. 2) Kmix don't send messages to my script: There's nothing to trigger. To get the script working with kmix i would have to ask each time for the actual volume and compare it to the last one. That wouldn't be a good style. Maybe someone have a better idea. Greets saLOUtions

Pling
0 Affiliates
Details
license
version v1.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Amarok 1.x Scripts from saLOUtions:

G15 Amarok Plugin Lyrics
saLOUtions
last update date: 17 years ago

Score 5.0

Other Amarok 1.x Scripts:

Gnome Play Video in Totem
mwheatland
last update date: 19 years ago

Score 5.0

editLyrics-gnome
ZeeD
last update date: 19 years ago

Score 5.0

amarok Alarm
aroth
last update date: 16 years ago

Score 5.0

amaroK Web Collection V xmms
pti-jean
last update date: 16 years ago

Score 5.0

SongLogger
lucatnt
last update date: 17 years ago

Score 5.0

amaroK Web Collection
pti-jean
last update date: 16 years ago

Score 5.0



System Tags