Documentation
¶
Index ¶
Constants ¶
View Source
const ( SearchTypeSpotify lavalink.SearchType = "spsearch" SearchTypeAppleMusic lavalink.SearchType = "amsearch" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppleMusicPlugin ¶
type AppleMusicPlugin struct {
ISRCSourceExtension
}
func NewAppleMusicPlugin ¶
func NewAppleMusicPlugin() *AppleMusicPlugin
func (*AppleMusicPlugin) SourceName ¶
func (p *AppleMusicPlugin) SourceName() string
type ISRCAudioTrack ¶
type ISRCAudioTrack struct { lavalink.AudioTrack ISRC *string `json:"isrc"` ArtworkURL *string `json:"artwork_url"` }
func (*ISRCAudioTrack) Clone ¶
func (t *ISRCAudioTrack) Clone() lavalink.AudioTrack
type ISRCSourceExtension ¶
type ISRCSourceExtension struct{}
func (ISRCSourceExtension) Decode ¶
func (p ISRCSourceExtension) Decode(info lavalink.AudioTrackInfo, r io.Reader) (isrcTrack lavalink.AudioTrack, err error)
func (ISRCSourceExtension) Encode ¶
func (p ISRCSourceExtension) Encode(track lavalink.AudioTrack, w io.Writer) (err error)
type SpotifyPlugin ¶
type SpotifyPlugin struct {
ISRCSourceExtension
}
func NewSpotifyPlugin ¶
func NewSpotifyPlugin() *SpotifyPlugin
func (*SpotifyPlugin) SourceName ¶
func (p *SpotifyPlugin) SourceName() string
Click to show internal directories.
Click to hide internal directories.