Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAudio ¶
Check if the file is an audio file.
Example ¶
fmt.Println(IsAudio("audio.mp3"))
Output: true
func MakeFilename ¶
Creates a filename for an audio file based on its tags. Format: <track> <title>.<extension>
Example ¶
fmt.Println(MakeFilename(1, 13, "The Grudge", "MP3"))
Output: 01 The Grudge.mp3
func RemoveSpecialCharacters ¶ added in v1.1.1
Removes special characters from a string to make it work properly on all systems. Those include: #%&{}\<>*?/$!'":@+`|=
Example ¶
fmt.Println(RemoveSpecialCharacters("t/e?s:t"))
Output: test
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.