itunesman

package module
v0.0.0-...-a6bf790 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 4 Imported by: 0

README

ituweak

iTunes control library and application

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewITunes

func NewITunes() (intf.ITunes, error)

Types

type ITunes

type ITunes struct {
	// contains filtered or unexported fields
}

func (*ITunes) CurrentPlaylist

func (it *ITunes) CurrentPlaylist() (intf.Playlist, error)

func (*ITunes) CurrentTrack

func (it *ITunes) CurrentTrack() (intf.Track, error)

func (*ITunes) Library

func (it *ITunes) Library() (intf.Playlist, error)

func (*ITunes) Play

func (it *ITunes) Play() error

func (*ITunes) Playlists

func (it *ITunes) Playlists() ([]intf.Playlist, error)

func (*ITunes) Stop

func (it *ITunes) Stop() error

type Playlist

type Playlist struct {
	// contains filtered or unexported fields
}

func (*Playlist) Add

func (p *Playlist) Add(t intf.Track) error

func (*Playlist) Delete

func (p *Playlist) Delete(t intf.Track) error

func (*Playlist) ID

func (p *Playlist) ID() (int, error)

func (*Playlist) Index

func (p *Playlist) Index() (int, error)

func (*Playlist) Name

func (p *Playlist) Name() (string, error)

func (*Playlist) Show

func (p *Playlist) Show() error

func (*Playlist) Tracks

func (p *Playlist) Tracks() ([]intf.Track, error)

type Track

type Track struct {
	// contains filtered or unexported fields
}

func (*Track) AssignedPlaylists

func (t *Track) AssignedPlaylists() ([]intf.Playlist, error)

func (*Track) Delete

func (t *Track) Delete() error

func (*Track) Name

func (t *Track) Name() (string, error)

func (*Track) Play

func (t *Track) Play() error

func (*Track) Stop

func (t *Track) Stop() error

func (*Track) TrackNumber

func (t *Track) TrackNumber() (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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