mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -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.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
Block a user