1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-21 23:38:50 -05:00

Add type property to SeriesInfo model which can be either "Anime" or "TV Series" to greatly simplify processing later on based on a standardized model and fields

This commit is contained in:
Reinhard Pointner 2019-06-09 15:19:18 +07:00
parent e2b23708df
commit 5d330c236f

View File

@ -100,7 +100,7 @@ public class AnidbClient extends AbstractEpisodeListProvider implements ArtworkP
}
// parse series info
SeriesInfo seriesInfo = new SeriesInfo(this, sortOrder, locale, anime.getId());
SeriesInfo seriesInfo = new SeriesInfo(this, sortOrder, locale, anime.getId(), SeriesInfo.TYPE_ANIME);
seriesInfo.setAliasNames(anime.getAliasNames());
// AniDB types: Movie, Music Video, Other, OVA, TV Series, TV Special, Web, unknown