You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To ingest audio data, the catalog needs to have the AudioStore class that would validate the data and save it to the disk.
Solution Description
After extracting the common functionality for storing any media type into MediaStore class, we can add other types of media by creating a child class that implements add_item with cleaning and validation that is specific to audio type. This means that we will need to list columns for all the metadata that we will store for audios.
Alternatives
We could add a separate AudioStore class that is not a child of MediaStore, but then we would lose the ability to reuse the common code, and would probably have a lot of code duplication.
Problem Description
To ingest audio data, the catalog needs to have the
AudioStore
class that would validate the data and save it to the disk.Solution Description
After extracting the common functionality for storing any media type into
MediaStore
class, we can add other types of media by creating a child class that implementsadd_item
with cleaning and validation that is specific to audio type. This means that we will need to list columns for all the metadata that we will store for audios.Alternatives
We could add a separate
AudioStore
class that is not a child ofMediaStore
, but then we would lose the ability to reuse the common code, and would probably have a lot of code duplication.Additional context
This is a part of the meta issue on adding audio
The text was updated successfully, but these errors were encountered: