Petr Houška
80f58df929
Fixed rest of awaits.
2016-09-08 12:06:24 +02:00
Petr Houška
a67305cb14
Reworked async/await in WebAPI
2016-09-08 08:30:33 +02:00
Jonas Dellinger
dd2b39292a
Added OpenGraphState, got removed somehow?!
2016-09-03 00:44:51 +02:00
Jonas Dellinger
e0357ef2b1
Updated Port to HTTPS-Version
2016-09-03 00:40:55 +02:00
Jonas Dellinger
ec32ba8c06
Fixed small misspelling 'shuffle'
2016-09-03 00:40:31 +02:00
Jonas Dellinger
ce376a3513
Fixed wrong comparing of track objects
2016-08-28 22:35:47 +02:00
Johnny @PC
8bee9f2127
Code cleanup/docs in SpotifyWebAPI.cs
2016-08-24 13:17:46 +02:00
Petr Houška
83ea4cd9e7
Fixed docs for RetryErrorCodes.
2016-08-23 19:18:04 +02:00
Petr Houška
9952f3e939
Generalized Download list functions.
2016-08-23 19:13:11 +02:00
Petr Houška
4598410016
Fixed UseAutoRetry doc comment.
2016-08-23 18:44:17 +02:00
Petr Houška
78387da0ef
Turned automatic retry off by default.
2016-08-14 04:29:01 +02:00
Petr Houška
4b05542696
Added timeout for retry.
2016-08-14 04:27:32 +02:00
Petr Houška
ea317dcbeb
Removes duplicated code + adds support for retry to Alt functions.
2016-08-14 04:14:16 +02:00
Petr Houška
cf2d2f632b
Removed code duplicity.
2016-08-14 03:49:39 +02:00
Petr Houška
0250131345
Updates Download and UploadData functions.
2016-08-14 03:39:35 +02:00
Petr Houška
9ccd257f43
Removed some code duplication.
2016-08-14 03:24:09 +02:00
Johnny @PC
0f993ceda5
Cleanup HTTPServer and more stuff
2016-07-31 16:24:27 +02:00
Johnny @PC
0cefd0ac13
Removed wrong factory
2016-07-31 16:19:58 +02:00
Johnny @PC
417869548a
Added additional constructor to WebAPIFactory
2016-07-31 16:18:42 +02:00
Jonas Dellinger
409a444d53
Merge pull request #92 from jholzer/master
...
Stability improvement:
2016-07-31 15:56:17 +02:00
Jürgen
4699246068
Adapted code style
2016-07-30 00:19:57 +02:00
Jürgen
1699519c95
Renamed AuthenticationFactory to WebApiFactory (better description of what the class does...)
2016-07-24 23:58:45 +02:00
Jonas Dellinger
a5c584a8d9
Merge pull request #94 from nphmuller/NullRefInApiCall
...
Added null check to fix NullReferenceException in api call.
2016-07-23 23:47:24 +02:00
Nick Muller
c3a63d71e4
Added empty json container if server response is empty.
...
This fixes a possible NullReferenceException, which at least occurred in every call to SaveAlbums().
2016-07-23 23:35:23 +02:00
Jürgen
961f25a487
- Changes from manual reading of header content to Linq-approach (pro: no more chance of deadlocks in StreamReadLine)
...
- Flush output stream and close it
2016-07-23 19:53:02 +02:00
Jonas Dellinger
0b259c3da1
Merge pull request #93 from nphmuller/CheckSavedAlbumsUrl
...
Corrected url in CheckSavedAlbum method.
2016-07-23 19:40:56 +02:00
Nick Muller
59f9c1aa98
Corrected url in CheckSavedAlbum method.
2016-07-23 18:36:15 +02:00
Jürgen Holzer
08137421ea
Timer should be disabled and events detached if no longer needed.
...
So IDisposable is introduced which handles the above...
2016-07-22 21:38:58 +02:00
Jürgen Holzer
234a522f8f
Cleaning up after timeout
...
Proper Re-Use is now possible
2016-07-20 09:56:05 +02:00
Jürgen
d21e84476c
AuthenticationFactory
2016-07-19 21:15:22 +02:00
Jürgen
8dde236256
Stability improvement:
...
Processing in separate threat may cause racing condition and timeouts in browser.
By putting processing in original threat we get a more sequential processing and more stability.
2016-07-19 00:04:27 +02:00
Jürgen
14210f3654
Fix:
...
In WPF application the HttpProcessor was newer released and got stuck in method "StreamReadLine".
This causes the application to stay alive with a zombie-process...
By introducing IDisposable-interface containing an "active" flag we can shut the processor down.
putting the processor in "using" it will be disposed once HttpServer is shut down.
2016-07-17 00:59:53 +02:00
Max Froehlich
3a9a49e3df
Fixed bug with volume control when spotify is in system tray
2016-07-13 11:45:15 -04:00
Johnny @PC
abc08873a2
Fixed wrong visibility in BasicModel
2016-07-07 21:55:12 +02:00
Johnny @PC
80dd574c4b
Fixed Tests with adding ResponseInfo.Empty
2016-07-07 21:38:07 +02:00
Johnny @PC
15d8fd87e2
Merged headers branch
2016-07-07 21:28:02 +02:00
Johnny @PC
8bde0643c4
Added alternative way to get the next page
2016-05-24 18:30:19 +02:00
Johnny @PC
a4c76ec6e3
Fixed usage of wrong WebClient instance
2016-05-24 18:17:24 +02:00
Erin O'Connell
e3700394f3
GetAlbumArtUrl() fix
...
Fixed GetAlbumArtUrl
2016-04-02 16:11:57 +02:00
Johnny @PC
ca4bd1edaf
Added Top artists/tracks
2016-04-01 14:08:06 +02:00
Johnny @PC
8c0d765eef
Added Recommendation Endpoints
2016-04-01 13:23:11 +02:00
Johnny @PC
7bb0cc6391
Fixed wrong type and name in SimpleTrack
2016-04-01 13:22:30 +02:00
Johnny @PC
adeac7b409
Simplified String -> string
2016-03-31 12:08:23 +02:00
Johnny @PC
c8637e32a9
Added AudioFeatures / Moved Several* to their own files
2016-03-31 12:07:29 +02:00
Johnny @PC
8d274164c4
Tweaked SpotifyURI, moved parsing to a static method
2016-03-21 15:48:50 +01:00
eltoncezar
c1dc2313cb
Error Handling
2016-03-21 08:56:06 -03:00
eltoncezar
1c5f6899eb
First Implementation of SpotifyUri
...
Following JohnnyCrazy's directives.
2016-03-20 01:02:15 -03:00
eltoncezar
a13aadc986
New method GetId
...
Just a simple way to get the track id to use in the Web API.
2016-03-17 19:03:01 -03:00
eltoncezar
0cda8e2219
Typo fix
...
Changed SpotifyAPI.Web.Enums.Scope.UserLibrarayRead to UserLibraryRead
2016-03-17 11:46:12 -03:00
Johnny @PC
8afd134769
Updated all libs
2016-03-05 14:32:50 +01:00
Johnny @PC
58f63589ad
Updated Newtonsoft.Json to 8.0.2
2016-03-05 13:49:54 +01:00
Johnny @PC
fa82877851
Added support for Playlist-searching (Also: SimpleArtist -> FullArtist)
2016-03-05 13:46:55 +01:00
Jonas Dellinger
507cf4dda7
Merge pull request #70 from JimmyAppelt/events
...
Events
2016-01-22 23:15:19 +01:00
Chris
dcd038b7df
fixed fullalbum being converted to savedalbum
...
when querying full albums, it wasn't deserizaling it correctly. it was
trying to force it into a saved album, not a full album
2016-01-21 23:51:59 -05:00
Jimmy Appelt
017161cb54
delegates/events to newer usage
2016-01-07 09:23:58 +01:00
Johnny @PC
82d1af1a4e
Possible fix for volume-control
2015-12-22 20:44:42 +01:00
Vijay Santhanam
419bd6293b
Properly dispose http server
...
When using the AuthorizationCodeAuth flow, the HTTP server should be stopped properly like in ImplicitGrantAuth
2015-12-08 12:10:41 +11:00
Johnny @PC
8b67917682
Forgot to add SavedAlbum-Object...
2015-12-07 14:13:24 +01:00
Johnny @PC
8017a02a10
Added support for /me/album endpoints
2015-12-07 14:08:23 +01:00
Jonas Dellinger
59bdd4b47d
Merge pull request #61 from CVertex/patch-2
...
Use separator when joining string attributes
2015-12-07 13:52:16 +01:00
Vijay Santhanam
380c6e4c6f
Use separator when joining string attributes
2015-12-07 23:30:00 +11:00
Vijay Santhanam
fc6c849c27
Change type to album_type as per API docs
...
When filtering by album type, the parameter is not type, but album_type
See https://developer.spotify.com/web-api/get-artists-albums/
2015-12-07 16:44:13 +11:00
Daniel Häfele
c981b35085
Remove setting the WebClient.Proxy to null
...
It should be fine in most of the cases to just use the system proxy settings.
If anyone has issues with this approach, we can still make the WebClient.Proxy setting configurable somehow.
2015-11-26 21:17:37 +01:00
Johnny @PC
f320dae4ce
Implemented own client for async-requests (Should close #55 )
2015-11-15 20:54:30 +01:00
Johnny @PC
323561909e
Added HasNextPage and HasPreviousPage to Paging-Objects.
...
Renamed Next and Previous to GetNextPage and GetPreviousPage
2015-11-07 20:18:39 +01:00
Johnny @PC
095967ff4b
Fixed wrong limit calculation. (I think I was drunk or something...)
2015-11-06 21:08:53 +01:00
Johnny @PC
85a7bf6101
Finished ASync Implementation.
2015-11-06 20:57:03 +01:00
Johnny @PC
b2f8c2a67a
Merge branch 'wepapi-async' into web-async
2015-11-06 20:36:07 +01:00
Johnny @PC
5fd96c027c
Added all Builder-Methods
2015-11-06 20:34:35 +01:00
Jimmy Appelt
c51a267924
CM Clean
2015-11-06 19:56:50 +01:00
Jimmy Appelt
a913f1d459
Added 3 compilebreakers on Todo Items
2015-11-06 19:44:52 +01:00
Jimmy Appelt
d3b6913690
Removed Task.FromResult where not needed
2015-11-06 19:31:20 +01:00
Jimmy Appelt
a6c3d33abc
Added Async Methods for Playlists/Profiles/Tracks
2015-11-06 19:21:30 +01:00
Jimmy Appelt
dca8d5e3de
Corrected all _builder method names until Playlists
2015-11-06 18:08:24 +01:00
Jimmy Appelt
9bb25a8160
Corrected syntax mistake in SaveTracksAsync method
2015-11-06 15:21:04 +01:00
Jimmy Appelt
ab05201bd2
Changed UploadData query to _builder
2015-11-06 15:15:14 +01:00
Jimmy Appelt
92e66ed4c3
Removed parameter checks
2015-11-06 14:57:20 +01:00
Jimmy Appelt
f182b5ea99
Added Async Methods for Search/Albums/Artists/Browse/Follow/Library
2015-11-06 14:36:08 +01:00
Johnny @PC
0dd94eaf41
Implemented Async-Structure.
2015-11-05 21:20:22 +01:00
Johnny Dellinger @PC
96bcb7bd36
Some more refactoring.
2015-10-28 17:05:09 +01:00
mrnikbobjeff
3544c34176
Changed Contracts to if-throw-else as requested
...
Changed use of nullable return types to throw exceptions instead of returning null
2015-10-23 21:25:13 +02:00
mrnikbobjeff
e5e57c3020
Removed infinite loop in dispose call
...
Imporved spelling in new commits
2015-10-21 13:18:57 +02:00
mrnikbobjeff
4f83ac068f
Updated documentation for new functions
2015-10-17 11:58:38 +02:00
mrnikbobjeff
d5635f060e
Improved readability with codemaid in VolumMixerControl.cs
2015-10-17 11:57:26 +02:00
mrnikbobjeff
53ff432425
Removed nircmd.exe
...
Changed Mute and UnMute function to work with both x86 and x64 processes on Windows 7 or newer
Added functions to manipulate the Volume Control of Spotify
2015-10-17 11:55:27 +02:00
mrnikbobjeff
49441bba95
Formatted and beautified code via codemaid
...
Organised using statements alphabetically
2015-10-17 00:44:35 +02:00
mrnikbobjeff
e4f30cb736
Changed Ruleset back to original
2015-10-17 00:39:11 +02:00
mrnikbobjeff
10c8944e05
Replaced all occurances of checking whether a string is empty via str == "" with String.IsNullOrEmpty(str)
...
sealed StringAttribute because it is only contains text as attribute
sealed SpotifyWebAPI class as it implements IDisposable
Changed Exception catching where the Exception is not used to ignore the Exception object
Removed Console.WriteLine("Exception: " + e.Message) int HttpProcessor.Process as it is a library function which might not be used in a console application
2015-10-17 00:31:01 +02:00
mrnikbobjeff
861f4e5969
Added support for different locations of SpotifyWebHelper.exe
2015-10-16 13:54:39 +02:00
Jonas Dellinger
bc384b8a52
Merge pull request #49 from JimmyAppelt/master
...
Added GetAlbumArtAsByteArrayAsync and GetAlbumArtAsByteArray, Closes #47
2015-10-15 14:59:32 +02:00
Johnny Dellinger @PC
5c3c354c26
Added docs to the Local-API
2015-10-15 14:58:23 +02:00
Jimmy Appelt
200648676f
Added two methods issue #47
2015-10-10 20:51:21 +02:00
Jonas Dellinger
f09c52a60c
Update ImplicitGrantAuth.cs
...
fixed spelling mistake
2015-10-05 16:22:08 +02:00
Jimmy Appelt
14b94aebb5
Fix crash when playing form related artist tab
2015-10-03 16:16:07 +02:00
Jimmy Appelt
69d2d708c5
Removed - blank lines
2015-10-02 21:10:44 +02:00
Jimmy Appelt
be4ae2baaf
Track Length check to confirm video ad is playing
2015-10-02 21:02:52 +02:00
Johnny Dellinger @PC
006f085c4b
Fixed HTTP-Server, it's now throwing exceptions. ( Closes #38 )
2015-10-01 17:31:42 +02:00
Johnny Dellinger @PC
d1f1923738
Fixed crash on adverts, Closes #34
2015-10-01 17:28:40 +02:00
Jimmy Appelt
7f8f085f42
Added AlbumResource Check
2015-09-18 02:55:41 +02:00
Johnny Dellinger @PC
d8e3238f09
Made port variable and adapted example to use port 8000
2015-09-08 15:35:07 +02:00