Versions in this module Expand all Collapse all v0 v0.1.1 May 7, 2026 v0.1.0 Mar 27, 2026 Changes in this version + type Path string + func NewPath(s string) (Path, error) + func NewPathInFS(fsys fs.FS, relativePath string, root Path) (Path, error) + func (p Path) Exists() bool + func (p Path) IsDir() bool + func (p Path) String() string + type Playlist []Track + func (p *Playlist) Current() *Track + func (p *Playlist) Len() int + func (p *Playlist) MarkIsPlaying(idx int) + func (p *Playlist) Next() *Track + func (p *Playlist) Previous() *Track + type Source string + const SourceLocalDir + const SourceLocalFile + const SourceYoutube + const SourceYoutubePlaylist + func (s Source) IsValid() bool + func (s Source) String() string + type Track struct + Duration time.Duration + IsPlaying bool + Path Path + Source Source + Title string + func (t Track) Validate() error