Revert "Fix #658 content type for full size cover arts"

This reverts commit 18b16eb859.
This commit is contained in:
Andrew DeMaria
2017-12-20 17:09:51 -07:00
parent 18b16eb859
commit 11ec30cd9f
@@ -217,7 +217,7 @@ public class CoverArtController implements LastModified {
private void sendUnscaled(CoverArtRequest coverArtRequest, HttpServletResponse response) throws IOException {
File file = coverArtRequest.getCoverArt();
if (jaudiotaggerParser.isApplicable(file)) {
if (!jaudiotaggerParser.isApplicable(file)) {
response.setContentType(StringUtil.getMimeType(FilenameUtils.getExtension(file.getName())));
}
InputStream in = null;