gmusic

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2016 License: ISC Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(params []string, token *oauth2.Token) (protocol.Instance, error)

Types

type GMusic

type GMusic struct {
	GMusic *gmusic.GMusic
	Name   string
	Tracks map[codec.ID]*gmusic.Track
	Songs  protocol.SongList
}

func (*GMusic) GetSong

func (g *GMusic) GetSong(id codec.ID) (codec.Song, error)

func (*GMusic) Info

func (g *GMusic) Info(id codec.ID) (*codec.SongInfo, error)

func (*GMusic) Key

func (g *GMusic) Key() string

func (*GMusic) List

func (g *GMusic) List() (protocol.SongList, error)

func (*GMusic) Refresh

func (g *GMusic) Refresh() (protocol.SongList, error)

Jump to

Keyboard shortcuts

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