Required:
mjpegtools (jpeg2yuv , mpeg2enc)
imagemagick (convert , composite)

Installation:

Copy every directoy from "to_ImageCacheDir" to the directory , where you
want to store the converted MPEGs.

Copy the script from "to_usr_bin" to your executable path ( default /usr/bin )

!!! BEFORE !!! you start the mp3-plugin , go to setup and change the option "Image Cache Dir"
to the directory , where you placed the directories from "to_ImageCacheDir".

As example :
You copied the directories to "/tmp"
Enter in Setup "Image cache dir:  /tmp"  ( NOT  "Image cache dir:  /tmp/" )



Then you should have all themefolder in this directory:
/tmp/mp3-MKIII-Audioplayer
/tmp/mp3-MKIII-Future1
/tmp/mp3-MKIII-Ipod
/tmp/mp3-MKIII-Itunes
/tmp/mp3-MKIII-Kleo



In this themefolders , there must be 2 files.
For Audioplayer as example it should look like that :

/tmp/mp3-MKIII-Audioplayer/background.mpg
/tmp/mp3-MKIII-Audioplayer/background.jpg


The behaviour is the same like the original plugin.
If an image was found in the mp3 directory, it will convert and store in
a subfolder of the themefolder as MPEGs.
If no image is found, the plugin load the default background.mpg from themefolder.

If an image was found but it couldnt be converted, you see no background ;)

If you change the theme , it only works right after you restarted the plugin.


If you want to manually execute the convertscript , you must call it like this :

./image_convert-MKIII.sh  'cover.suffix'  'cover.mpg'  'themecachedir'  coverxy  coversize

Where:
cover.suffix = path to coverpicture
cover.mpg = store background as filename.mpg
themecachedir = path to your themefolder where background.jpg is( e.g. /tmp/mp3-MKIII-Audioplayer )
coverxy = Place cover on this position in background.jpg
coversize = Resize cover.jpg to this dimension

e.g:
./image_convert-MKIII.sh 'cover.jpg' 'cover.mpg' '/var/cache/images/mp3-MKIII-Kleo' +506+332 136x136

NOW you can play with your own coverbackgounds.
If you create a nice one, send the cover.mpg, cover.jpg and the command you called to me.
I do the rest ;)

Supported format of covers are bmp,jpg,jpeg,gif,png.

bye
