fixed a few small bugs and only read analog inputs if there is a change

This commit is contained in:
langolierz
2018-09-24 21:25:00 +00:00
parent f1e92a01db
commit 0652c55613
3 changed files with 9 additions and 8 deletions

View File

@@ -113,7 +113,7 @@ class BrowserMenu(Menu):
for f in files:
split_name = os.path.splitext(f)
if (split_name[1] 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='-'))
def _is_file_in_bank_data(self, file_name):