diff --git a/main.go b/main.go index 7f4ae69..992ad0c 100644 --- a/main.go +++ b/main.go @@ -57,9 +57,9 @@ var ( ) func main() { - fmt.Println("language priorites:", PreferredLanguages) - fmt.Println("subtitle priorites:", PreferredSubtitles) - fmt.Println("resolution priorites:", PreferredResolutions) + fmt.Println("language priorites:", Map2Str(PreferredLanguages)) + fmt.Println("subtitle priorites:", Map2Str(PreferredSubtitles)) + fmt.Println("resolution priorites:", Map2Str(PreferredResolutions)) if len(AnimeStatus) == 0 { AnimeStatus = []anilist.MediaListStatus{ @@ -104,6 +104,8 @@ func checkTorrents() { fmt.Printf("\nanime: %s | episode: %d | torrents found: %d\n", animeEp.Anime, animeEp.Episode, len(torrentPriorities)) for _, torrentPriority := range torrentPriorities { PrintTorrentPriority(torrentPriority) + + // TODO download anime episode with highest priority (first on in slice) } }