mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[Feature] Skin engine Themes grab text from a file %ft(file, line) WIP
allow the skin engine to read text files and return a particular line you then can use ss on that string to allow display of strings from the file (Playername comes to mind) able to be used as conditional %?ft(filename)<Found|Not Found> if (selected) line of file is empty the tag is treated as #COMMENT scroll timeouts now persist thru trackchange bugfix: %t(n)%?x<text|text> would ignore the specified timeout defaulting to 2 seconds playername.txt generated at boot if it doesn't exist contents: 'RockBox!' Change-Id: I961910e01be052ef902f77e6d92fc3e367ffe9d0
This commit is contained in:
parent
c754bc5870
commit
62b5dfd81d
32 changed files with 144 additions and 50 deletions
|
@ -61,7 +61,7 @@
|
|||
%s%al%?id<%id|%?d(1)<%d(1)|%(root%)>>
|
||||
%s%al%?it<%it|%fn>
|
||||
%s%al%?ia<%ia|%?iA<%iA|%?d(2)<%d(2)|%(root%)>>>
|
||||
%s%al%Sx(Next Track:)
|
||||
%s%t(300)%al%Sx(Next Track:);%s%al%t(1)%ft(.rockbox/playername.txt)
|
||||
%s%al%?It<%It|%Fn>
|
||||
#
|
||||
# Track Info - No Album Art
|
||||
|
@ -69,5 +69,5 @@
|
|||
%s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
|
||||
%s%ac%?it<%it|%fn>
|
||||
%s%ac%?ia<%ia|%?iA<%iA|%?d(2)<%d(2)|%(root%)>>>
|
||||
%s%ac%Sx(Next Track:)
|
||||
%s%t(300)%ac%Sx(Next Track:);%s%ac%t(1)%ft(.rockbox/playername.txt)
|
||||
%s%ac%?It<%It|%Fn>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue