Table of Contents

Class EternalBoxSpotify

Namespace
Nyra.Entities
Assembly
Nyra.dll

Spotify cross-reference of an EternalBox track.

public sealed record EternalBoxSpotify : IEquatable<EternalBoxSpotify>
Inheritance
EternalBoxSpotify
Implements
Inherited Members

Remarks

NodeLink only.

Properties

ArtworkUrl

The artwork of the track on Spotify, null when the server sent none.

[JsonPropertyName("artworkUrl")]
[JsonInclude]
public string? ArtworkUrl { get; }

Property Value

string

DurationMs

Spotify's own duration of the track, null when Spotify did not report one.

[JsonPropertyName("durationMs")]
[JsonInclude]
[JsonConverter(typeof(RoundedInt64Converter))]
public long? DurationMs { get; }

Property Value

long?

Id

Spotify track id, NodeLink falls back to the EternalBox identifier when Spotify reported none.

[JsonPropertyName("id")]
[JsonInclude]
public string? Id { get; }

Property Value

string

Remarks

Null when the server sent none.

Isrc

The ISRC of the track on Spotify, null when the server sent none.

[JsonPropertyName("isrc")]
[JsonInclude]
public string? Isrc { get; }

Property Value

string

PreviewUrl

A preview clip of the track on Spotify, null when the server sent none.

[JsonPropertyName("previewUrl")]
[JsonInclude]
public string? PreviewUrl { get; }

Property Value

string

Url

Spotify page of the track, falls back to the original source page when Spotify reported no URL.

[JsonPropertyName("url")]
[JsonInclude]
public string? Url { get; }

Property Value

string

Remarks

Null when the server sent none.