Update README.md

This commit is contained in:
Lorenzo Pistone 2019-02-14 12:46:58 +01:00 committed by GitHub
parent f3c5b40efb
commit b201b792cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -4,4 +4,7 @@ Download Spotify tracks to Ogg Vorbis (with a premium account).
This library uses [librespot](https://github.com/librespot-org/librespot). It is my first program in Rust so you may see some horrors in the way I handle tokio, futures and such.
# Usage
```
oggify user password < tracks_list
```
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,