update audio extensions
parent
18f830157f
commit
884eefaf37
|
@ -18,7 +18,7 @@ SOUNDS = [('NONE', 'None', '', 0)]
|
||||||
|
|
||||||
EDIT_SUFFIXES = ['.xml', '.edl']
|
EDIT_SUFFIXES = ['.xml', '.edl']
|
||||||
MOVIE_SUFFIXES = ['.mov', '.mp4']
|
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 = []
|
ASSET_ITEMS = []
|
||||||
|
|
||||||
|
|
|
@ -655,10 +655,18 @@ class VSETB_OT_export_spreadsheet(Operator):
|
||||||
for col in worksheet.columns:
|
for col in worksheet.columns:
|
||||||
letter = col[0].column_letter
|
letter = col[0].column_letter
|
||||||
worksheet.column_dimensions[letter].auto_size = True
|
worksheet.column_dimensions[letter].auto_size = True
|
||||||
|
|
||||||
|
|
||||||
# Save the file
|
# Save the file
|
||||||
workbook.save(str(export_path))
|
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':
|
elif spreadsheet.format == 'Clipboard':
|
||||||
csv_buffer = StringIO()
|
csv_buffer = StringIO()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue