functions 💡
- class src.audio_validator.validator.AudioValidator(*args, **kwargs)
- AudioValidator.__init__(audio_type)
- Parameters
audio_type –
Django Audio Validator Supported This Audio Type:
aac
- audio/aacmidi
- audio/midimp3
- audio/mpegm4a
- audio/mp4ogg
- audio/oggflac
- audio/x-flacwav
- audio/x-wavamr
- audio/amraiff
- audio/x-aiff
You must enter the audio type as a string
- AudioValidator.__call__(value)
- Parameters
value – Here is the value of the same file that we receive and we want to perform the validation operation