playlists

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchResource

func FetchResource(url string) ([]byte, error)

FetchResource fetches the given url and returns the response body. The url can either be an HTTP url or a file:// url.

func IsPlaylist

func IsPlaylist(path string) bool

Types

type Iterator

type Iterator interface {
	HasNext() bool
	Next() (file, title string)
}

func NewIterator

func NewIterator(uri string) (Iterator, error)

NewPlaylistIterator creates an iterator for the given playlist.

Jump to

Keyboard shortcuts

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