downloader/torrent_sort.go

10 lines
254 B
Go
Raw Normal View History

2022-08-15 15:55:27 +02:00
package main
2022-08-15 16:45:52 +02:00
import "git.milar.in/nyaanime/model"
2022-08-15 15:55:27 +02:00
func SortTorrentsByPreferredProperties(torrents map[model.AnimeEpisode][]*model.ParsedTorrent) {
// TODO
// sort torrent slices by preferred properties
// store prefered properties in db somewhere
}