ok, fix files for videos not just shaders!

This commit is contained in:
Tristan Rowley
2020-05-24 19:30:00 +00:00
parent f43a3c2528
commit 57e3e862cd

View File

@@ -91,6 +91,8 @@ class BrowserMenu(Menu):
files.sort()
for f in files:
if f[0]=='.':
continue
split_name = os.path.splitext(f)
if (split_name[1].lower() in ['.mp4', '.mkv', '.avi', '.mov']):
self.menu_list.append(dict(name='{}{}'.format(indent, f), slot='-'))