mirror of
https://github.com/pisto/oggify
synced 2024-11-14 17:17:29 +00:00
Download Spotify tracks to Ogg Vorbis (with a premium account)
src | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md |
oggify
Download Spotify tracks to Ogg Vorbis (with a premium account).
This library uses librespot. It is my first program in Rust so you may see some horrors in the way I handle tokio, futures and such.
Usage
The program takes 2 arguments, your Spotify Premium user and password, then reads from stdin and looks for a track URL or URI in each line. The two formats are those you get with the track menu items "Share->Copy Song Link" or "Share->Copy Song URI" in the Spotify client, for example open.spotify.com/track/1xPQDRSXDN5QJWm7qHg5Ku
or spotify:track:1xPQDRSXDN5QJWm7qHg5Ku
. For example,