Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite handling of images extensions and mimetype #2255

Merged
merged 5 commits into from
Nov 8, 2016
Merged

Conversation

nathdwek
Copy link
Member

@nathdwek nathdwek commented Nov 7, 2016

The IdentityUnlessDict part is probably a bit overkill for this fix, but I like to play around with collections these days. Tell me what you think about it.

When we'll be able to merge #2251 (Hopefully), DefaultList would also end up in beets.util.collections.

Many thanks to @tweitzel for noticing this inconsistency.

@sampsyo
Copy link
Member

sampsyo commented Nov 7, 2016

Awesome! Thank you for the fast fix. This looks basically ready to merge, and I don't mind having the new utility class. A couple of small suggestions:

  • Please add a short changelog entry.
  • What do you think of the name IdentityFallbackDict? Seems ever so slightly more logical to me.

nathdwek pushed a commit that referenced this pull request Nov 8, 2016
@sampsyo
Copy link
Member

sampsyo commented Nov 8, 2016

Looks great! I say merge whenever you like.

@nathdwek
Copy link
Member Author

nathdwek commented Nov 8, 2016

I added a test and rebased. Will merge as soon as this passes.

@nathdwek nathdwek merged commit ddbad58 into master Nov 8, 2016
@nathdwek nathdwek deleted the fix-2254-1545 branch November 10, 2016 16:16
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.

fetchart uses .jpg, extractart uses .jpeg
2 participants