mirror of
https://github.com/Dangoware/dango-music-player.git
synced 2025-04-19 10:02:53 -05:00
fixed tag reading in to_tag()
This commit is contained in:
parent
b683c45ec7
commit
4b55c2eaa8
1 changed files with 2 additions and 2 deletions
|
@ -202,8 +202,8 @@ fn to_tag(string: String) -> Tag {
|
||||||
"album artist" => Tag::AlbumArtist,
|
"album artist" => Tag::AlbumArtist,
|
||||||
"genre" => Tag::Genre,
|
"genre" => Tag::Genre,
|
||||||
"comment" => Tag::Comment,
|
"comment" => Tag::Comment,
|
||||||
"track" => Tag::Track,
|
"track number" => Tag::Track,
|
||||||
"disc" => Tag::Disk,
|
"disc number" => Tag::Disk,
|
||||||
_ => Tag::Key(string),
|
_ => Tag::Key(string),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue