1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 00:15:02 -04:00

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

View File

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