Documentation
¶
Index ¶
- type ArtistFilter
- type CPMarkSetter
- type Command
- type FetchDone
- type Library
- func (l *Library) Artists() []string
- func (l *Library) CreateContainer() *tview.Flex
- func (l *Library) DrawArtistPane()
- func (l *Library) DrawInitAlbums()
- func (l *Library) FetchData(cached bool, doneCh chan<- FetchDone)
- func (l *Library) FilterArtistPane(f []string)
- func (l *Library) IsFiltered() bool
- func (l *Library) KeyboardHandler(event *tcell.EventKey) *tcell.EventKey
- func (l *Library) MarkCpArtist(name string)
- func (l *Library) MarkCpTrack(track, artist, album string)
- func (l *Library) SelectCpArtist()
- func (l *Library) SetCpAlbumName(name string)
- func (l *Library) SetCpTrackName(name string)
- func (l *Library) UpdateData()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtistFilter ¶
type CPMarkSetter ¶
type Command ¶
type Command interface { FetchData(cached bool, doneCh chan<- FetchDone) UpdateData() IsFiltered() bool SelectCpArtist() ArtistFilter CPMarkSetter }
type Library ¶
type Library struct { API string CpAlbumName string CpTrackName string // contains filtered or unexported fields }
func New ¶
func New(api string, a app.Focuser, p player.Controller, sp spinner.StartStopper) *Library
func (*Library) CreateContainer ¶
func (*Library) DrawArtistPane ¶
func (l *Library) DrawArtistPane()
func (*Library) DrawInitAlbums ¶
func (l *Library) DrawInitAlbums()
func (*Library) FilterArtistPane ¶
func (*Library) IsFiltered ¶
func (*Library) KeyboardHandler ¶
func (l *Library) KeyboardHandler(event *tcell.EventKey) *tcell.EventKey
func (*Library) MarkCpArtist ¶
func (*Library) MarkCpTrack ¶
func (*Library) SelectCpArtist ¶
func (l *Library) SelectCpArtist()
func (*Library) SetCpAlbumName ¶
func (*Library) SetCpTrackName ¶
func (*Library) UpdateData ¶
func (l *Library) UpdateData()
Click to show internal directories.
Click to hide internal directories.