Commit Graph

177 Commits

Author SHA1 Message Date
XY Wang
1281ce8732
Add SupportsVolume in Device response (#971) 2024-05-10 08:51:14 +02:00
Andrew Garvin
7bdaf060de
Minor documentation update (#969) 2024-05-07 23:18:04 +02:00
Farkas Olivér
b74f5c2148
Update RecommendationsResponse to match Spotify API (#950) 2024-02-27 21:29:20 +01:00
Jonas Dellinger
dcec5467a8 fix null checks and duplicate EOL 2024-02-10 13:52:30 +01:00
XY Wang
d5059820b6
Add Locale param (#835)
* Add Locale

* Add ArtistRequest, ArtistsRelatedArtistsRequest

* Add ArtistRequest, ArtistsRelatedArtistsRequest

* Add Locale
2024-02-10 12:56:59 +01:00
Jonas Dellinger
78d2ff0b71 fix .net8 format with conditionals 2024-02-10 12:15:58 +01:00
Jonas Dellinger
70ef00a41e fix .net8 format 2024-02-10 12:02:50 +01:00
Jonas Dellinger
2bff224ef1 add .net8 support 2024-02-10 11:57:47 +01:00
Jonas Dellinger
78cc5a78da enable unused import warning and format code 2024-02-10 11:42:55 +01:00
Jonas Dellinger
4f94b564ea add HtmlDescription and TotalEpisodes fields 2024-02-10 11:42:37 +01:00
Lewis-Fam
9dbd210a2f
Fixed issues #926, and #928. (#942)
* Fixed issues #926, and #928.
Added JsonConverter attributes to properties.

* Fixed complier warning CA1305
2024-02-10 11:03:22 +01:00
dependabot[bot]
0fe33df65a
Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 (#941)
Bumps [Microsoft.SourceLink.GitHub](https://github.com/dotnet/sourcelink) from 1.1.1 to 8.0.0.
- [Release notes](https://github.com/dotnet/sourcelink/releases)
- [Commits](https://github.com/dotnet/sourcelink/compare/1.1.1...8.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.SourceLink.GitHub
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-10 10:58:00 +01:00
Noel Griffin
a27c3729c8
Add Users Top Tracks / Users Top Artists to UserClient (#938)
* add top tracks & artists endpoints

* fix file extenstion

* added TODO

* Add Methods to interface

* Add Top items query class

* implement query into UserProfileClient.cs - Top Requests

* Tidy Up Naming

* Removed random json file change

* Added Tests.

* run formatter

* remove additional namespace

---------

Co-authored-by: Jonas Dellinger <jonas@dellinger.dev>
2024-01-19 19:56:07 +01:00
Jonas Dellinger
a2f434968a fix build: setup pnpm, update image tags and ignore out of date warning for SDK versions 2023-11-03 23:31:40 +01:00
Jonas Dellinger
c5400fc937 re-add .net standard 2.0 support 2023-11-03 23:23:54 +01:00
Jonas Dellinger
4aea443038 use recommendations for latest .NET versions 2023-11-03 22:57:55 +01:00
Jonas Dellinger
16d898b344 add cancellationToken to another override of PaginateAll 2023-11-03 22:50:45 +01:00
andy
fdde87e476
Cancellation token in SpotifyClient::PaginateAll for passing to Paginator (#907)
* adding cancellation token in SpotifyClient::PaginateAll and passing to IPaginator

* adding docstring for cancellation token
2023-11-03 22:43:45 +01:00
Jonas Dellinger
4d577bccf0 remove SimplePlaylist 2023-05-27 22:28:31 +02:00
dependabot[bot]
72a7aad448
Bump Newtonsoft.Json from 13.0.2 to 13.0.3 (#866)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 13.0.2 to 13.0.3.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.2...13.0.3)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 20:54:53 +02:00
dependabot[bot]
ba0e20c5b4
Bump Newtonsoft.Json from 13.0.1 to 13.0.2 (#833)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.2)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-05 15:19:41 +01:00
Jonas Dellinger
cb2e0cccc8 run formatter 2022-11-27 13:29:35 +01:00
Jonas Dellinger
c5485a7183 replace body ids with query parameter ids 2022-11-27 13:07:50 +01:00
Jonas Dellinger
cc90c5afa4 Make Fields List instead of IList, fixes #779 2022-11-18 14:07:19 +01:00
Jonas Dellinger
9b8effe270 RemoveAlbums - send ids via query parameter, fixes #828 2022-11-18 12:59:15 +01:00
Sascha Kiefer
b8a2190168
feat: allow to pass cancellation token to requests (#813)
* feat: implements markets API

* fix: use correct constructor name

* feat: allow to pass a cancellation token

* pass cancellation token

* pass cancellation token only >NETSTANDARD2_1

Co-authored-by: Jonas Dellinger <jonas@dellinger.dev>
2022-11-18 12:30:09 +01:00
Jonas Dellinger
74f3f52dcb Add net7.0 support 2022-11-18 11:38:58 +01:00
Gavin
b39941f523
Adding Endpoint to get a User's Queue (#807)
* Adding support to Get a player queue

* Update to return Tracks and Episodes
2022-11-08 21:58:05 +01:00
Sascha Kiefer
d363789d42
feat: implements markets API (#787)
* feat: implements markets API

* fix: use correct constructor name
2022-08-11 08:54:09 +02:00
Alex Yeo
c5bd9dc7f9
Fix typo in OAuthClient.cs (#757) 2022-05-19 06:06:24 +02:00
dependabot[bot]
01904ac013
Bump Microsoft.SourceLink.GitHub from 1.1.0 to 1.1.1 (#706)
Bumps [Microsoft.SourceLink.GitHub](https://github.com/dotnet/sourcelink) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/dotnet/sourcelink/releases)
- [Commits](https://github.com/dotnet/sourcelink/compare/1.1.0...1.1.1)

---
updated-dependencies:
- dependency-name: Microsoft.SourceLink.GitHub
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-23 21:36:33 +01:00
Jonas Dellinger
5cebb910f7 Updated to .net 6.0 and remove .net-standard2.0 support 2021-11-10 20:12:12 +01:00
dependabot[bot]
9f0fca6a6b
Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.0 (#701)
Bumps [Microsoft.SourceLink.GitHub](https://github.com/dotnet/sourcelink) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/dotnet/sourcelink/releases)
- [Commits](https://github.com/dotnet/sourcelink/compare/1.0.0...1.1.0)

---
updated-dependencies:
- dependency-name: Microsoft.SourceLink.GitHub
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 18:56:54 +01:00
Jonas Dellinger
a340eaf43c Also update authenticator if new refresh token was returned 2021-09-28 22:30:52 +02:00
Jonas Dellinger
9ca573f748
Add RefreshToken to AuthorizationCodeRefreshResponse 2021-08-20 16:11:19 +02:00
Jonas Dellinger
4340515471 Added TrackMeta and TrackAudio, closes #648 2021-08-11 19:04:04 +02:00
Pawel Bojkowski
c4704abae4
Fixing #607 + Refactoring (#608)
* Fixing #607 + Refactoring

Added me/episodes and done some refactoring

* Fixing LibrarySaveEpisodesRequest #607

Fixing the remove of epsides.

* Fixed some issues after review #608

* Fixing some small issues

Co-authored-by: DEV-PBO-DEV <72922549+DEV-PBO-DEV@users.noreply.github.com>
2021-08-10 22:17:51 +02:00
Jonas Dellinger
16a831ad40 Some smaller fixes and ignore case when parsing type of iplayableitem, fixes #604 2021-05-01 17:11:24 +02:00
muhmuhhum
d72235e42b
Add TotalTracks to SimpleAlbum.cs and FullAlbum.cs (#597) 2021-04-17 23:38:59 +02:00
Jonas Dellinger
ddb1dc0cc0 PlayHistoryItem SimpleTrack --> FullTrack, fixes #591 2021-04-15 17:25:36 +02:00
dependabot[bot]
9e344283b4
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 (#584)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 16:40:11 +02:00
Jonas Dellinger
aab8c5ddcb
Fix potential race condition inside RequestParams (#571) 2021-03-03 09:36:46 +01:00
Jonas Dellinger
81245b2339 Fix Paginate not being available in >NETSTANDARD2_1 2021-03-02 12:19:55 +01:00
Jonas Dellinger
237925d51e Added paging methods, closes #538 2020-12-28 17:23:59 +01:00
Jonas Dellinger
8dd31420ea Updated to .NET analyzers and fixed warnings 2020-12-26 18:28:44 +01:00
dependabot[bot]
7048f451e2
Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 3.3.1 to 3.3.2 (#543)
Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md)
- [Commits](https://github.com/dotnet/roslyn-analyzers/compare/v3.3.1...v3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 16:29:38 +01:00
Jonas Dellinger
adfc64b957 Added publishing to CI/CD if tag is present 2020-11-14 10:21:38 +01:00
Jonas Dellinger
3fa69c56f0 Update to .NET 5.0 2020-11-13 14:43:00 +01:00
dependabot-preview[bot]
7ebaa31f8d
Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 3.3.0 to 3.3.1 (#523)
Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md)
- [Commits](https://github.com/dotnet/roslyn-analyzers/compare/v3.3.0...v3.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-31 23:50:08 +01:00
Jonas Dellinger
8f17ee908c Use 200 as success code in SaveAlbum/SaveTracks/SaveShows, closes #496 2020-08-27 14:07:49 +02:00