Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientMedia ¶
type ClientMedia struct {
Url string // cf-media.sndcdn.com/QaV7QR1lxpc6.128.mp3
}
type ClientTrack ¶
type ClientTrack struct { ArtworkUrl string `json:"artwork_url"` DisplayDate time.Time `json:"display_date"` Id int64 Media struct { Transcodings []Transcoding } Title string User struct { AvatarUrl string `json:"avatar_url"` Username string } }
func (*ClientTrack) Artwork ¶
func (c *ClientTrack) Artwork() string
i1.sndcdn.com/artworks-000308141235-7ep8lo-large.jpg
func (*ClientTrack) New ¶
func (c *ClientTrack) New(id int64) error
func (*ClientTrack) Progressive ¶
func (c *ClientTrack) Progressive() (*Transcoding, bool)
Also available is "hls", but all transcodings are quality "sq". Same for "api-mobile.soundcloud.com".
func (*ClientTrack) Resolve ¶
func (c *ClientTrack) Resolve(address string) error
type Transcoding ¶
func (*Transcoding) Media ¶
func (t *Transcoding) Media() (*ClientMedia, error)
Click to show internal directories.
Click to hide internal directories.