def add_media_files(this_call_is_retry=False): """ User selects a media file to added to current bin. """ # User neds to select thumbnail folder when promted to complete action if editorpersistance.prefs.thumbnail_folder == None: if this_call_is_retry == True: return dialogs.select_thumbnail_dir(select_thumbnail_dir_callback, gui.editor_window.window, os.path.expanduser("~"), True) return dialogs.media_file_dialog(_("Open.."), _open_files_dialog_cb, True)
def _set_relink_path(media_asset): file_name = os.path.basename(media_asset.orig_path) dialogs.media_file_dialog(_("Select Media File To Relink To") + " " + file_name, _select_relink_path_dialog_callback, False, media_asset, linker_window)
def _set_relink_path(media_asset): file_name = os.path.basename(media_asset.orig_path) dialogs.media_file_dialog( _("Select Media File To Relink To") + " " + file_name, _select_relink_path_dialog_callback, False, media_asset, linker_window)
def _set_relink_path(media_asset): file_name = os.path.basename(media_asset.orig_path) # End of Default file for missing files to relink dialogs.media_file_dialog(_("Select Media File To Relink To") + " " + file_name, _select_relink_path_dialog_callback, False, media_asset, linker_window, last_media_dir)