Skip to content

Conversation

@giacomozama
Copy link

Whenever the uses saves changes in the Tag Editor, AbsTagEditorActivity calls Tag.setField(Artwork). After that, if Artwork.isLinked() returns false, the FlacTag implementation of Tag causes Artwork.setImageFromData() to be called while creating the field, which throws an UnsupportedOperationException for AndroidArtwok. This change introduces a workaround by creating the field manually and using Tag.setField(TagField) whenever we have to deal with non-linked artworks and FlacTags.

If left the isLinked() check there, even though I'm not sure it's necessary as Music-Player might only create non-linked artworks.

…oTagger that occurs while saving non-linked artworks of flac songs, causing the Tag Editor to crash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant