forked from zotan/webmusic
fix dotfiles
This commit is contained in:
parent
946172a7f8
commit
51dbdf2fbc
|
@ -34,9 +34,11 @@ namespace webmusic.Pages
|
|||
fullpath = root + path;
|
||||
displaypath = string.IsNullOrWhiteSpace(path) ? "/" : path;
|
||||
dirs = Directory.GetDirectories(fullpath).Select(Path.GetFileName).ToList();
|
||||
dirs.RemoveAll(p => p.StartsWith("."));
|
||||
dirs.Sort();
|
||||
files = Directory.GetFiles(fullpath).Select(Path.GetFileName).ToList();
|
||||
files.RemoveAll(p => p.EndsWith(".m3u"));
|
||||
files.RemoveAll(p => p.StartsWith("."));
|
||||
files.Sort(new AlphanumComparatorFast());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue