From 1813a16bb740fda912ba3f91916a3d2c25900242 Mon Sep 17 00:00:00 2001 From: Mathis Maquenne <124215603+mathismqn@users.noreply.github.com> Date: Sat, 9 Aug 2025 19:31:39 +0200 Subject: [PATCH] feat(cli): change default download quality from flac to mp3_320 --- cmd/download.go | 2 +- cmd/watch_add.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/download.go b/cmd/download.go index 12d936a..dddc103 100644 --- a/cmd/download.go +++ b/cmd/download.go @@ -26,7 +26,7 @@ func init() { RootCmd.AddCommand(downloadCmd) downloadCmd.PersistentFlags().StringVar(&cfgPath, "config", "", "config file (default ~/.godeez/config.toml)") - downloadCmd.PersistentFlags().StringVarP(&opts.Quality, "quality", "q", "flac", "download quality [mp3_128, mp3_320, flac]") + downloadCmd.PersistentFlags().StringVarP(&opts.Quality, "quality", "q", "mp3_320", "download quality [mp3_128, mp3_320, flac]") downloadCmd.PersistentFlags().DurationVarP(&opts.Timeout, "timeout", "t", 2*time.Minute, "timeout for each download (e.g. 10s, 1m, 2m30s)") downloadCmd.PersistentFlags().BoolVar(&opts.BPM, "bpm", false, "fetch BPM/key and add to file tags") downloadCmd.PersistentFlags().BoolVar(&opts.Strict, "strict", false, "fail the song download if the quality is not available") diff --git a/cmd/watch_add.go b/cmd/watch_add.go index 6540aa2..2fba5f2 100644 --- a/cmd/watch_add.go +++ b/cmd/watch_add.go @@ -43,7 +43,7 @@ var watchAddCmd = &cobra.Command{ func init() { watchCmd.AddCommand(watchAddCmd) - watchAddCmd.Flags().StringVarP(&opts.Quality, "quality", "q", "flac", "download quality [mp3_128, mp3_320, flac]") + watchAddCmd.Flags().StringVarP(&opts.Quality, "quality", "q", "mp3_320", "download quality [mp3_128, mp3_320, flac]") watchAddCmd.Flags().DurationVarP(&opts.Timeout, "timeout", "t", 2*time.Minute, "timeout for each download (e.g. 10s, 1m, 2m30s)") watchAddCmd.Flags().BoolVar(&opts.BPM, "bpm", false, "fetch BPM/key and add to file tags") }