Skip to content
Discussion options

You must be logged in to vote

Try:

media_ext = ['.3gp', '.aac', '.ac3', '.aif', '.aifc', '.aiff', '.amr', '.ape', '.asf', '.asx', '.au', '.avi', '.bdmv', '.bwf', '.caf', '.dat', '.dts', '.dtshd', '.eac3', '.eb3', '.ec3', '.f4v', '.flac', '.fli', '.flv', '.l16', '.m1a', '.m2a', '.m2ts', '.m4a', '.m4v', '.mid', '.mka', '.mkv', '.mlp', '.mod', '.mov', '.mp1', '.mp2', '.mp3', '.mp4', '.mpa', '.mpc', '.mpeg', '.mpg', '.ofr', '.oga', '.ogg', '.opus', '.opus', '.pcm', '.qt', '.ra', '.ram', '.rm', '.snd', '.spx', '.stm', '.tak', '.thd', '.ts', '.tta', '.vob', '.voc', '.vqf', '.wav', '.wave', '.webm', '.wma', '.wmv', '.wv']
folder_path = '/Users/mcarl/Desktop/whisper_files'

if os.path.isdir(folder_path):
    for root, dirs, f…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@rivkahcarl
Comment options

@glangford
Comment options

Comment options

You must be logged in to vote
2 replies
@rivkahcarl
Comment options

@Purfview
Comment options

Answer selected by rivkahcarl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants