Closed tbass134 closed 4 years ago
When using AudioList.from_df, it seems that the item_path is an instance of a string, rather than a PosixPath, when remove_silence is enabled.
AudioList.from_df
remove_silence
This error does not occur when creating a AudioList using AudioList.from_folder whenremove_silence` is enabled
AudioList.from_folder when
This fix adds a instancetype check to covert the item that is passed in to be a PosixPath
When using
AudioList.from_df
, it seems that the item_path is an instance of a string, rather than a PosixPath, whenremove_silence
is enabled.This error does not occur when creating a AudioList using
AudioList.from_folder when
remove_silence` is enabledThis fix adds a instancetype check to covert the item that is passed in to be a PosixPath