fruitbox v1.7 is now released!
This version adds several new features:
-> *new* Optional Skin Chooser start-up menu
-> *new* Status output to external file(s)
-> *new* Support for multiple joysticks
-> *new* Support for user-specified (key/button based) input devices
...and provides the following enhancements:
-> Improved user interface for button mapping and database creation
-> Database file search is now case-insensitive for mp3 file extensions
-> Volume control is now logarithmic to give better response over 0-100% range
-> Ability to override config file database and music-path settings from command line
-> Added Power-Off button
Also, some minor skin tweaks have been done.
To use the skin chooser menu, run fruitbox as follows...
Code: Select all
sudo ./fruitbox --choose-cfg skins.txt
...then you can browse skins using the left and right buttons. Any other button will activate the selected skin. (For touch input, press the left and right arrows, and the chooser box to select).
To add more skins to the menu, you need to edit skins.txt (or any file you have specified). The skin chooser looks for screenshot.jpg files in each skin directory to show you a preview. If you have made your own skin then you can generate the screenshot file using the command...
Code: Select all
sudo ./fruitbox --cfg <your skin file> --screenshot
...and don't forget you can have different cfg files in the same skin directory (for example to load different databases into the same skin style if you want different music sets).
A useful new feature is the ability for fruitbox to output status information to other applications, for example the name of the currently playing song. The [status] objects in the skin config files have been enhanced by adding an 'Output' parameter, which specifies a file name to which the (text only) status is written.
The contents of the file is dependent upon the contents of the [status] 'Contents' file, and so therefore you can add any status you like (either fixed text or any of the $variables). The status objects can direct the status information to the display (as before) and/or the Output file(s).
User-Specified Input Devices
Input devices which provide key or button press codes, which are not classified as keyboard or joysticks can now be supported by fruitbox. You can specify the name (or part of the name) of the device(s) using the '--input-device' command line argument(s) when configuring or testing the buttons using the '--configure-buttons' or '--test-buttons' options. (You can find out the name of your device(s) by running 'evtest' or 'cat /proc/bus/input/devices').
As usual, you can download fruitbox from GitHub here...
(see README.md for installation instructions)