Commit Graph

782 Commits

Author SHA1 Message Date
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
Jürgen
f13ac73671 restore original .gitignore 2016-07-24 23:54:13 +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
f0290fa037 WebControl with new AuthenticationFactory 2016-07-19 21:16:03 +02:00
Jürgen
d21e84476c AuthenticationFactory 2016-07-19 21:15:22 +02:00
Jürgen
0130c96c54 - Changed Listener handling to asynchronious handling
+ New: AuthenticationFactory for awaitatble getting of fully initalized SpotifyWebApi
- Changed demo-app to usage of AuthenticationFactory
2016-07-19 21:14:42 +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
Jonas Dellinger
0ab2952e18 Merge pull request #91 from jholzer/master
Fix in HttpProcessor
2016-07-17 20:00:19 +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
Jonas Dellinger
74c7761d6d Merge pull request #90 from mfro/master
Fixed bug with volume control when spotify is in system tray
2016-07-16 18:32:11 +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
Jonas Dellinger
8a156ff9e5 Merge pull request #76 from eltoncezar/master
Implemented SpotifyUri in the LocalAPI
2016-03-21 14:53:03 +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
fd8572bf93 Typo fix
Forgot to include this in the last commit
2016-03-17 18:58:10 -03:00
eltoncezar
0cda8e2219 Typo fix
Changed SpotifyAPI.Web.Enums.Scope.UserLibrarayRead to UserLibraryRead
2016-03-17 11:46:12 -03:00
Johnny @PC
51d4b19370 Fixed Test-Fixture path (hopefully?) 2016-03-05 17:02:34 +01:00
Johnny @PC
33f27df273 Removed obsolte .nuget folder 2016-03-05 16:26:40 +01:00
Johnny @PC
4fe00c0f0e Tweaked Test and some Lib modifications 2016-03-05 16:24:54 +01: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
a010067e96 Exchanged NuGet-status image 2016-02-26 15:41:24 +01:00
Jonas Dellinger
507cf4dda7 Merge pull request #70 from JimmyAppelt/events
Events
2016-01-22 23:15:19 +01:00
Jonas Dellinger
85307272ec Merge pull request #72 from cwsterling/master
fixed fullalbum being converted to savedalbum
2016-01-22 23:15:14 +01:00