Merge remote-tracking branch 'origin/pr/1092'

master
Andrew DeMaria 5 years ago
commit 90712d2940
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 2
      airsonic-main/src/main/java/org/airsonic/player/controller/DownloadController.java

@ -235,7 +235,7 @@ public class DownloadController implements LastModified {
for (MediaFile mediaFile : filesToDownload) {
zip(out, mediaFile.getParentFile(), mediaFile.getFile(), status, range);
if (coverArtFile != null && coverArtFile.exists()) {
if (mediaFile.getFile().getCanonicalPath() == coverArtFile.getCanonicalPath()) {
if (mediaFile.getFile().getCanonicalPath().equals(coverArtFile.getCanonicalPath())) {
cover_embedded = true;
}
}

Loading…
Cancel
Save