Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SpotifyURLPattern = regexp.MustCompile("^(https?://)?(www\\.)?open\\.spotify\\.com/(user/(?P<user>[a-zA-Z0-9-_]+)/)?(?P<type>track|album|playlist)/(?P<identifier>[a-zA-Z0-9-_]+)?.+")
Functions ¶
This section is empty.
Types ¶
type SpotifyResolver ¶
func NewSpotifyResolver ¶
func (*SpotifyResolver) LoadItem ¶
func (r *SpotifyResolver) LoadItem(identifier string) *api.LoadResult
func (*SpotifyResolver) LoadItemHandler ¶
func (r *SpotifyResolver) LoadItemHandler(identifier string, audioLoaderResultHandler api.AudioLoaderResultHandler)
type SpotifyTrack ¶
func NewSpotifyTrack ¶
func NewSpotifyTrack(lavalink api.Lavalink, track spotify.SimpleTrack) *SpotifyTrack
func (*SpotifyTrack) Info ¶
func (t *SpotifyTrack) Info() api.TrackInfo
func (*SpotifyTrack) Track ¶
func (t *SpotifyTrack) Track() *string
Click to show internal directories.
Click to hide internal directories.