types

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMediaHTMLParams added in v1.0.12

type GetMediaHTMLParams struct {
	SessionKey     string `json:"session_key"`
	FilesURLPrefix string `json:"files_url_prefix"`
	LibraryKey     string `json:"library_key"`
	SessionID      string `json:"session_id"`
	TimeStr        string `json:"time_str"`
	NextID         string `json:"next_id"`
	Extension      string `json:"extension"`
	ReadyURL       string `json:"ready_url"`
	Type           string `json:"type"`
}

type GetYouTubePlaylistParams added in v1.0.12

type GetYouTubePlaylistParams struct {
	SessionKey string `json:"session_key"`
	LibraryKey string `json:"library_key"`
	PlaylistID string `json:"playlist_id"`
	ListID     string `json:"library_key"`
	SessionID  string `json:"session_id"`
	ReadyURL   string `json:"ready_url"`
	Type       string `json:"type"`
	Index      string `json:"index"`
	Time       string `json:"time"`
}

type Library added in v1.0.12

type Library map[string]LibraryEntry

type LibraryEntry

type LibraryEntry struct {
	FilePath string `yaml:"file_path"`
	RedisKey string `yaml:"redis_key"`
}

type UpdatePositionRequest

type UpdatePositionRequest struct {
	LibraryKey           string `json:"library_key"`
	SessionID            string `json:"session_id"`
	YouTubePlaylistID    string `json:"youtube_playlist_id"`
	YouTubePlaylistIndex int    `json:"youtube_playlist_index"`
	Type                 string `json:"type"`
	Title                string `json:"title"`
	UUID                 string `json:"uuid"`
	Position             int    `json:"position"`
	Duration             int    `json:"duration"`
	Finished             bool   `json:"finished"`
	ReadyURL             string `json:"ready_url"`
}

Jump to

Keyboard shortcuts

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