package
0.0.0-20230325130937-40e63e777c53
Repository: https://github.com/ambientsound/visp.git
Documentation: pkg.go.dev
# Functions
Return an ordered list of which program contexts active right now.
No description provided by the author
Keys returns a string slice with all verbs that can be invoked to run a command.
New returns the Command associated with the given verb.
NewAdd returns Add.
No description provided by the author
NewBind returns Bind.
NewColumns returns Columns.
NewCursor returns Cursor.
NewCut returns Cut.
NewDevice returns Device.
No description provided by the author
NewIsolate returns Isolate.
NewLike returns Like.
No description provided by the author
No description provided by the author
NewPaste returns Paste.
No description provided by the author
NewPlay returns Play.
No description provided by the author
No description provided by the author
No description provided by the author
NewRecommend returns Recommend.
No description provided by the author
NewRename returns Rename.
NewRepeat returns Repeat.
NewSeek returns Seek.
NewSelect returns Select.
NewSet returns Set.
NewShow returns Show.
NewShuffle returns Shuffle.
NewSort returns Sort.
NewStop returns Stop.
NewStyle returns Style.
NewUnbind returns Unbind.
NewViewport returns Viewport.
NewVolume returns Volume.
NewWrite returns Write.
NewYank returns Yank.
No description provided by the author
TestCommand runs a single test a for Command implementation.
TestVerb runs table tests for Command implementations.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://github.com/zmb3/spotify/v2/issues/159.
https://github.com/zmb3/spotify/v2/issues/159.
https://github.com/zmb3/spotify/v2/issues/159.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Verbs contain mappings from strings to Command constructors.
# Structs
Add plays songs in the MPD playlist.
Auth runs OAuth2 authentication flow against Spotify.
Bind maps a key sequence to the execution of a command.
Columns sets which column headers should be visible for the current list.
Cursor moves the cursor in a songlist widget.
Cut removes songs from songlists.
Device seeks forwards or backwards in the currently playing track.
InputMode changes the Multibar's input mode.
Isolate searches for songs that have similar tags as the selection.
Like plays songs in the MPD playlist.
List navigates and manipulates songlists.
Next instructs the player to go to the next song.
Paste inserts songs from the clipboard.
Pause toggles play/paused state.
Play plays songs in the MPD playlist.
Previous instructs the player to go to the previous song.
Print displays information about the selected song's tags.
Quit exits the program.
Recommend gives a list of tracks similar to the ones selected and within certain constraints.
Redraw forcefully redraws the screen.
Rename saves a local tracklist to Spotify.
Repeat sets the playback repeat mode.
Seek seeks forwards or backwards in the currently playing track.
Select manipulates song selection within a songlist.
Set manipulates a Options table by parsing input tokens from the "set" command.
Show directs which window (main widget) to show.
Shuffle sets the playback shuffle mode.
Sort sorts songlists.
Stop stops song playback.
Style manipulates the style table, allowing to set colors and attributes for UI elements.
Test is a structure for test data, and can be used to conveniently test Command instances.
TestData contains data needed for a single Command table test.
Unbind unmaps a key sequence.
Viewport acts on the viewport, such as scrolling the current songlist.
Volume adjusts MPD's volume.
Write saves a local tracklist to Spotify.
Yank copies tracks from the songlist into the clipboard.
# Interfaces
Command must be implemented by all commands.