G15-Simple

Amarok 1.x Scripts

Source:

0
Score 50%
Description:

A script that shows Amarok's current playing track (artist, title, album and length) on the LCD screen of Logitech G15 keyboards (and any other LCD screen supported by g15daemon and g15composer).

Loosely based on Robert Riemann's "G15 Amarok Plugin Plus" v1.0 (http://www.kde-apps.org/content/show.php/G15+Amarok+Plugin+Plus?content=76743), but heavily modified and now only updates on track or status change (Robert's script does a LOT of dcop calls, which makes Amarok on my computer at least use a lot more CPU). Also, it does not scroll long titles, since that would need more screen updates and dcop calls. That said, it's a simple script (hence the name).

Needs g15composer (which in turn will need g15daemon, both can be found at www.g15tools.com), iconv, dcop, sed, pgrep and a running Amarok (will check for all these requirements when started).
Last changelog:

10 years ago

1.9.1
* Re-add stopped screen, but keep hiding when it's to be shown. (The old playing screen was reachable with the switching button, I could swear I tried that...) *oops*

1.9
* When no track is playing (Amarok is stopped), hide the screen instead of displaying a semi-useless empty screen.

(I know Amarok 2.0 is released and this script is incompatible, but I prefer the 1.4 series, waiting for Exaile to get Amarok's dynamic playlists, since I switched to Gnome a while back...)

1.8
* Added a timeout to the loop that waits for g15composer to create its pipe before continuing (potential infinite loop if creation would fail).
* Added check for pgrep, which has been used all the time (I just forgot it).
* Some minor code cleanups and refactorings.

1.7
* Fixed bug with tag info containing " (now replaces with ¨, since I can't get g15composer to escape).
* Fixed some minor positioning errors.

1.6
* Redesigned the bottom "status bar", now also shows filetype and bitrate.

1.5
* Initial public release.

saLOUtions

9 years ago

Hey,

cool thing ;)

Maybe we can work together to get our derivates working with amarok 2.0.

Unfortunately I have no idea how QtScript or d-bus has to be used...


Greets Robert Riemann

Report

C

Firetech

9 years ago

As I wrote in the changelog, I'm not a big fan of Amarok 2.0 (I did try to use it for a while), while Amarok 1.4.x is exactly what I want. I'm just waiting for Exaile to get a little better so I can stop relying on old software (unless someone forks old Amarok).

I switched to Gnome a while ago just because I didn't want to run KDE 4 (it's just not the same thing) and had switched my view of Gnome over the previous few months.

Good luck porting anyway! :)

Report

10 years ago

1.9.1
* Re-add stopped screen, but keep hiding when it's to be shown. (The old playing screen was reachable with the switching button, I could swear I tried that...) *oops*

1.9
* When no track is playing (Amarok is stopped), hide the screen instead of displaying a semi-useless empty screen.

(I know Amarok 2.0 is released and this script is incompatible, but I prefer the 1.4 series, waiting for Exaile to get Amarok's dynamic playlists, since I switched to Gnome a while back...)

1.8
* Added a timeout to the loop that waits for g15composer to create its pipe before continuing (potential infinite loop if creation would fail).
* Added check for pgrep, which has been used all the time (I just forgot it).
* Some minor code cleanups and refactorings.

1.7
* Fixed bug with tag info containing " (now replaces with ¨, since I can't get g15composer to escape).
* Fixed some minor positioning errors.

1.6
* Redesigned the bottom "status bar", now also shows filetype and bitrate.

1.5
* Initial public release.

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling me
Details
license
version
1.9.1
updated Dec 17 2008
added Mar 22 2008
downloads today
0
page views today 1
System Tags addon