mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-10 21:38:04 -05:00
* 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.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.LinkedHashSet;
|
import java.util.LinkedHashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Locale;
|
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")
|
@Define("sxe")
|
||||||
public String getSxE() {
|
public String getSxE() {
|
||||||
return SeasonEpisode.formatSxE(getEpisode());
|
return SeasonEpisode.formatSxE(getEpisode());
|
||||||
|
Loading…
Reference in New Issue
Block a user