diff --git a/constants.py b/constants.py index aedc134..00bbd9d 100644 --- a/constants.py +++ b/constants.py @@ -18,7 +18,7 @@ SOUNDS = [('NONE', 'None', '', 0)] EDIT_SUFFIXES = ['.xml', '.edl'] MOVIE_SUFFIXES = ['.mov', '.mp4'] -SOUND_SUFFIXES = ['.mp3', '.aaf', '.flac', '.wav'] +SOUND_SUFFIXES = ['.eac3', '.mka', '.ogg', '.mp3', '.oga', '.ac3', '.flac', '.aiff', '.wav', '.wma', '.aac', '.m4a', '.aif', '.mp2'] ASSET_ITEMS = [] diff --git a/operators/spreadsheet.py b/operators/spreadsheet.py index d50b940..27ed397 100644 --- a/operators/spreadsheet.py +++ b/operators/spreadsheet.py @@ -655,10 +655,18 @@ class VSETB_OT_export_spreadsheet(Operator): for col in worksheet.columns: letter = col[0].column_letter worksheet.column_dimensions[letter].auto_size = True + # Save the file workbook.save(str(export_path)) + # elif spreadsheet.format == 'xls': + # try: + # import xlwt + # except ModuleNotFoundError: + # self.report({'INFO'}, 'Installing openpyxl') + # openpyxl = install_module('xlwt') + elif spreadsheet.format == 'Clipboard': csv_buffer = StringIO()