Two new UI plugins

Robert Hart <[email protected]>
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <1064683433.1014.2.camel@euclid>
I have written two simple UI plugins, which have been sitting on my hard
disk for a while, so I thought I'd commit them.

Note: to enable extra UI plugins, you need to edit ~/.zinf/preferences
and alter the SecondaryUI: line, which is a semicolon separated list
of plugins. e.g:

SecondaryUI: albumart.ui;xosd.ui

You will need libxosd-dev in order to build the xosd plugin.

albumart.ui
===========

This plugin displays the album cover for the current song during
playback. It looks for a file called "folder.jpg" in the same
directory as the song, (and if it fails to find it recurses upwards
until it reaches the root directory).

There are programs available that can automatically download images
from sources such as amazon.com, or you can scan your own images.

albumart has the following preferences:

CoverScale: true|false - should images be scaled to a fixed size.
CoverSize:  the size of the scaled image if CoverScale is true.
CoverHide:  true|false - if true, the Album Cover window is closed when
there is no image to display. Otherwise a "broken" image is
displayed. Generally having this set to true is quite annoying, as the
window will "popup" again when the track changes to one that has an
image.


xosd.ui
=======

This plugin displays messages in the style of a TV On Screen Display. 

xosd has the following preferences:
OSDFont:     this is the XFont descriptor to use for the display 
	     (try running xfontsel -scaled)
OSDColour:   the colour of the text (see /etc/X11/rgb.txt)
OSDTimeout:  Number of seconds to display each message
OSDVoffset:
OSDHoffset:  The position of the display relative to the
	     bottom left of the screen.


-- 
Robert Hart <[email protected]>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.