Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Screen tcell.Screen Width int Height int GMusic *gmusic.GMusic LastFM *lastfm.Client // Better: // Database *Database DB *bolt.DB ArtistsMap map[string]bool Artists sort.StringSlice Songs map[string][]string Albums map[string][]string LastAlbum string Status *Status }
App define the UI application
type Status ¶
type Status struct { ScrOffset map[bool]int Offset int CurPos map[bool]int NumAlbum map[bool]int InTracks bool InSearch bool LastFM bool NumTrack int Queue [][]*music.BTrack // playlist, updated on each movement of cursor in artists view Query []rune // search query State chan int // player's state: play, pause, stop, etc }
Click to show internal directories.
Click to hide internal directories.