types

package
v1.0.119 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADBConfig added in v1.0.110

type ADBConfig struct {
	Path           string                        `yaml:"path"`
	ConnectionType string                        `yaml:"connection_type"`
	Serial         string                        `yaml:"serial"`
	ServerIP       string                        `yaml:"server_ip"`
	ServerPort     string                        `yaml:"server_port"`
	TimeoutSeconds int                           `yaml:"timeout_seconds"`
	DeviceType     string                        `yaml:"device_type"`
	APKS           map[string]map[string]APKInfo `yaml:"apks"`
}

type APKInfo added in v1.0.102

type APKInfo struct {
	Package    string                      `yaml:"package"`
	Activities map[string]string           `yaml:"activities"`
	Pixels     map[string]map[string]Pixel `yaml:"pixels"`
}

type ConfigFile

type ConfigFile struct {
	ServerName                     string                         `yaml:"server_name"`
	ServerBaseUrl                  string                         `yaml:"server_base_url"`
	ServerLiveUrl                  string                         `yaml:"server_live_url"`
	ServerPrivateUrl               string                         `yaml:"server_private_url"`
	ServerPublicUrl                string                         `yaml:"server_public_url"`
	ServerPort                     string                         `yaml:"server_port"`
	ServerAPIKey                   string                         `yaml:"server_api_key"`
	ServerLoginUrlPrefix           string                         `yaml:"server_login_url_prefix"`
	ServerCookieName               string                         `yaml:"server_cookie_name"`
	ServerCookieSecret             string                         `yaml:"server_cookie_secret"`
	ServerCookieAdminSecretMessage string                         `yaml:"server_cookie_admin_secret_message"`
	ServerCookieSecretMessage      string                         `yaml:"server_cookie_secret_message"`
	AdminUsername                  string                         `yaml:"admin_username"`
	AdminPassword                  string                         `yaml:"admin_password"`
	TimeZone                       string                         `yaml:"time_zone"`
	SaveFilesPath                  string                         `yaml:"save_files_path"`
	BoltDBPath                     string                         `yaml:"bolt_db_path"`
	EncryptionKey                  string                         `yaml:"encryption_key"`
	RedisAddress                   string                         `yaml:"redis_address"`
	RedisDBNumber                  int                            `yaml:"redis_db_number"`
	RedisPassword                  string                         `yaml:"redis_password"`
	ReStreamServerUrlLocal         string                         `yaml:"restream_server_url_local"`
	ReStreamServerUrl              string                         `yaml:"restream_server_url"`
	ReStreamServerAPIKey           string                         `yaml:"restream_server_api_key"`
	ReStreamServerHLSURLPrefix     string                         `yaml:"restream_server_hls_url_prefix"`
	StreamDeckServerUrl            string                         `yaml:"stream_deck_server_url"`
	StreamDeckServerAPIKey         string                         `yaml:"stream_deck_server_api_key"`
	FireCubeTotalUserProfiles      int                            `yaml:"firecube_total_user_profiles"`
	FireCubeUserProfileIndex       int                            `yaml:"firecube_user_profile_index"`
	TV                             tv_controller_types.ConfigFile `yaml:"tv"`
	ADB                            ADBConfig                      `yaml:"adb"`
	DisneyTotalUserProfiles        int                            `yaml:"disney_total_user_profiles"`
	DisneyUserProfileIndex         int                            `yaml:"disney_user_profile_index"`
	HuluTotalUserProfiles          int                            `yaml:"hulu_total_user_profiles"`
	HuluUserProfileIndex           int                            `yaml:"hulu_user_profile_index"`
	NetflixTotalUserProfiles       int                            `yaml:"netflix_total_user_profiles"`
	NetflixUserProfileIndex        int                            `yaml:"netflix_user_profile_index"`
	YouTubeAPIKeys                 []string                       `yaml:"youtube_api_keys"`
	TwitchUserID                   string                         `yaml:"twitch_user_id"`
	TwitchClientID                 string                         `yaml:"twitch_client_id"`
	TwitchClientSecret             string                         `yaml:"twitch_client_secret"`
	TwitchOAUTHToken               string                         `yaml:"twitch_oauth_token"`
	TwitchAccessToken              string                         `yaml:"twitch_access_token"`
	TwitchRefreshToken             string                         `yaml:"twitch_refresh_token"`
	BrowserAPIKey                  string                         `yaml:"browser_api_key"` // silk browser audio/video player re-auth
	Library                        Library                        `yaml:"library"`
}

type DisneyItem

type DisneyItem struct {
	Name string `yaml:"name"`
}

type DisneyLibrary

type DisneyLibrary struct {
	Movies DisneyMovies `yaml:"movies"`
}

type DisneyMovies

type DisneyMovies struct {
	Currated map[string]DisneyItem `yaml:"currated"`
}

type HuluEpisode added in v1.0.97

type HuluEpisode struct {
	ID   string `yaml:"id"`
	Name string `yaml:"name"`
}

type HuluLibrary added in v1.0.96

type HuluLibrary struct {
	Movies map[string]HuluMovie  `yaml:"movies"`
	TV     map[string]HuluTVShow `yaml:"tv"`
}

type HuluMovie added in v1.0.96

type HuluMovie struct {
	Name string `yaml:"name"`
}

type HuluTVShow added in v1.0.96

type HuluTVShow struct {
	Name    string             `yaml:"name"`
	Seasons []HuluTVShowSeason `yaml:"seasons"`
}

type HuluTVShowSeason added in v1.0.96

type HuluTVShowSeason struct {
	Number   string        `yaml:"number"`
	Episodes []HuluEpisode `yaml:"episodes"`
}

type Library

type Library struct {
	Spotify SpotifyLibrary `yaml:"spotify"`
	Twitch  TwitchLibrary  `yaml:"twitch"`
	Disney  DisneyLibrary  `yaml:"disney"`
	YouTube YouTubeLibrary `yaml:"youtube"`
	VLC     VLCLibrary     `yaml:"vlc"`
	Hulu    HuluLibrary    `yaml:"hulu"`
	Netflix NetflixLibrary `yaml:"netflix"`
}

type NetflixEpisode added in v1.0.99

type NetflixEpisode struct {
	ID   string `yaml:"id"`
	Name string `yaml:"name"`
}

type NetflixLibrary added in v1.0.99

type NetflixLibrary struct {
	Movies map[string]NetflixMovie  `yaml:"movies"`
	TV     map[string]NetflixTVShow `yaml:"tv"`
}

type NetflixMovie added in v1.0.99

type NetflixMovie struct {
	Name string `yaml:"name"`
}

type NetflixTVShow added in v1.0.99

type NetflixTVShow struct {
	Name    string                `yaml:"name"`
	Seasons []NetflixTVShowSeason `yaml:"seasons"`
}

type NetflixTVShowSeason added in v1.0.99

type NetflixTVShowSeason struct {
	Number   string           `yaml:"number"`
	Episodes []NetflixEpisode `yaml:"episodes"`
}

type Pixel added in v1.0.113

type Pixel struct {
	X     int    `yaml:"x"`
	Y     int    `yaml:"y"`
	Color string `yaml:"color"` // hex color
}

a group of coords:color pairs to verify ui state

type SpotifyItem

type SpotifyItem struct {
	Name string `yaml:"name"`
}

type SpotifyLibrary

type SpotifyLibrary struct {
	Songs     map[string]SpotifyItem `yaml:"songs"`
	Playlists map[string]SpotifyItem `yaml:"playlists"`
}

type TwitchFollowing

type TwitchFollowing struct {
	Currated []string `yaml:"currated"`
	All      []string `yaml:"all"`
}

type TwitchLibrary

type TwitchLibrary struct {
	Following TwitchFollowing `yaml:"following"`
}

type VLCLibrary

type VLCLibrary struct {
	Videos []string `yaml:"videos"`
}

type YouTubeLibrary

type YouTubeLibrary struct {
	Videos    YoutubeSet `yaml:"movies"`
	Playlists YoutubeSet `yaml:"playlists"`
	Following YoutubeSet `yaml:"following"`
}

type YoutubeLiveItem

type YoutubeLiveItem struct {
	Name   string   `yaml:"name"`
	Videos []string `yaml:"videos"`
}

type YoutubeSet

type YoutubeSet struct {
	Live     map[string]YoutubeLiveItem `yaml:"live"`
	Normal   []string                   `yaml:"normal"`
	Relaxing []string                   `yaml:"relaxing"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL