mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-06 15:10:49 +08:00
38 lines
609 B
Go
38 lines
609 B
Go
package db
|
|
|
|
const (
|
|
SettingTmdbApiKey = "tmdb_api_key"
|
|
SettingLanguage = "language"
|
|
SettingJacketUrl = "jacket_url"
|
|
SettingJacketApiKey = "jacket_api_key"
|
|
SettingDownloadDir = "download_dir"
|
|
)
|
|
|
|
const (
|
|
IndexerTorznabImpl = "torznab"
|
|
)
|
|
|
|
type ResolutionType string
|
|
|
|
const (
|
|
Any ResolutionType = "any"
|
|
R720p ResolutionType = "720p"
|
|
R1080p ResolutionType = "1080p"
|
|
R4k ResolutionType = "4k"
|
|
)
|
|
|
|
func (r ResolutionType) String() string {
|
|
return string(r)
|
|
}
|
|
|
|
const (
|
|
ImplLocal = "local"
|
|
ImplWebdav = "webdav"
|
|
)
|
|
|
|
func StorageImplementations() []string {
|
|
return []string{
|
|
ImplLocal,
|
|
ImplWebdav,
|
|
}
|
|
} |