mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
Added docs for configuration
This commit is contained in:
parent
9e6c11818f
commit
4351d21fd7
@ -40,6 +40,18 @@ public static void Main(String[] args)
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
Different spotify versions often require different configuration. Some versions run their web-helper on port `4371`, others on `4381`. Also, some use `https`, and others use `http`. You can use `SpotifyLocalAPIConfig` to configure the API:
|
||||||
|
|
||||||
|
```cs
|
||||||
|
_spotify = new SpotifyLocalAPI(new SpotifyLocalAPIConfig
|
||||||
|
{
|
||||||
|
Port = 4371,
|
||||||
|
HostUrl = "https://127.0.0.1"
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
## Anti-Virus Blocking Response
|
## Anti-Virus Blocking Response
|
||||||
|
|
||||||
Some Anti-Virus Software blocks the response from spotify due wrong headers.
|
Some Anti-Virus Software blocks the response from spotify due wrong headers.
|
||||||
|
Loading…
Reference in New Issue
Block a user