1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 00:15:02 -04:00

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

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);
}