Documentation
¶
Index ¶
Constants ¶
View Source
const ( MIMEZaparooZapScript = "application/vnd.zaparoo.zapscript" WellKnownPath = "/.well-known/zaparoo" )
Variables ¶
View Source
var ( ErrArgCount = errors.New("invalid number of arguments") ErrRequiredArgs = errors.New("arguments are required") ErrRemoteSource = errors.New("cannot run from remote source") )
View Source
var AcceptedMimeTypes = []string{ MIMEZaparooZapScript, }
Functions ¶
func RunCommand ¶
func RunCommand( pl platforms.Platform, cfg *config.Instance, plsc playlists.PlaylistController, token tokens.Token, cmd parser.Command, totalCmds int, currentIndex int, db *database.Database, st *state.State, ) (platforms.CmdResult, error)
RunCommand parses and runs a single ZapScript command.
Types ¶
type ArgPlaylist ¶
type ArgPlaylist struct {
ID string `json:"id"`
Name string `json:"name"`
Items []ArgPlaylistItem `json:"items"`
}
type ArgPlaylistItem ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.