Skip to content

Handle files with multiple periods in the filename. #4

Description

@bdgregg

Overview:
Some files will have a filename with more than one period. E.g. filename.mp3.vtt
We want treat this as a .vtt file and not a .mp3.vtt file so ensure we're only working with the last portion after the last period.

This was identified when processing an audio batch. Once we renamed the file from filename.mp3.vtt to just filename.vtt the error was no longer reported in the log file.

Error:
WARNING Adding to DataFrame: Failed for PID: CLP-OHMP-014-Gardner-CLP-OHMP-014-Gardner-01_a.mp3 - add_row_to_datafram e - Failed to add dataframe row: add_row_to_dataframe - Key column 'id' not found in row_data

Workaround:
In files with multiple extensions remove all extensions except the real extension.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions