Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "Splash modified playername.txt on device startup"

This reverts commit 9d92d161d8535a41eff7cbb42f2cc3e131a38393.

Reason for revert: going to end up changing this might as well just revert

Change-Id: I914f61a5e79f80ff1bf40c06253c85dba25cc305

-12
-12
apps/main.c
··· 201 201 202 202 #if !defined(BOOTLOADER) 203 203 allocate_playback_log(); 204 - static char playername[64]; 205 204 if (!file_exists(ROCKBOX_DIR"/playername.txt")) 206 205 { 207 206 int fd = open(ROCKBOX_DIR"/playername.txt", O_CREAT|O_WRONLY|O_TRUNC, 0666); ··· 209 208 { 210 209 fdprintf(fd, "%s", MODEL_NAME); 211 210 close(fd); 212 - } 213 - } 214 - else 215 - { 216 - int fd = open(ROCKBOX_DIR"/playername.txt", O_RDONLY); 217 - if(fd >= 0) 218 - { 219 - read_line(fd, playername, sizeof(playername)); 220 - close(fd); 221 - if (strcmp(playername, MODEL_NAME) != 0) 222 - splashf(HZ * 2, "%s", playername); 223 211 } 224 212 } 225 213 #endif