Use original file type for display formatting

The bitrate column uses the original file, so the file type column
should do the same for consistency.

Fixes #131

Signed-off-by: David Russell <david.russell.scotland@gmail.com>
master
David Russell 8 years ago
parent 7191d804ec
commit 7d9aa70555
  1. 2
      libresonic-main/src/main/java/org/libresonic/player/ajax/PlayQueueService.java

@ -697,7 +697,7 @@ public class PlayQueueService {
} }
private String formatFormat(Player player, MediaFile file) { private String formatFormat(Player player, MediaFile file) {
return transcodingService.getSuffix(player, file, null); return file.getFormat();
} }
private String formatContentType(String format) { private String formatContentType(String format) {

Loading…
Cancel
Save