🐛 Reduce the noise in the calendar by displaying only finished anime

This commit is contained in:
Scott 2018-01-27 18:44:21 +01:00
parent 8e4bf457fd
commit abf3101dda

View File

@ -50,6 +50,10 @@ func Get(ctx *aero.Context) string {
// Add anime episodes to the days
for animeEpisodes := range arn.StreamAnimeEpisodes() {
if animeEpisodes.Anime().Status == "finished" {
continue
}
for _, episode := range animeEpisodes.Items {
if !validator.IsValidDate(episode.AiringDate.Start) {
continue