Documentation ¶
Index ¶
- Variables
- func AlbumTracksView(ctx *gctx.Context, album spotify.ID, commands *commands.Commands) ([]list.Item, error)
- func AlbumsView(ctx *gctx.Context, commands *commands.Commands) ([]list.Item, error)
- func ArtistAlbumsView(ctx *gctx.Context, album spotify.ID, commands *commands.Commands) ([]list.Item, error)
- func ArtistsView(ctx *gctx.Context, commands *commands.Commands) ([]list.Item, error)
- func DeviceView(ctx *gctx.Context, commands *commands.Commands) ([]list.Item, error)
- func HandleAlbumArtist(ctx *gctx.Context, commands *commands.Commands, artist spotify.SimpleArtist)
- func HandleAlbumRadio(ctx *gctx.Context, commands *commands.Commands, album spotify.SimpleAlbum)
- func HandleArtistRadio(ctx *gctx.Context, commands *commands.Commands, artist spotify.SimpleArtist)
- func HandleDeleteTrackFromPlaylist(ctx *gctx.Context, commands *commands.Commands, item, playlist spotify.ID)
- func HandleLibraryRadio(ctx *gctx.Context, commands *commands.Commands)
- func HandleNextInQueue(ctx *gctx.Context, commands *commands.Commands, amt int)
- func HandlePlayLikedSong(ctx *gctx.Context, commands *commands.Commands, position int)
- func HandlePlayTrack(ctx *gctx.Context, commands *commands.Commands, track spotify.ID)
- func HandlePlayWithContext(ctx *gctx.Context, commands *commands.Commands, uri *spotify.URI, pos int)
- func HandlePlaylistRadio(ctx *gctx.Context, commands *commands.Commands, ...)
- func HandleQueueItem(ctx *gctx.Context, commands *commands.Commands, item spotify.ID)
- func HandleRadio(ctx *gctx.Context, commands *commands.Commands, song spotify.SimpleTrack)
- func HandleSeek(ctx *gctx.Context, commands *commands.Commands, fwd bool)
- func HandleSetDevice(ctx *gctx.Context, commands *commands.Commands, player spotify.PlayerDevice)
- func HandleVolume(ctx *gctx.Context, commands *commands.Commands, up bool)
- func InitMain(ctx *gctx.Context, c *commands.Commands, mode Mode) (tea.Model, error)
- func MainView(ctx *gctx.Context, commands *commands.Commands) ([]list.Item, error)
- func PlaylistView(ctx *gctx.Context, commands *commands.Commands, ...) ([]list.Item, error)
- func QueueView(ctx *gctx.Context, commands *commands.Commands) ([]list.Item, error)
- func SavedTracksView(ctx *gctx.Context, commands *commands.Commands) ([]list.Item, error)
- func SearchAlbumsView(ctx *gctx.Context, commands *commands.Commands, ...) ([]list.Item, error)
- func SearchArtistsView(ctx *gctx.Context, commands *commands.Commands, ...) ([]list.Item, error)
- func SearchPlaylistsView(ctx *gctx.Context, commands *commands.Commands, ...) ([]list.Item, error)
- func SearchTracksView(ctx *gctx.Context, commands *commands.Commands, tracks *spotify.FullTrackPage) ([]list.Item, error)
- func StartTea(ctx *gctx.Context, cmd *commands.Commands, mode string) error
- func Tick() tea.Cmd
- type Mode
- type SearchResults
- type SpotifyUrl
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AlbumTracksView ¶
func AlbumsView ¶
func ArtistAlbumsView ¶
func ArtistsView ¶
func DeviceView ¶
func HandleAlbumArtist ¶
func HandleAlbumRadio ¶
func HandleArtistRadio ¶
func HandleDeleteTrackFromPlaylist ¶ added in v0.0.49
func HandleNextInQueue ¶ added in v0.0.49
func HandlePlayLikedSong ¶
func HandlePlayTrack ¶
func HandlePlayWithContext ¶
func HandlePlaylistRadio ¶
func HandleQueueItem ¶ added in v0.0.49
func HandleRadio ¶
func HandleSetDevice ¶
func PlaylistView ¶
func SavedTracksView ¶
func SearchAlbumsView ¶
func SearchArtistsView ¶
func SearchPlaylistsView ¶
func SearchTracksView ¶
Types ¶
type Mode ¶
type Mode string
const ( Album Mode = "album" ArtistAlbum Mode = "artistalbum" Artist Mode = "artist" Artists Mode = "artists" Queue Mode = "queue" Tracks Mode = "tracks" Albums Mode = "albums" Main Mode = "main" Playlists Mode = "playlists" Playlist Mode = "playlist" Devices Mode = "devices" Search Mode = "search" SearchAlbums Mode = "searchalbums" SearchAlbum Mode = "searchalbum" SearchArtists Mode = "searchartists" SearchArtist Mode = "searchartist" SearchArtistAlbum Mode = "searchartistalbum" SearchTracks Mode = "searchtracks" SearchPlaylists Mode = "searchplaylsits" SearchPlaylist Mode = "searchplaylist" )
type SearchResults ¶
type SearchResults struct { Tracks *spotify.FullTrackPage Artists *spotify.FullArtistPage Playlists *spotify.SimplePlaylistPage Albums *spotify.SimpleAlbumPage }
type SpotifyUrl ¶
Click to show internal directories.
Click to hide internal directories.