diff --git a/source/net/sourceforge/filebot/format/MediaBindingBean.java b/source/net/sourceforge/filebot/format/MediaBindingBean.java index 4f09d8d8..7b188efe 100644 --- a/source/net/sourceforge/filebot/format/MediaBindingBean.java +++ b/source/net/sourceforge/filebot/format/MediaBindingBean.java @@ -16,6 +16,7 @@ import static net.sourceforge.tuned.StringUtilities.*; import java.io.File; import java.io.IOException; +import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.List; import java.util.Locale; @@ -95,6 +96,16 @@ public class MediaBindingBean { } + @Define("es") + public List getEpisodeNumbers() { + List n = new ArrayList(); + for (Episode it : getEpisodes()) { + n.add(it.getEpisode()); + } + return n; + } + + @Define("sxe") public String getSxE() { return SeasonEpisode.formatSxE(getEpisode());