Spotify.NET/SpotifyAPI.Web/Models/Response/CurrentlyPlaying.cs
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

22 lines
544 B
C#

using Newtonsoft.Json;
namespace SpotifyAPI.Web
{
public class CurrentlyPlaying
{
public Context Context { get; set; } = default!;
public string CurrentlyPlayingType { get; set; } = default!;
public bool IsPlaying { get; set; }
/// <summary>
/// Can be a FullTrack or FullEpisode
/// </summary>
/// <value></value>
[JsonConverter(typeof(PlayableItemConverter))]
public IPlayableItem Item { get; set; } = default!;
public int? ProgressMs { get; set; }
public long Timestamp { get; set; }
}
}