mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-04-27 03:53:10 -04:00
32 lines
952 B
C#
32 lines
952 B
C#
namespace allstarr.Models.Settings;
|
|
|
|
/// <summary>
|
|
/// Configuration for the Qobuz downloader and metadata service
|
|
/// </summary>
|
|
public class QobuzSettings
|
|
{
|
|
/// <summary>
|
|
/// Qobuz user authentication token
|
|
/// Obtained from browser's localStorage after logging into play.qobuz.com
|
|
/// </summary>
|
|
public string? UserAuthToken { get; set; }
|
|
|
|
/// <summary>
|
|
/// Qobuz user ID
|
|
/// Obtained from browser's localStorage after logging into play.qobuz.com
|
|
/// </summary>
|
|
public string? UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Preferred audio quality: FLAC, MP3_320, MP3_128
|
|
/// If not specified or unavailable, the highest available quality will be used.
|
|
/// </summary>
|
|
public string? Quality { get; set; }
|
|
|
|
/// <summary>
|
|
/// Minimum interval between requests in milliseconds.
|
|
/// Default: 200ms
|
|
/// </summary>
|
|
public int MinRequestIntervalMs { get; set; } = 200;
|
|
}
|