[ciskip] Update Readme.md

This commit is contained in:
Sasha Hilton 2019-03-23 23:57:52 +01:00 committed by GitHub
parent a41ab28540
commit 4e64934318
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ applications to use Spotify's service, without using the official but
closed-source libspotify. Additionally, it will provide extra features closed-source libspotify. Additionally, it will provide extra features
which are not available in the official library. which are not available in the official library.
Note: librespot only works with Spotify Premium _Note: librespot only works with Spotify Premium. This will remain the case for the forseeable future, as we are unlikely to work on implementing the features such as limited skips and adverts that would be required to make librespot compliant with free accounts._
## This fork ## This fork
As the origin by [plietar](https://github.com/plietar/) is no longer actively maintained, this organisation and repository have been set up so that the project may be maintained and upgraded in the future. As the origin by [plietar](https://github.com/plietar/) is no longer actively maintained, this organisation and repository have been set up so that the project may be maintained and upgraded in the future.
@ -26,27 +26,18 @@ If you wish to learn more about how librespot works overall, the best way is to
If you run into a bug when using librespot, please search the existing issues before opening a new one. Chances are, we've encountered it before, and have provided a resolution. If not, please open a new one, and where possible, include the backtrace librespot generates on crashing, along with anything we can use to reproduce the issue, eg. the Spotify URI of the song that caused the crash. If you run into a bug when using librespot, please search the existing issues before opening a new one. Chances are, we've encountered it before, and have provided a resolution. If not, please open a new one, and where possible, include the backtrace librespot generates on crashing, along with anything we can use to reproduce the issue, eg. the Spotify URI of the song that caused the crash.
# Building # Building
Rust 1.23.0 or later is required to build librespot. Rust 1.27.0 or later is required to build librespot.
**If you are building librespot on macOS, the homebrew provided rust may fail due to the way in which homebrew installs rust. In this case, uninstall the homebrew version of rust and use [rustup](https://www.rustup.rs/), and librespot should then build. This should have been fixed in more recent versions of Homebrew, but we're leaving this notice here as a warning.** We recently switched to using [Rodio](https://github.com/tomaka/rodio) for audio playback by default, hene for macOS and Windows, you should just be able to clone and build librespot (with the command below). For linux, you will need to run the additional commands below, depending on your distro.
**We strongly suggest you install rust using rustup, for ease of installation and maintenance.**
It also requires a C, with portaudio.
On debian / ubuntu, the following command will install these dependencies : On debian / ubuntu, the following command will install these dependencies :
```shell ```shell
sudo apt-get install build-essential portaudio19-dev sudo apt-get install build-essential libasound2-dev
``` ```
On Fedora systems, the following command will install these dependencies : On Fedora systems, the following command will install these dependencies :
```shell ```shell
sudo dnf install portaudio-devel make gcc sudo dnf install alsa-lib-devel make gcc
```
On macOS, using homebrew :
```shell
brew install portaudio
``` ```
Once you've cloned this repository you can build *librespot* using `cargo`. Once you've cloned this repository you can build *librespot* using `cargo`.