From 55aa87ffa1ac00ad28d2c039273edd2b3efd4572 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 6 Dec 2016 00:12:52 +0900 Subject: [PATCH] Fix {plex} for Music @see https://www.filebot.net/forums/viewtopic.php?f=6&t=4465 --- source/net/filebot/media/NamingStandard.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/net/filebot/media/NamingStandard.java b/source/net/filebot/media/NamingStandard.java index c9ede3ac..6cf3f958 100644 --- a/source/net/filebot/media/NamingStandard.java +++ b/source/net/filebot/media/NamingStandard.java @@ -60,14 +60,14 @@ public enum NamingStandard { public String getPath(AudioTrack a) { // Music - String name = String.join(" - ", a.getArtist(), first(a.getTrackTitle(), a.getTitle())); + String name = first(a.getTrackTitle(), a.getTitle()); // prepend track number if (a.getTrack() != null) { - name = String.format("%02d. %s", a.getTrack(), name); + name = String.format("%02d - %s", a.getTrack(), name); } - return path(getMusicFolder(), first(a.getAlbumArtist(), a.getArtist()), a.getAlbum(), name); + return path(getMusicFolder(), a.getArtist(), a.getAlbum(), name); } private static String path(String... name) {