From c7a80c7fec0a47dd65b0184bb00af0da7e495b3c Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 30 Jul 2016 18:12:08 +0800 Subject: [PATCH] Fix issues with {plex} special formatting --- source/net/filebot/media/NamingStandard.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/media/NamingStandard.java b/source/net/filebot/media/NamingStandard.java index cf7cf541..e423cf9c 100644 --- a/source/net/filebot/media/NamingStandard.java +++ b/source/net/filebot/media/NamingStandard.java @@ -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); }