* added {es} binding => list of episode numbers

This commit is contained in:
Reinhard Pointner 2012-12-04 09:24:15 +00:00
parent d94c85ab00
commit 58e59a8639
1 changed files with 11 additions and 0 deletions

View File

@ -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<Integer> getEpisodeNumbers() {
List<Integer> n = new ArrayList<Integer>();
for (Episode it : getEpisodes()) {
n.add(it.getEpisode());
}
return n;
}
@Define("sxe")
public String getSxE() {
return SeasonEpisode.formatSxE(getEpisode());