Skip to content

Having Trouble Reading Unsupported Tag #408

Discussion options

You must be logged in to vote

Hello!

Tag doesn't retain format-specific keys, so the ItemKey created with "----:com.apple.iTunes:ARTISTS" for example will never return anything.

In the case of TagType::{Id3v2, VorbisComments, Ape}, we are able to convert the items to ItemKey::Unknown. So you can do tag.get_string(&ItemKey::Unknown(String::from("ARTISTS"))) for those formats and it will read and write properly.

Really, the best solution is for an ItemKey::Artists to be added, as I want to eventually phase out ItemKey::Unknown. I'll get that in for 0.21.0.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@david-mk-lawrence
Comment options

Answer selected by david-mk-lawrence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants