Describe BaseDir

Signed-off-by: Ramon Rüttimann <ramon@nine.ch>
master
Ramon Rüttimann 5 years ago
parent 37a7962adf
commit 7bca877da0

@ -24,7 +24,7 @@ const baseDir = "/mnt/data/media/downloads/music/"
func main() { func main() {
klog.InitFlags(nil) klog.InitFlags(nil)
postAddr := flag.String("post-addr", "http://localhost:8088", "the address where to post the request") postAddr := flag.String("post-addr", "http://localhost:8088", "the address where to post the request")
directory := flag.String("dir", "", "the directory that contains the flac files. If relative path, baseDir will be appendend automatically") directory := flag.String("dir", "", "the directory that contains the flac files. If relative path, baseDir will be appendend automatically. baseDir: /mnt/data/media/downloads/music/")
artistName := flag.String("artist", "", "name of the artist") artistName := flag.String("artist", "", "name of the artist")
flag.Parse() flag.Parse()
fmt.Printf("Mediaconverter version %v, commit %v\n", version, commit) fmt.Printf("Mediaconverter version %v, commit %v\n", version, commit)

Loading…
Cancel
Save