mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-27 00:59:28 +01:00
36 lines
612 B
TypeScript
36 lines
612 B
TypeScript
import { GetAlbumList2Type } from '@app/subsonic/params'
|
|
|
|
export interface Server {
|
|
id: string
|
|
address: string
|
|
username: string
|
|
token: string
|
|
salt: string
|
|
}
|
|
|
|
export interface FilterSettings {
|
|
type: GetAlbumList2Type
|
|
fromYear: number
|
|
toYear: number
|
|
genre: string
|
|
}
|
|
|
|
export interface AppSettings {
|
|
servers: Server[]
|
|
screens: {
|
|
home: {
|
|
lists: string[]
|
|
}
|
|
library: {
|
|
albums: FilterSettings
|
|
}
|
|
}
|
|
activeServer?: string
|
|
scrobble: boolean
|
|
estimateContentLength: boolean
|
|
maxBitrateWifi: number
|
|
maxBitrateMobile: number
|
|
minBuffer: number
|
|
maxBuffer: number
|
|
}
|