Fix {plex} for Music
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=4465
This commit is contained in:
parent
779e1a4844
commit
55aa87ffa1
|
@ -60,14 +60,14 @@ public enum NamingStandard {
|
||||||
|
|
||||||
public String getPath(AudioTrack a) {
|
public String getPath(AudioTrack a) {
|
||||||
// Music
|
// Music
|
||||||
String name = String.join(" - ", a.getArtist(), first(a.getTrackTitle(), a.getTitle()));
|
String name = first(a.getTrackTitle(), a.getTitle());
|
||||||
|
|
||||||
// prepend track number
|
// prepend track number
|
||||||
if (a.getTrack() != null) {
|
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) {
|
private static String path(String... name) {
|
||||||
|
|
Loading…
Reference in New Issue