Commit Graph

523 Commits

Author SHA1 Message Date
Alessandro Attard Barbini
dd77be8a8a Added support for proxy configuration (#224)
* Create ProxyConfig class + Unit tests

* Use ProxyConfig in SpotifyLocalAPI

* Refactor WebProxy creation in ProxyConfig

* Use ProxyConfig in SpotifyWebAPI

* Add ProxyConfig parameter in GetAlbumArt methods

* Add ProxyConfig to WebAPIFactory

* Add proxy settings to Example app

* Fix ArgumentNullException in GetAlbumArtUrl when not using proxy

* Performed requested changes

- Removed redundant "this".
- Added necessary null checks.
- Added a ProxyConfig property to SpotifyLocalAPIConfig and removed constructor overloads with it in SpotifyLocalAPI and RemoteHandler.

* Updated Example app
2018-03-25 19:39:19 +02:00
Jonas Dellinger
023520d3de Small code cleanup 2018-03-25 18:32:46 +02:00
Gruhlum
e52b9ef61a Add ReleaseDate (#230) 2018-03-25 18:29:21 +02:00
Lukas Wagner
3c25f49a94 added SnapshotId to FullPlaylist (#227) 2018-03-20 12:30:09 +01:00
Alessandro Attard Barbini
159b60331e Fixed occasional COMException in GetSpotifyVolumeObject (#222)
* Added volume controls in Example app

* Fixed occasional COMException when using Get- or SetSpotifyVolume

This exception only happens if Spotify is using an audio device different from the default one. Such a thing is only possible (as of v1.0.75.483.g7ff4a0dc) when using the "--enable-audio-graph" command line argument, that makes available the "Playback device" advanced option in Spotify.
2018-03-12 00:08:37 +01:00
Jonas Dellinger
4b40a1b477 Fixed DateTime to timestamp int --> double 2018-02-20 20:47:40 +01:00
Jonas Dellinger
05721ef9f7 Added missing docs 2018-01-15 23:32:21 +01:00
Jonas Dellinger
a6ffa961b2 Added another local api port to docs 2018-01-15 23:18:04 +01:00
Jonas Dellinger
2008a6f07f Merge branch 'master' of github.com:JohnnyCrazy/SpotifyAPI-NET 2018-01-15 23:07:57 +01:00
Jonas Dellinger
729565dadb Code Cleanup 2018-01-15 23:07:50 +01:00
Alessandro Attard Barbini
b1365a6fea Fixed Query and QueryAsync methods (#212) 2018-01-15 23:05:58 +01:00
Alessandro Attard Barbini
5ccef6fd14 Raise OnTrackChange event for "other" tracks as well (#204)
* Raise OnTrackChange event for "other" tracks as well

* Add null checks in Example project
2018-01-10 14:56:58 +01:00
Bennet Sunder
aa8e940726 Refactored Query and QueryAsync Methord (#209) 2018-01-10 14:56:50 +01:00
Jonas Dellinger
5559c84990
Added label property to FullAlbum
Fixes #199
2017-11-19 16:53:07 +01:00
Ferdin Handoko
26b5f8054d add api to check if spotify is installed (#193) 2017-11-09 15:37:10 +01:00
Philipp Drebes
a70bc5fc09 Refactored SpotifyUri Parsing (#194)
* refactored SpotifyUri parsing

* unit tests for SpotifyUri class

* added missing file reference in SpotifyAPI.csproj

* updated NuGet packages in SpotifyAPI.Tests and reverted inline TryParse variable declarations in SpotifyUri.cs
2017-11-09 15:36:53 +01:00
Lee Oades
c6d5ebec2f Corrected a spelling mistake (#191) 2017-11-01 12:46:46 +01:00
Jonas Dellinger
0993b4c904 Correct command? 2017-10-27 17:36:20 +02:00
Jonas Dellinger
1efcb8db90 Install correct version of mkdocs 2017-10-27 17:34:51 +02:00
Jonas Dellinger
5a4b756d9c Fix mkdocs JS 2017-10-27 17:30:18 +02:00
Ludovic Debost
fddeb07214 PUT method for SeekPlayback (#190) 2017-10-27 17:23:45 +02:00
Jonas Dellinger
dcf4eefc61 Update auth.md 2017-09-30 23:24:20 +02:00
Jonas Dellinger
4351d21fd7 Added docs for configuration 2017-09-03 14:56:52 +02:00
Jonas Dellinger
9e6c11818f Updated local port and scheme 2017-09-03 14:53:04 +02:00
Jonas Dellinger
1af1d37a35 Moved Encoding to ExtendedWebClient 2017-09-03 14:46:25 +02:00
Jonas Dellinger
163ed9b52f Merge branch 'master' of github.com:JohnnyCrazy/SpotifyAPI-NET 2017-09-03 14:45:10 +02:00
Jonas Dellinger
451d925d7d Added config for spotify local api 2017-09-03 14:44:11 +02:00
tyutony
04c1687cec fixed issues : Have exception if playing Chinese song #171 (#174) 2017-08-29 16:52:34 +02:00
Jonas Dellinger
06adc23abb Added source to publish.cmd 2017-07-16 23:57:02 +02:00
Jonas Dellinger
8f76b4c36f Fixed publish script, please? 2017-07-16 23:52:43 +02:00
Jonas Dellinger
6cf77f58a2 Testing build script 2017-07-16 23:30:40 +02:00
Jonas Dellinger
3ca4578c34 Added nuget commands to the script 2017-07-16 23:14:59 +02:00
Jonas Dellinger
c020172469 Added publish script for nuget 2017-07-16 22:47:06 +02:00
Jim
c74b210120 Changed to PUT method (#167) 2017-07-16 22:28:56 +02:00
Will Graham
17639a9b54 Add Audio Track Analysis models and API endpoint (#161)
* Add Audio Track Analysis models and API endpoint

* Update docs

* Add link to EchoNest archived docs for AudioAnalysis model
2017-07-02 19:37:11 +02:00
Jonas Dellinger
de30c50f0b Create CODE_OF_CONDUCT.md 2017-06-21 21:09:39 +02:00
Alessandro AB
429f5e50b0 Fixed GetAlbumArtUrl always returning empty string (#156)
* Fixed GetAlbumArtUrl always returning empty string

* Simplified the regex pattern
2017-06-20 21:31:41 +02:00
Jim
7ea1a1af48 Update WebApiFactory.cs (#153)
This could fix the ImplicitGrantAuth for http paths without breaking anything. ´TrimEnd` is there for when there is no path (the builder will add a `/` which will make the callback url invalid otherwise.
2017-06-10 21:50:16 +02:00
Jim
7e6cdf563a Update auth.md (#152) 2017-06-07 20:25:17 +02:00
Jim
f4c62377b0 Update auth.md (#151)
Updated scope enum
2017-06-07 20:16:28 +02:00
Jakub Syty
512d3d76ad Async auth support for ClientCredentialsAuth (#148) 2017-06-06 18:56:26 +02:00
shadowlif
a932aaadc8 Added method to check for compatible OS (#147)
* Added method to check for compatible OS

* Standardized const variables

* Fixed typo

* Negation of usage in if's

* Moved const variables

* simplified IsOSCompatible
2017-06-04 00:15:56 +02:00
Jonas Dellinger
3eefa5a2dc Fixed Header add 2017-05-31 19:54:13 +02:00
Jonas Dellinger
629a09a980 Removed Proxy = null 2017-05-31 18:24:22 +02:00
Jonas Dellinger
1c6f317dda Added Status Code to models 2017-05-31 18:17:07 +02:00
Jonas Dellinger
3184d5569b Added docs for some new endpoints 2017-05-31 18:09:45 +02:00
Jonas Dellinger
51c622e64c Merge branch 'new_player_endpoints' of github.com:JohnnyCrazy/SpotifyAPI-NET into new_player_endpoints 2017-05-31 17:32:13 +02:00
Jonas Dellinger
1253d02da7 Switched from WebClient to HTTPClient 2017-05-31 17:31:41 +02:00
Jonas Dellinger
2543ed2f2f Added new player endpoints 2017-05-31 17:31:41 +02:00
Jonas Dellinger
25a21fd342 Switched from WebClient to HTTPClient 2017-05-31 17:25:56 +02:00