mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 14:46:26 +00:00
Added TrackMeta and TrackAudio, closes #648
This commit is contained in:
parent
8e8f3c9c85
commit
4340515471
31
SpotifyAPI.Web/Models/Response/TrackAudio.cs
Normal file
31
SpotifyAPI.Web/Models/Response/TrackAudio.cs
Normal file
@ -0,0 +1,31 @@
|
||||
namespace SpotifyAPI.Web
|
||||
{
|
||||
public class TrackAudio
|
||||
{
|
||||
public float Duration { get; set; }
|
||||
public string SampleMd5 { get; set; } = default!;
|
||||
public int OffsetSeconds { get; set; }
|
||||
public int WindowSeconds { get; set; }
|
||||
public int AnalysisSampleRate { get; set; }
|
||||
public int AnalysisChannels { get; set; }
|
||||
public float EndOfFadeIn { get; set; }
|
||||
public float StartOfFadeOut { get; set; }
|
||||
public float Loudness { get; set; }
|
||||
public float Tempo { get; set; }
|
||||
public float TempConfidence { get; set; }
|
||||
public int TimeSignature { get; set; }
|
||||
public float TimeSignatureConfidence { get; set; }
|
||||
public int Key { get; set; }
|
||||
public float KeyConfidence { get; set; }
|
||||
public int Mode { get; set; }
|
||||
public float ModeConfidence { get; set; }
|
||||
public string Codestring { get; set; } = default!;
|
||||
public float CodeVersion { get; set; }
|
||||
public string Echoprintstring { get; set; } = default!;
|
||||
public float EchoprintVersion { get; set; }
|
||||
public string Synchstring { get; set; } = default!;
|
||||
public float SynchVersion { get; set; }
|
||||
public string Rhythmstring { get; set; } = default!;
|
||||
public float RhythmVersion { get; set; }
|
||||
}
|
||||
}
|
@ -9,6 +9,8 @@ namespace SpotifyAPI.Web
|
||||
public List<Section> Sections { get; set; } = default!;
|
||||
public List<Segment> Segments { get; set; } = default!;
|
||||
public List<TimeInterval> Tatums { get; set; } = default!;
|
||||
public TrackAudio Track { get; set; } = default!;
|
||||
public TrackMeta Meta { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
|
15
SpotifyAPI.Web/Models/Response/TrackMeta.cs
Normal file
15
SpotifyAPI.Web/Models/Response/TrackMeta.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace SpotifyAPI.Web
|
||||
{
|
||||
public class TrackMeta
|
||||
{
|
||||
public float AnalysisTime { get; set; }
|
||||
public string AnalyzerVersion { get; set; } = default!;
|
||||
public string DetailedStatus { get; set; } = default!;
|
||||
public string InputProcess { get; set; } = default!;
|
||||
public string Platform { get; set; } = default!;
|
||||
public int StatusCode { get; set; } = default!;
|
||||
public long Timestamp { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user