Look up season numbers via TheTVDB for AniDB episode data

This commit is contained in:
Reinhard Pointner 2016-08-22 09:02:43 +08:00
parent 6f675d42cb
commit 90e1846dc5
1 changed files with 5 additions and 0 deletions

View File

@ -141,6 +141,11 @@ public class MediaBindingBean {
@Define("s")
public Integer getSeasonNumber() {
// look up season numbers via TheTVDB for AniDB episode data
if (isAnime(getEpisode())) {
return getSeasonEpisode().getSeason();
}
return getEpisode().getSeason();
}