Documentation
¶
Overview ¶
Package scanner is responsible for generating a tree-like structure of albums and tracks based on the contents of a directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Album ¶
type Album struct { // Thumbnail is a path of an album cover. If the thumbnail is not // available then this field is set to an empty string. Thumbnail string // AccessFile is a path of an access file. If the access file is not // available then this field is set to an empty string. AccessFile string // Albums uses album titles as its keys. Albums map[string]*Album // Tracks uses track titles as its keys. Tracks map[string]Track }
Album is a collection of songs and albums.
type Config ¶
Click to show internal directories.
Click to hide internal directories.