logging improved
This commit is contained in:
parent
dc80a4a4fe
commit
0b53777f39
8
main.go
8
main.go
@ -57,9 +57,9 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println("language priorites:", PreferredLanguages)
|
fmt.Println("language priorites:", Map2Str(PreferredLanguages))
|
||||||
fmt.Println("subtitle priorites:", PreferredSubtitles)
|
fmt.Println("subtitle priorites:", Map2Str(PreferredSubtitles))
|
||||||
fmt.Println("resolution priorites:", PreferredResolutions)
|
fmt.Println("resolution priorites:", Map2Str(PreferredResolutions))
|
||||||
|
|
||||||
if len(AnimeStatus) == 0 {
|
if len(AnimeStatus) == 0 {
|
||||||
AnimeStatus = []anilist.MediaListStatus{
|
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))
|
fmt.Printf("\nanime: %s | episode: %d | torrents found: %d\n", animeEp.Anime, animeEp.Episode, len(torrentPriorities))
|
||||||
for _, torrentPriority := range torrentPriorities {
|
for _, torrentPriority := range torrentPriorities {
|
||||||
PrintTorrentPriority(torrentPriority)
|
PrintTorrentPriority(torrentPriority)
|
||||||
|
|
||||||
|
// TODO download anime episode with highest priority (first on in slice)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user