boomkat

package
v0.0.0-...-c542660 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2013 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoomkatDir

func BoomkatDir() string

func GenresFromString

func GenresFromString(text string) []string

func SetBoomkatDir

func SetBoomkatDir(dir string)

Types

type Record

type Record struct {
	Id        string
	Artist    string
	Title     string
	Label     string
	Genre     []string
	Thumbnail string
	Review    string
	PageUrl   string
	CoverUrl  string
	// contains filtered or unexported fields
}

func NewRecordFromId

func NewRecordFromId(id string) (*Record, error)
func Search(word string) ([]*Record, error)

func (*Record) DownloadSampleTracks

func (r *Record) DownloadSampleTracks()

func (*Record) RecordsAlsoBought

func (r *Record) RecordsAlsoBought() ([]*Record, error)

func (*Record) RecordsByTheSameArtist

func (r *Record) RecordsByTheSameArtist() ([]*Record, error)

func (*Record) RecordsByTheSameLabel

func (r *Record) RecordsByTheSameLabel() ([]*Record, error)

func (*Record) RecordsYouMightLike

func (r *Record) RecordsYouMightLike() ([]*Record, error)

func (*Record) SampleTracks

func (r *Record) SampleTracks() ([]*Track, error)

func (*Record) Url

func (r *Record) Url() string

func (*Record) WorkDir

func (r *Record) WorkDir() (string, error)

type SampleTrackResponse

type SampleTrackResponse struct {
	Id     int64    `json:"id"`
	Tracks []*Track `json:"boomboxx_sample_tracks"`
}

type Track

type Track struct {
	ProductId int64  `json:"product_id"`
	Title     string `json:"title"`
	Url       string `json:"url"`
	Image     string `json:"image"`
	SampleMp3 string `json:"sample_mp3"`
	SampleOgg string `json:"sample_ogg"`
	// contains filtered or unexported fields
}

func (*Track) Download

func (t *Track) Download() error

func (*Track) Id

func (t *Track) Id() string

func (*Track) Record

func (t *Track) Record() Record

func (*Track) SetRecord

func (t *Track) SetRecord(r Record)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL