mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-12 13:42:34 +00:00
Version 0.1.2
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
This commit is contained in:
parent
9dccd733a2
commit
ce1f873fee
3 changed files with 15 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "lofty"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>", "Tianyi <ShiTianyi2001@outlook.com>"]
|
||||
edition = "2018"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
@ -9,8 +9,6 @@ repository = "https://github.com/Serial-ATA/lofty-rs"
|
|||
keywords = ["tags", "audio", "metadata"]
|
||||
categories = ["accessibility", "multimedia::audio"]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
# Ape
|
||||
ape = {version = "0.3.0", optional = true}
|
||||
|
|
|
@ -131,13 +131,15 @@ impl AudioTagEdit for ApeTag {
|
|||
}
|
||||
|
||||
fn album_cover(&self) -> Option<Picture> {
|
||||
None // TODO
|
||||
// TODO
|
||||
None
|
||||
}
|
||||
fn set_album_cover(&mut self, _cover: Picture) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
fn remove_album_cover(&mut self) {
|
||||
// TODO
|
||||
self.remove_key("Cover Art (Front)")
|
||||
}
|
||||
|
||||
// Track number and total tracks are stored together as num/total?
|
||||
|
|
20
src/lib.rs
20
src/lib.rs
|
@ -12,16 +12,16 @@
|
|||
//!
|
||||
//! # Supported Formats
|
||||
//!
|
||||
//!| File Format | Extensions | Read | Write | Duration | Metadata Format(s) |
|
||||
//!|-------------|-------------------------------------------|------|-------|----------|----------------------|
|
||||
//!| Ape | `ape` |**X** |**X** | | `APEv2` |
|
||||
//!| AIFF | `aiff`, `aif` |**X** |**X** | | `ID3v2` |
|
||||
//!| FLAC | `flac` |**X** |**X** | | `Vorbis Comments` |
|
||||
//!| MP3 | `mp3` |**X** |**X** |**X** | `ID3v2` |
|
||||
//!| MP4 | `mp4`, `m4a`, `m4b`, `m4p`, `m4v`, `isom` |**X** |**X** | | `Vorbis Comments` |
|
||||
//!| Opus | `opus` |**X** |**X** | | `Vorbis Comments` |
|
||||
//!| Ogg | `ogg`, `oga` |**X** |**X** | | `Vorbis Comments` |
|
||||
//!| WAV | `wav`, `wave` |**X** |**X** | | `RIFF INFO`, `ID3v2` |
|
||||
//! | File Format | Extensions | Read | Write | Duration | Metadata Format(s) |
|
||||
//! |-------------|-------------------------------------------|------|-------|----------|----------------------|
|
||||
//! | Ape | `ape` |**X** |**X** | | `APEv2` |
|
||||
//! | AIFF | `aiff`, `aif` |**X** |**X** | | `ID3v2` |
|
||||
//! | FLAC | `flac` |**X** |**X** | | `Vorbis Comments` |
|
||||
//! | MP3 | `mp3` |**X** |**X** |**X** | `ID3v2` |
|
||||
//! | MP4 | `mp4`, `m4a`, `m4b`, `m4p`, `m4v`, `isom` |**X** |**X** | | `Vorbis Comments` |
|
||||
//! | Opus | `opus` |**X** |**X** | | `Vorbis Comments` |
|
||||
//! | Ogg | `ogg`, `oga` |**X** |**X** | | `Vorbis Comments` |
|
||||
//! | WAV | `wav`, `wave` |**X** |**X** | | `RIFF INFO`, `ID3v2` |
|
||||
//!
|
||||
//! # Examples
|
||||
//!
|
||||
|
|
Loading…
Reference in a new issue