1
0
mirror of https://github.com/pisto/oggify synced 2024-12-23 01:16:59 +00:00
Download Spotify tracks to Ogg Vorbis (with a premium account)
Go to file
2019-02-14 12:41:14 +01:00
src cleanup imports 2019-02-14 12:20:24 +01:00
.gitignore WIP 2019-02-12 22:09:22 +01:00
Cargo.toml more metadata in manifest 2019-02-14 12:33:50 +01:00
README.md Create README.md 2019-02-14 12:41:14 +01:00

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,