Commit Graph

55 Commits

Author SHA1 Message Date
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
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
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
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
629a09a980 Removed Proxy = null 2017-05-31 18:24:22 +02:00
Henning M. Stephansen
ba03526f19 #134 Adds User-Agent in the OAuth request due to recent changes in the Spotify API 2017-03-09 21:58:48 +01:00
Jonas Dellinger
281b684f5f Changed Host to 127.0.0.1 and added SSL workaround 2016-09-30 12:17:19 +02:00
Jonas Dellinger
ec8b7a3d3d Made some LocalAPI methods async - Updated example, now without SynchronizingObject 2016-09-09 14:56:37 +02:00
Jonas Dellinger
3c82b0376b Merge pull request #106 from petrroll/configureAwaitFix
Configure await fix + removed bunch of unnecessary async/await before return
2016-09-09 14:47:09 +02:00
Petr Houška
3e7265a657 Async methods return Tasks instead of void. 2016-09-08 12:38:37 +02:00
Petr Houška
1ae1f2380a Fixed missed await. 2016-09-08 12:24:16 +02:00
Petr Houška
80f58df929 Fixed rest of awaits. 2016-09-08 12:06:24 +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
Jürgen
4699246068 Adapted code style 2016-07-30 00:19:57 +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
Max Froehlich
3a9a49e3df Fixed bug with volume control when spotify is in system tray 2016-07-13 11:45:15 -04:00
Erin O'Connell
e3700394f3 GetAlbumArtUrl() fix
Fixed GetAlbumArtUrl
2016-04-02 16:11:57 +02:00
Johnny @PC
adeac7b409 Simplified String -> string 2016-03-31 12:08:23 +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
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
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 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
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
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
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