Squeezebox Patches

This page features patches I wrote for the Squeezebox. I own a Squeezebox Touch, so everything works on that device. I cannot promise that it will work on other devices, because I cannot test it.

Reduce brightness on screen saver patch
The Squeezebox Touch has two brightness settings: manual and automatic. The manual setting always has the same brightness level whether the Touch is being used, playing, stopped, or off. The automatic settings sets the brightness based on the environment light conditions. It doesn’t really work if you try to control the player in a dark room, and the minimal brightness level is set to a low level, because that the screen would be at the lowest level, and you can’t see a thing. This patch to change this behaviour. It changes the implementation of both automatic and manual setting.

For the automatic setting, it introduces four new brightness settings:

  • Active maximum
  • Active minimum
  • Screen saver maximum
  • Screen saver minimum

When the system is active (you touch the screen, or use the remote control) the brightness will remain between the active minimum and maximum. If a screen saver is on, the brightness will remain between the screen saver minimum and maximum. There is an option to always use the active setting when the Squeezebox is playing.

For the manual setting, you can set a manual brightness and a minimal brightness. Manual brightness is the brightness when the system is active, minimum brightness is the brightness when the screen saver is on. There are options to control when the screen should reduce its brightness to the minimum setting: when playing, when stopped, and/or when off.

Please note that the Now Playing screen saver is not really a screen saver, so the brightness cannot be reduced when you use this screen saver.

Devices: Touch (tested), Radio (in beta; reported to work)
SBS version: 7.5 – 7.7
Version: 0.4 (29 February 2012)

This patch is part of the official 3rd party repository for Squeezebox. You do not need to add any repositories, just enable the 3rd party repositories on the Squeezebox server web page, under Settings > Plugins.

You can also add this repository explicitly, to install newer version, not yet published to the 3rd party repository from Squeezebox. On the Squeezebox server web page, go to Settings > Plugins, and add the URL to Additional Repositories:

http://server.vijge.net/static/squeezebox/repo.xml

or for the beta repository (see bottom for more information):

http://server.vijge.net/static/squeezebox/repo-beta.xml

To add the patch, you must first install the patch installer applet. This can be one the Squeezebox by going to Settings > Advanced > Applet Installer. De-select Only recommended applets and install the Patch Installer applet. Now the Squeezebox will restart. Go to Settings > Advanced > Patch Installer and select the patch you want to install. After applying the patch, the Squeezebox will restart once more.

Beta repository
The beta version of the repository contains development versions. This includes versions for devices that I do not own, and therefore cannot be tested by me. If a lot of users report it works on others devices, I will move it to the regular repository.

Source code & development
The source code for this patch can be found at GitHub. This includes a shell script (Linux) to download the latest SVN version of the Squeezebox server software and generate a patch for this version.

One thought on “Squeezebox Patches

  1. Thanks for the nice patch, exactly what I needed for my Touch! The auto brightness was driving me crazy. However the Applet Installer approach doesn’t work on 7.7 as the patch is only listed for 7.5 – 7.6 even though it does apply cleanly (albeit with some line offsets). I also noticed that the “when off” setting was not working, the “when stopped” setting was being used instead in both “stopped” and “off” states and “when off” had no effect.

    I’d be happy to send you my updated patch based on 7.7 and with the “when off” issue fixed. Email me if interested.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>