Add aif extension

This commit is contained in:
Serial 2021-04-22 13:27:50 -04:00
parent 186d540d00
commit afbdd35493
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ in order to parse metadata in different file formats.
| File Format | Extensions | Read | Write | Metadata Format(s) |
|-------------|-------------------------------------------|------|-------|----------------------|
| Ape | `ape` |**X** |**X** | `APEv2` |
| AIFF | `aiff` |**X** |**X** | `ID3v2` |
| AIFF | `aiff`, `aif` |**X** |**X** | `ID3v2` |
| FLAC | `flac` |**X** |**X** | `Vorbis Comments` |
| MP3 | `mp3` |**X** |**X** | `ID3v2` |
| MP4 | `mp4`, `m4a`, `m4b`, `m4p`, `m4v`, `isom` |**X** |**X** | `Vorbis Comments` |

View file

@ -16,7 +16,7 @@
//! | File Format | Extensions | Read | Write | Metadata Format(s) |
//! |-------------|-------------------------------------------|------|-------|----------------------|
//! | Ape | `ape` |**X** |**X** | `APEv2` |
//! | AIFF | `aiff` |**X** |**X** | `ID3v2` |
//! | AIFF | `aiff`, `aif` |**X** |**X** | `ID3v2` |
//! | FLAC | `flac` |**X** |**X** | `Vorbis Comments` |
//! | MP3 | `mp3` |**X** |**X** | `ID3v2` |
//! | MP4 | `mp4`, `m4a`, `m4b`, `m4p`, `m4v`, `isom` |**X** |**X** | `Vorbis Comments` |

View file

@ -146,7 +146,7 @@ impl TagType {
#[cfg(feature = "ape")]
"ape" => Ok(Self::Ape),
#[cfg(feature = "id3")]
"aiff" => Ok(Self::Id3v2(ID3Underlying::Form)),
"aiff" | "aif" => Ok(Self::Id3v2(ID3Underlying::Form)),
#[cfg(feature = "id3")]
"mp3" => Ok(Self::Id3v2(ID3Underlying::Default)),
#[cfg(all(feature = "riff", feature = "id3"))]