Documentation ¶
Index ¶
- func AddPathToLibrary(path string, db *sql.DB) error
- func CloseDB(db *sql.DB) error
- func FetchTrackPaths(db *sql.DB) ([]string, error)
- func GetMusicDirPaths(dir string) ([]string, error)
- func OpenDB(path string) (*sql.DB, error)
- func PlayAlbum(albumID int64, execCmd string, showOut bool, showErr bool, db *sql.DB) error
- func RemoveEmptyAlbums(db *sql.DB) error
- func RemoveNotExistPath(path string, db *sql.DB) error
- type Album
- func FetchAlbumsByAlbumArtist(asc bool, db *sql.DB) ([]Album, error)
- func FetchAlbumsByQuery(query string, db *sql.DB) ([]Album, error)
- func FetchAlbumsByRandom(db *sql.DB) ([]Album, error)
- func FetchAlbumsByYear(asc bool, db *sql.DB) ([]Album, error)
- func FindAlbumsByYear(query []string, db *sql.DB) ([]Album, error)
- type Track
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMusicDirPaths ¶
func RemoveEmptyAlbums ¶
Types ¶
type Album ¶
Click to show internal directories.
Click to hide internal directories.