Added e00 convenience binding
This commit is contained in:
parent
0fb7f80a79
commit
618832f092
|
@ -161,7 +161,10 @@ public class MediaBindingBean {
|
||||||
|
|
||||||
@Define("e00")
|
@Define("e00")
|
||||||
public String getE00() {
|
public String getE00() {
|
||||||
return getEpisodeNumbers().stream().map(i -> String.format("%02d", i)).collect(joining("-"));
|
if (isRegularEpisode())
|
||||||
|
return getEpisodeNumbers().stream().map(i -> String.format("%02d", i)).collect(joining("-"));
|
||||||
|
else
|
||||||
|
return "Special " + join(getEpisodeNumbers(), "-");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Define("sxe")
|
@Define("sxe")
|
||||||
|
|
Loading…
Reference in New Issue