Commit 86f0564f authored by Donald Haase's avatar Donald Haase
Browse files

Make it easier to navigate in PC by filtering out . prefixed stuff

parent 8e42797d
......@@ -78,7 +78,7 @@ static void load_song_list(/*void * p*/) {
char *ext;
ext = (char *)(strchr(de->name, '.')+1);
printf("read entry '%s'\n", de->name);
if (strcmp(de->name, ".") && strcmp(de->name, "..")) {
if (de->name[0] != '.') {
mutex_lock(mut);
/*if( (!stricmp(ext,"mpg"))||(!stricmp(ext,"mpeg"))||(!stricmp(ext,"pss"))
||(!stricmp(ext,"sfd"))||(!stricmp(ext,"m2v"))||(!stricmp(ext,"m1v"))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment