mirror of
https://github.com/mitb-archive/filebot
synced 2024-08-13 17:03:45 -04:00
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) {
|
||||
// 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user