mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
feat: add startup validation for Subsonic and Deezer connectivity
This commit is contained in:
@@ -44,7 +44,6 @@ public class DeezerDownloadService : IDownloadService
|
||||
|
||||
private string? _apiToken;
|
||||
private string? _licenseToken;
|
||||
private bool _usingFallback;
|
||||
|
||||
private readonly Dictionary<string, DownloadInfo> _activeDownloads = new();
|
||||
private readonly SemaphoreSlim _downloadLock = new(1, 1);
|
||||
@@ -402,7 +401,6 @@ public class DeezerDownloadService : IDownloadService
|
||||
if (!string.IsNullOrEmpty(_arlFallback))
|
||||
{
|
||||
_logger.LogWarning(ex, "Primary ARL failed, trying fallback ARL...");
|
||||
_usingFallback = true;
|
||||
return await tryDownload(_arlFallback);
|
||||
}
|
||||
throw;
|
||||
|
||||
Reference in New Issue
Block a user