We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 533cd7d commit a201ab3Copy full SHA for a201ab3
src/ape/tag/mod.rs
@@ -33,6 +33,11 @@ macro_rules! impl_accessor {
33
}
34
35
fn [<set_ $name>](&mut self, value: String) {
36
+ if value.is_empty() {
37
+ self.[<remove_ $name>]();
38
+ return;
39
+ }
40
+
41
self.insert(ApeItem {
42
read_only: false,
43
key: String::from(crate::tag::item::first_key!($($key)|*)),
src/id3/v1/tag.rs
@@ -24,6 +24,11 @@ macro_rules! impl_accessor {
24
25
26
27
28
29
30
31
32
self.$name = Some(value)
0 commit comments