Skip to content

feat: add simple cli#46

Open
mvayngrib wants to merge 1 commit intoparshap:masterfrom
mvayngrib:feat_cli
Open

feat: add simple cli#46
mvayngrib wants to merge 1 commit intoparshap:masterfrom
mvayngrib:feat_cli

Conversation

@mvayngrib
Copy link

see my exact use case below :)

youtubemp3() {
  local video="$1"
  local title=$(ytdl -j "$video" | jq -r .title | sanitize-filename) # <<<<<<<<< YES!
  local output="$HOME/Downloads/$title.mp3"
  ytdl --filter audioonly "$video" | ffmpeg -i pipe:0 -b:a 192K -vn "$output"
}

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

Successfully merging this pull request may close these issues.

1 participant