A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

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

authored by

Vencislav Atanasov and committed by
Solomon Peachy
dbeefebc 9e95b337

+3 -3
+1 -1
apps/main.c
··· 206 206 int fd = open(ROCKBOX_DIR"/playername.txt", O_CREAT|O_WRONLY|O_TRUNC, 0666); 207 207 if(fd >= 0) 208 208 { 209 - fdprintf(fd, "%s!", str(LANG_ROCKBOX_TITLE)); 209 + fdprintf(fd, "%s", MODEL_NAME); 210 210 close(fd); 211 211 } 212 212 }
+2 -2
manual/advanced_topics/main.tex
··· 40 40 41 41 Some themes show a customizable playername in the Whats Playing Screen. 42 42 Edit the first line of \fname{/.rockbox/playername.txt} to show your own message 43 - or leave an empty file to disable the feature, deleting the file will generate a new 44 - playername.txt file containing 'Rockbox!' next boot. 43 + or leave an empty file to disable the feature. Deleting the file will generate a new 44 + playername.txt file containing ``\playername'' on the next boot. 45 45 46 46 \subsection{\label{ref:OpenPlugins}Open Plugin Menu Items} 47 47