albumart

package
v0.0.0-...-e62810a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	io.ReadCloser
	Extension string // jpeg, ...
}

func AlbumArt

func AlbumArt(ctx context.Context, path string) *File

AlbumArt queries for an album art. It returns an invalid File if there is no album art. The function may read the album art into memory.

The given context will directly control the returned file. If the context is cancelled, then the file is also closed.

Jump to

Keyboard shortcuts

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