-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added TrackMeta and TrackAudio, closes #648
- Loading branch information
1 parent
8e8f3c9
commit 4340515
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; } | ||
} | ||
} |