diff --git a/SpotifyAPI.Docs/docs/SpotifyLocalAPI/index.md b/SpotifyAPI.Docs/docs/SpotifyLocalAPI/index.md index ff9bcb77..5c3d5e3b 100644 --- a/SpotifyAPI.Docs/docs/SpotifyLocalAPI/index.md +++ b/SpotifyAPI.Docs/docs/SpotifyLocalAPI/index.md @@ -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 Some Anti-Virus Software blocks the response from spotify due wrong headers.