mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
c4704abae4
* 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>
22 lines
544 B
C#
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; }
|
|
}
|
|
}
|
|
|