Commit Graph

133 Commits

Author SHA1 Message Date
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
Wampe
d92c09740c Reverted to Path.Combine and removed the wrong backslash (comment by JohnnyCrazy at github) 2015-08-02 23:02:37 +02:00
Wampe
6ec8926a4f Fixed process start for application and webhelper 2015-08-02 21:48:31 +02:00
Johnny Dellinger @PC
63fc82807a Removed nuspec... 2015-07-26 17:59:47 +02:00
Johnny Dellinger @PC
7d6fdcdcd9 Moved NuSpec 2015-07-26 17:01:16 +02:00
Johnny Dellinger @PC
214484a7c0 More models rearranged 2015-07-26 14:03:53 +02:00
Johnny Dellinger @PC
b0f687c994 Rearranged models 2015-07-26 14:02:22 +02:00
Johnny Dellinger @PC
d36a3f3fd9 Addition to last commit + Added snapshot_id to SimplePlaylist 2015-07-26 14:00:17 +02:00
Johnny Dellinger @PC
382fdef3fa Added GetFollowedArtists + more inline documentation 2015-07-26 13:59:13 +02:00
Johnny Dellinger @PC
38e6f55518 Marked AddToQueue as obsolete (info at #24) 2015-07-15 17:41:44 +02:00
Johnny Dellinger @PC
ede69d6380 Rearranged Web-API methods 2015-07-15 17:39:37 +02:00
cory_shivers
9158518994 Fixed null Uri issue when playing adds
Checks for null Uri before attempting to read it
2015-07-14 00:05:16 -05:00
Johnny Dellinger @PC
70fc8ea389 Added .nuget folder 2015-07-07 18:34:59 +02:00
Johnny Dellinger @PC
05283ef254 Disabled XML Comment warnings 2015-07-07 18:25:14 +02:00
Johnny Dellinger @PC
45c71544f9 Full Rewrite & Cleanup (New documentation follows) 2015-07-07 18:11:11 +02:00
Johnny @PC
ee54ea2ff2 Added "is_local" to the PlaylistTrack-Object 2015-03-23 16:35:36 +01:00
salfab
4de230cb8e add documentation to the publicly exposed methods. 2015-03-15 16:45:16 +01:00
salfab
54e0c06e96 note for improvement - bugfix :) 2015-03-12 19:44:54 +01:00
salfab
0de3bf0916 introduce backwards-compatible new signatures that accept a context for playback by URI. 2015-03-12 19:41:25 +01:00
Johnny @PC
98f3bf3952 Added paylist-reordering 2015-02-27 16:28:33 +01:00
Gus Perez (Home)
bd5d77528b Updated constructor to use a default parameter instead of going the overload route. 2015-02-22 11:54:08 -08:00
Gus Perez (Home)
84b28a1aa9 Added beta support to SpotifyLocalAPIClass
Adds support for the spotifybeta.exe and spotifybetawebhelper.exe
version of the Spotify desktop client for Windows.
2015-02-22 11:31:27 -08:00
Johnny @PC
b019e3d0c2 Changed type of ReleaseDate (DateTime --> String). JSON.NET wasn't able to parse some timestamps 2015-02-21 18:42:29 +01:00
Johnny @PC
bf0db02e91 Removed Header overflow 2015-02-21 18:38:47 +01:00
Johnny @PC
1f359dfa74 Fixed GetSavedTracks (Thanks to @whereismyspaceship ) 2015-02-21 18:16:56 +01:00
Johnny @PC
3afbea32a6 Updated to support latest features (Changelog-date: February 11th, 2015) 2015-02-13 00:23:07 +01:00
streibeb
6410c28594 Changed web client instances to dispose after use. 2015-01-02 17:49:39 -06:00
streibeb
3cf603b1ad Fixed Unhandled Exceptions Thrown by Web Client
Unhandled exception with the message "WebClient does not support
concurrent I/O operations" being thrown by query

Created asynchronous query function, and additionally created separate
instances of query for each method.
2015-01-02 15:57:12 -06:00
streibeb
faa7542259 Fixed GetAlbumArtURL Issue 2014-12-29 16:04:59 -06:00
Johnny @PC
cbd248a2fe - Updated. (Changelog-date: November 11th, 2014)
- Improved HTTPServer
- Ordered methods in SpotifyWebApiCass
- Added various models for the new endpoints
2014-12-04 18:18:11 +01:00
Johnny @PC
544136e7c0 Addition to last commit | Added ability to queue songs 2014-08-05 18:56:29 +02:00
Johnny @PC
763c095818 Changed 'SpotifyAPIExample' to 'SpotifyLocalAPIExample' 2014-08-05 18:52:35 +02:00
Johnny @PC
0b78f12df3 Added support for Spotify's Web API
- New Namespaces
   -> SpotifyAPI.SpotifyLocalAPI
   -> SpotifyAPI.SpotifyWebAPI
   -> SpotifyAPI.SpotifyWebAPI.Models
- Wiki created, examples coming soon
- Added example for the new Web API
- README updated
2014-07-20 22:42:46 +02:00
Johnny @PC
28e61c638b Reset Buildpath | Removed DLL in main Folder | Made a 5000ms delay for Spotify to run 2014-02-17 13:03:00 +01:00
Johnny @PC
76f3a8716b Fixxed GetCFID (null-object check) | Implemented ExtendedWebClient with Timeout var | Example App updated | Fixxed Event Timer stopping randomly 2014-02-17 12:58:15 +01:00
Johnny @PC
659a45fdf5 Fixxed Login Issues | 2014-02-14 13:04:45 +01:00
Johnny @PC
69e69f9cf5 Added Docs/Fixxed Spelling URI --> URL 2014-02-13 14:23:52 +01:00
Johnny @PC
03a18e0bdf Cleaned up Imports and made IsValidSpotifyURL static 2014-02-06 13:55:47 +01:00
Johnny @PC
a779063f76 Changed WebClient handling/Added Exceptions 2014-02-01 20:34:23 +01:00
Johnny @PC
62bb797150 Added Files 2014-02-01 13:52:33 +01:00
Johnny @PC
247bddd685 blah 2014-01-10 08:09:14 +01:00
Johnny @PC
cae9f34acf Added alot 2014-01-08 23:22:54 +01:00
Johnny-Laptop
0d55f4d36b Initial Commit 2014-01-07 16:26:03 +01:00