diff options
| -rw-r--r-- | apps/tree.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index f8459ee..b7ad02a 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -563,6 +563,13 @@ void set_current_file(char *path) char *name; unsigned int i; + /* in ID3DB mode it is a bad idea to call this function */ + /* (only happens with `follow playlist') */ + if( *tc.dirfilter == SHOW_ID3DB ) + { + return; + } + /* separate directory from filename */ name = strrchr(path+1,'/'); if (name) |