internal

package
v0.0.0-...-4ea3a44 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddListInputListener

func AddListInputListener(l *tview.List)

Add key bindings for selecting list items.

func AddQuitOption

func AddQuitOption(list *tview.List, f func())

add a Quit option to the passed-in list

func AddQuitToHomeOption

func AddQuitToHomeOption(list *tview.List, v *models.View)

add a Quit to Home Page option to the passed-in list

func AddResetOption

func AddResetOption(list *tview.List, f func())

add a Reset Page option to the passed-in list

func BackToViewListFunc

func BackToViewListFunc(v *models.View) func(*tcell.EventKey) *tcell.EventKey

func CreateMessageBar

func CreateMessageBar(v *models.View)

func CreateTitleBar

func CreateTitleBar(v *models.View)

func CreateViewGrid

func CreateViewGrid(v *models.View)

func GoToMainMenu

func GoToMainMenu(v *models.View)

func IntToAlpha

func IntToAlpha(i int) rune

convert ints into alphabetic characters, i.e. 1->a, 2->b, 3->c, etc.

func SearchForAlbums

func SearchForAlbums(v *models.View)

func SearchForArtists

func SearchForArtists(v *models.View)

func SearchForPlaylists

func SearchForPlaylists(v *models.View)

func SearchForSongs

func SearchForSongs(v *models.View)

func SearchStarredPlaylists

func SearchStarredPlaylists(v *models.View)

func SelectAlbum

func SelectAlbum(v *models.View, id string, name string)

func SelectArtist

func SelectArtist(v *models.View, artist models.SimpleIdentifier)

func SelectNextListItem

func SelectNextListItem(l *tview.List)

Select Next List Item. Wrap around to the first item if the last is currently selected.

func SelectPlaylist

func SelectPlaylist(v *models.View, playlist models.SimpleIdentifier)

func SelectPreviousListIten

func SelectPreviousListIten(l *tview.List)

Select Previous List Item. Wrap around to last item if the first item is currently selected.

func SelectSong

func SelectSong(v *models.View, id string, name string)

func ShowArtistAlbums

func ShowArtistAlbums(v *models.View, artist models.SimpleIdentifier)

func ShowArtistSearchResults

func ShowArtistSearchResults(v *models.View, query string)

func ShowDuplicateSongsinStarredPlaylists

func ShowDuplicateSongsinStarredPlaylists(v *models.View)

func ShowPlaylistSearchResults

func ShowPlaylistSearchResults(v *models.View, query string)

func ShowStarredPlaylistSearchResults

func ShowStarredPlaylistSearchResults(v *models.View, query string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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