app

package
v0.0.0-...-bf165d5 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateJellyfinStyle

func CreateJellyfinStyle() *huh.Theme

func GetBannerString

func GetBannerString()

Types

type App

type App struct {
	SelectedGraphics []int          `json:"-"`
	CPUTest          bool           `json:"-"`
	Errors           []error        `json:"-"`
	API              *api.APIClient `json:"-"`
	Platform         *string        `json:"-"`
	Theme            *huh.Theme
	Token            *string                `json:"token"`
	HwInfo           *hardware.HardwareInfo `json:"hwinfo"`
	Tests            []api.Test             `json:"-"`
	TotalTests       int
}

func CreateNewTAB

func CreateNewTAB(testCPU bool, server string) *App

func (*App) CheckFileExists

func (app *App) CheckFileExists(file string) bool

func (*App) ConfirmHashForFile

func (app *App) ConfirmHashForFile(file string, hash_type string, hashed string) bool

func (*App) DisplayBanner

func (app *App) DisplayBanner()

Cool jellyfin banner :D

func (*App) DownloadFFmpeg

func (app *App) DownloadFFmpeg(p *tea.Program)

func (*App) DownloadVideos

func (app *App) DownloadVideos(p *tea.Program)

func (*App) FetchPlatformInfo

func (app *App) FetchPlatformInfo() []api.Platform

func (*App) FetchPlatformTests

func (app *App) FetchPlatformTests()

func (*App) GetHardware

func (app *App) GetHardware()

func (*App) GetPlatformTests

func (app *App) GetPlatformTests()

func (*App) MainTUIApp

func (app *App) MainTUIApp(p *tea.Program)

func (*App) PromptConfirmTests

func (app *App) PromptConfirmTests()

func (*App) PromptGPU

func (app *App) PromptGPU() error

func (*App) StartTUIApp

func (app *App) StartTUIApp()

TODO: Create TUI

func (*App) ValidatePlatform

func (app *App) ValidatePlatform()

Jump to

Keyboard shortcuts

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