treat: make default audio path non relative

This commit is contained in:
trekhopton 2020-10-19 19:32:54 +10:30
parent 55e583cdb5
commit b0e3240ebc
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ func main() {
mts.Meta = meta.NewWith([][2]string{{metaPreambleKey, metaPreambleData}})
// Set up the player command with audio file path.
filePtr := flag.String("path", "~/audio.wav", "Path to sound file we wish to play.")
filePtr := flag.String("path", "/home/pi/audio.wav", "Path to sound file we wish to play.")
flag.Parse()
// Create lumberjack logger to handle logging to file.