fix: preserve download server affinity

This commit is contained in:
edde746
2026-04-09 04:51:35 +02:00
parent 5b493a70b0
commit 966b6371f5
2 changed files with 57 additions and 19 deletions
+1
View File
@@ -340,6 +340,7 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
PlexApiCache.initialize(_appDatabase);
_downloadManager = DownloadManagerService(database: _appDatabase, storageService: DownloadStorageService.instance);
_downloadManager.setClientResolver(_serverManager.getClient);
_downloadManager.recoveryFuture = _downloadManager.recoverInterruptedDownloads();
_offlineWatchSyncService = OfflineWatchSyncService(database: _appDatabase, serverManager: _serverManager);