Documentation ¶
Overview ¶
Package playlistmgr contains all the tools to read and modify playlists files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPlaylistFile ¶
CheckPlaylistFile opens a Playlist file and checks that it really is a valid Playlist.
func DeletePlaylist ¶
DeletePlaylist deletes a playlist from the filesystem.
func RegeneratePlaylistFile ¶
func RegeneratePlaylistFile(songs []PlaylistFile, playlist, mPoint string) error
RegeneratePlaylistFile creates the playlist file from the information in the database.
Types ¶
type PlaylistFile ¶
FileTags defines the tags found in a specific music file.
func ProcessPlaylist ¶
func ProcessPlaylist(path string) ([]PlaylistFile, error)
ProcessPlaylist function receives the path of a playlist and adds all the information into the database. It process every line in the file and reads all the songs in it.
Click to show internal directories.
Click to hide internal directories.