summaryrefslogtreecommitdiffstats
path: root/apps/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index ba98648c2e..7b1b91e123 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -1391,6 +1391,7 @@ static int get_next_dir(char *dir, bool is_forward, bool recursion)
char buffer[MAX_PATH];
int folder_count = 0,i;
srand(current_tick);
+ *(tc->dirfilter) = SHOW_MUSIC;
if (fd >= 0)
{
read(fd,&folder_count,sizeof(int));
@@ -1404,6 +1405,8 @@ static int get_next_dir(char *dir, bool is_forward, bool recursion)
}
strcpy(dir,buffer);
close(fd);
+ *(tc->dirfilter) = dirfilter;
+ reload_directory();
return 0;
}
}