From 7d9aa7055565d8c61bb13b9d487d9d85553fa3f4 Mon Sep 17 00:00:00 2001 From: David Russell Date: Fri, 30 Dec 2016 22:16:43 +0000 Subject: [PATCH] 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 --- .../main/java/org/libresonic/player/ajax/PlayQueueService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libresonic-main/src/main/java/org/libresonic/player/ajax/PlayQueueService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/PlayQueueService.java index bf8ff160..2076870c 100644 --- a/libresonic-main/src/main/java/org/libresonic/player/ajax/PlayQueueService.java +++ b/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) { - return transcodingService.getSuffix(player, file, null); + return file.getFormat(); } private String formatContentType(String format) {