diff --git a/utils.go b/utils.go index 141a1c2..7986030 100644 --- a/utils.go +++ b/utils.go @@ -1,6 +1,7 @@ package logic import ( + "fmt" "sort" "strings" @@ -48,3 +49,11 @@ func Map2Table[K comparable](title string, m map[K]int) string { return table.String() } + +func PrintPriorityTables() { + fmt.Println("generated priority values:") + fmt.Print(Map2Table("language", PreferredLanguages)) + fmt.Print(Map2Table("subtitle", PreferredSubtitles)) + fmt.Print(Map2Table("resolution", PreferredResolutions)) + fmt.Println() +}