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
1 changed files with 1 additions and 1 deletions

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