mherger wrote: 
> > Great, thanks Michael.  I don't have a github respository, so I'm
> > attaching the files below.  They should both be named 'strings.txt'
> (as
> > you're well aware), but I've prefixed them so that I can attach them
> > both here.
> 
> I'm a bit confused about the piCorePlayer one: would that _replace_ the 
> existing strings for all cases, or can it live somehow alongside the 
> default strings for that applet?
> 
> -- 
> 
> Michael

The brightness controls are implemented within the piCorePlayer applet. 
For those controls the applet checks whether the official 7" display is
installed, and gives an error message if not.  My changes introduced an
'else' condition, which checks whether the file 'lcd-brightness.sh'
exists in /home/tc/.  If it doesn't you still get the same error
message, but if it does then it branches to use a different set of
string variables; all the ones ending in _GENERIC are my new strings.

So no, you can change those _GENERIC strings without affecting what a
user with the official 7" display will see.

Of course, to test it you need to install the skin, the piCorePlayer
applet, and create a file called /home/tc/lcd-brightness.sh .  That file
can be empty, and your brightness control will just not work, but it
must be there in order for the brightness controls to display.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to