mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
Change playername.txt default value
Replaces the "Rockbox!" string in playername.txt with the player's model name, in case the file does not exist at boot. Change-Id: I458b6b89d0d998d8cf889d01122b01cee42b21c5
This commit is contained in:
parent
9e95b337cc
commit
dbeefebcad
2 changed files with 3 additions and 3 deletions
|
@ -206,7 +206,7 @@ int main(void)
|
|||
int fd = open(ROCKBOX_DIR"/playername.txt", O_CREAT|O_WRONLY|O_TRUNC, 0666);
|
||||
if(fd >= 0)
|
||||
{
|
||||
fdprintf(fd, "%s!", str(LANG_ROCKBOX_TITLE));
|
||||
fdprintf(fd, "%s", MODEL_NAME);
|
||||
close(fd);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,8 +40,8 @@ It is not possible to change this setting via the settings menu.
|
|||
|
||||
Some themes show a customizable playername in the Whats Playing Screen.
|
||||
Edit the first line of \fname{/.rockbox/playername.txt} to show your own message
|
||||
or leave an empty file to disable the feature, deleting the file will generate a new
|
||||
playername.txt file containing 'Rockbox!' next boot.
|
||||
or leave an empty file to disable the feature. Deleting the file will generate a new
|
||||
playername.txt file containing ``\playername'' on the next boot.
|
||||
|
||||
\subsection{\label{ref:OpenPlugins}Open Plugin Menu Items}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue