amarok-lcdproc

Amarok 1.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

1
5 .0
Description:

amarok-lcdproc 0.5 / 07.11.07

About:
Amarok Script for displaying meta tags on a LCD through LCDd (lcdproc).
You can choose between these meta-infos provided by amarok what is to be displayed on each row: "album", "artist", "bitrate", "comment", "currentTime", "genre", "nowPlaying", "title", "totalTime", "track", "type", "year". Furthermore you can choose a clock.
If you want somewhere something displayed like "artist - title" you could use the keyword "nowPlaying" or instead enter "artist, - ,title". It is important to use the "," as delimiter as it won't work otherwise. The keywords you can use are album (for album), artist (for artist), nowPlaying (for artist - title), title (for title) and totalTime (for the duration of the song if the amarok is playing, otherwise there will be "pause" if amarok is paused and left blank if amarok is stopped)
The configuration-file is a commented xml-file, which - for now - has to be edited by yourself without a GUI. You can find it in "~/.kde/share/apps/amarok/scripts/amarok-lcdproc/" and is called "amarok-lcdproc.xml".
The default will look like this:
"title"
"artist"
"album"
"currentTime"/"totalTime" "clock"

Usage:
Start your lcdproc-server, start the script, perhaps take a look at the configuration-file, be happy.

Dependencies:

Amarok 1.4
Ruby 1.8
lcdproc 0.5.0

ToDo:

add a graphical configuration dialog
fixing some encoding-problems with some special characters

Thanks:
Sven Jordan (info@s-jordan.de) for the code for Artist/Title-slicing and the change concerning the '/' in the status view

Author:
Torben Kessler (sir_tyrann@gmx.de)
Last changelog:

12 years ago

Changelog:
Version 0.5 / 07.11.2007
Configuration-file now in XML-format
Improved possibilities of configuring the output
Added support for more amarok-dcop-commands
removed temporarily graphical configuration-dialog
Version 0.3.1 / 28.05.2007
Minor change concerning the '/' between currenttime and totaltime
Version 0.3 / 27.05.2007
Detects if Title = (Artist) - (Title) and displays it as Artist = (Artist), Title = (Title)
Scrolling customizable
Version 0.2 / 08.10.2006
Rearranged code to make it more flexible and faster
Version 0.1.1 / 22.09.2006
Fixed a bug, where a dcop-process ran amok
Version 0.1 / 22.09.2006
Initial release

pernambuco

12 years ago

you can please put one screenshot of this with ncurses?

Report

spoky33

12 years ago

Simply a very good piece of code. Add just some scrolling capacity for the small LCD displays and it will be simply the best LCD plugin for Amarok.

Phil

Report

C

sirtyrann

12 years ago

Thank you,
well in fact I'm not sure when I find time to go on here. But I will remember this request :) or at least will be reminded as soon as I do some enhancements here.

Report

Sjaaksken

13 years ago

I like your work, it works fine here.

Since I have a 20x2 screen it doesn't display the songstatus/time :(

The title and artist display well tho.

Is it possible to configure this script for a 2 lined display?

Report

C

sirtyrann

13 years ago

Thanks for your comment.

Indeed, it should be possible to change it to a 20x2-display. Although I don't know which way you'd like to have it displayed. In the end I'd like to have it the way, that you can chose your display-size and the way it shall be displayed. But I have to admit, that I have a lack of time at this moment. But if you tell, which way you would like it to be displayed, maybe I can make a quick-and-dirty-version ;)

Report

12 years ago

Changelog:
Version 0.5 / 07.11.2007
Configuration-file now in XML-format
Improved possibilities of configuring the output
Added support for more amarok-dcop-commands
removed temporarily graphical configuration-dialog
Version 0.3.1 / 28.05.2007
Minor change concerning the '/' between currenttime and totaltime
Version 0.3 / 27.05.2007
Detects if Title = (Artist) - (Title) and displays it as Artist = (Artist), Title = (Title)
Scrolling customizable
Version 0.2 / 08.10.2006
Rearranged code to make it more flexible and faster
Version 0.1.1 / 22.09.2006
Fixed a bug, where a dcop-process ran amok
Version 0.1 / 22.09.2006
Initial release

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
klejczklejczkl
May 26 2013
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
updated Nov 07 2007
added Sep 22 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags addon