* added {es} binding => list of episode numbers
This commit is contained in:
parent
d94c85ab00
commit
58e59a8639
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue