Fix issues with {plex} special formatting

This commit is contained in:
Reinhard Pointner 2016-07-30 18:12:08 +08:00
parent 7d50f2fac4
commit c7a80c7fec
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public enum NamingStandard {
// TV Series
String episode = String.join(" - ", e.getSeriesName(), EpisodeFormat.SeasonEpisode.formatS00E00(e), episodeTitle);
String season = e.getSeason() == null ? e.getSpecial() == null ? null : getSpecialFolder(e.getSeason()) : getSeasonFolder(e.getSeason());
String season = e.getSpecial() != null ? getSpecialFolder(e.getSeason()) : e.getSeason() != null ? getSeasonFolder(e.getSeason()) : null;
return path(getSeriesFolder(), e.getSeriesName(), season, episode);
}