mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-05 16:00:06 +01:00
ok, fix files for videos not just shaders!
This commit is contained in:
@@ -91,6 +91,8 @@ class BrowserMenu(Menu):
|
|||||||
|
|
||||||
files.sort()
|
files.sort()
|
||||||
for f in files:
|
for f in files:
|
||||||
|
if f[0]=='.':
|
||||||
|
continue
|
||||||
split_name = os.path.splitext(f)
|
split_name = os.path.splitext(f)
|
||||||
if (split_name[1].lower() in ['.mp4', '.mkv', '.avi', '.mov']):
|
if (split_name[1].lower() in ['.mp4', '.mkv', '.avi', '.mov']):
|
||||||
self.menu_list.append(dict(name='{}{}'.format(indent, f), slot='-'))
|
self.menu_list.append(dict(name='{}{}'.format(indent, f), slot='-'))
|
||||||
|
|||||||
Reference in New Issue
Block a user