logging improved
This commit is contained in:
parent
dc80a4a4fe
commit
0b53777f39
8
main.go
8
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user