Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing default settings? #46

Closed
webster-glitch opened this issue Mar 3, 2021 · 2 comments
Closed

changing default settings? #46

webster-glitch opened this issue Mar 3, 2021 · 2 comments

Comments

@webster-glitch
Copy link

How do you use the commands to change the default settings for audio bitrate and format? I used the "freyr get --help", but after that, I'm stuck. Your mod is a complete lifesaver by the way!

@miraclx
Copy link
Owner

miraclx commented Mar 3, 2021

So there are CLI flags that can customize behavior for the tool.

The default audio format is m4a and it doesn't currently support any other, though this could change.

However, other options exist like, in your case

bitrate

  -b, --bitrate <N>            set audio quality / bitrate for audio encoding
                               (valid: 96,128,160,192,256,320) (default: "320k")

So to download a track with 160kbps, simply add the -b 160k flag

or in fact, cover art

  -c, --cover <NAME>           custom name for the cover art (default: "cover.png")
  --cover-size <SIZE>          preferred cover art dimensions
                               (format: <width>x<height> or <size> as <size>x<size>) (default: "640x640")
  -C, --no-cover               skip saving a cover art

Other options can be seen by running freyr get --help

@webster-glitch
Copy link
Author

Got it, thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants