Documentation ¶
Index ¶
- Constants
- type MediaFile
- type MediaSource
- func (m *MediaSource) IsDownloadURI() bool
- func (m *MediaSource) IsSoundCloud() bool
- func (m *MediaSource) IsSpotify() bool
- func (m *MediaSource) IsTorrent() bool
- func (m *MediaSource) IsUnknown() bool
- func (m *MediaSource) IsYoutube() bool
- func (m *MediaSource) Parse() error
- func (m *MediaSource) Proto() *proto.MediaSource
- type Subtitle
Constants ¶
View Source
const ( MediaTypeTrack = "track" MediaTypeEpisode = "episode" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MediaSource ¶
type MediaSource struct {
// contains filtered or unexported fields
}
func NewMediaSource ¶
func NewMediaSource(uri string, accessToken string) *MediaSource
func (*MediaSource) IsDownloadURI ¶
func (m *MediaSource) IsDownloadURI() bool
func (*MediaSource) IsSoundCloud ¶
func (m *MediaSource) IsSoundCloud() bool
func (*MediaSource) IsSpotify ¶
func (m *MediaSource) IsSpotify() bool
func (*MediaSource) IsTorrent ¶
func (m *MediaSource) IsTorrent() bool
func (*MediaSource) IsUnknown ¶
func (m *MediaSource) IsUnknown() bool
func (*MediaSource) IsYoutube ¶
func (m *MediaSource) IsYoutube() bool
func (*MediaSource) Parse ¶
func (m *MediaSource) Parse() error
func (*MediaSource) Proto ¶
func (m *MediaSource) Proto() *proto.MediaSource
Click to show internal directories.
Click to hide internal directories.