Update src/index/metadata.rs
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
parent
db97dbea46
commit
14a6466c2d
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ fn read_opus(path: &Path) -> Result<SongTags> {
|
||||||
};
|
};
|
||||||
|
|
||||||
for (key, value) in headers.comments.user_comments {
|
for (key, value) in headers.comments.user_comments {
|
||||||
if "TITLE".eq_ignore_ascii_case(key.as_str()) {
|
if "TITLE".eq_ignore_ascii_case(&key) {
|
||||||
tags.title = Some(value);
|
tags.title = Some(value);
|
||||||
} else if "ALBUM".eq_ignore_ascii_case(key.as_str()) {
|
} else if "ALBUM".eq_ignore_ascii_case(key.as_str()) {
|
||||||
tags.album = Some(value);
|
tags.album = Some(value);
|
||||||
|
|
Loading…
Add table
Reference in a new issue