14 lines
486 B
Go
14 lines
486 B
Go
|
package logic
|
||
|
|
||
|
import (
|
||
|
"git.milar.in/milarin/envvars/v2"
|
||
|
"git.milar.in/nyaanime/model"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
// preferred torrent properties
|
||
|
PreferredLanguages = ParsePreferredStringProps(envvars.StringSlice("PREFERRED_LANGUAGES", "|", []string{}))
|
||
|
PreferredSubtitles = ParsePreferredStringProps(envvars.StringSlice("PREFERRED_SUBTITLES", "|", []string{}))
|
||
|
PreferredResolutions = ParsePreferredProps(envvars.StringSlice("PREFERRED_RESOLUTIONS", "|", []string{}), model.ParseResolution)
|
||
|
)
|