Skip to content

Commit e7520be

Browse files
author
Meyn
committed
Fix ILocalizationService for v13
1 parent b0447f5 commit e7520be

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

Submodules/Lidarr

Submodule Lidarr updated 96 files

Tubifarry/Download/Clients/Soulseek/SlskdClient.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using NzbDrone.Core.Download;
88
using NzbDrone.Core.Download.Clients;
99
using NzbDrone.Core.Indexers;
10+
using NzbDrone.Core.Localization;
1011
using NzbDrone.Core.Parser.Model;
1112
using NzbDrone.Core.RemotePathMappings;
1213
using System.Net;
@@ -26,8 +27,8 @@ public class SlskdClient : DownloadClientBase<SlskdProviderSettings>
2627
public override string Name => "Slskd";
2728
public override string Protocol => nameof(SoulseekDownloadProtocol);
2829

29-
public SlskdClient(IHttpClient httpClient, IConfigService configService, IDiskProvider diskProvider, IRemotePathMappingService remotePathMappingService, Logger logger)
30-
: base(configService, diskProvider, remotePathMappingService, logger) => _httpClient = httpClient;
30+
public SlskdClient(IHttpClient httpClient, IConfigService configService, IDiskProvider diskProvider, IRemotePathMappingService remotePathMappingService, ILocalizationService localizationService, Logger logger)
31+
: base(configService, diskProvider, remotePathMappingService, localizationService, logger) => _httpClient = httpClient;
3132

3233
public override async Task<string> Download(RemoteAlbum remoteAlbum, IIndexer indexer)
3334
{

Tubifarry/Download/Clients/YouTube/YoutubeClient.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using NzbDrone.Core.Configuration;
66
using NzbDrone.Core.Download;
77
using NzbDrone.Core.Indexers;
8+
using NzbDrone.Core.Localization;
89
using NzbDrone.Core.Organizer;
910
using NzbDrone.Core.Parser.Model;
1011
using NzbDrone.Core.RemotePathMappings;
@@ -20,7 +21,7 @@ public class YoutubeClient : DownloadClientBase<YoutubeProviderSettings>
2021
private readonly IYoutubeDownloadManager _dlManager;
2122
private readonly INamingConfigService _naminService;
2223

23-
public YoutubeClient(IYoutubeDownloadManager dlManager, IConfigService configService, IDiskProvider diskProvider, INamingConfigService namingConfigService, IRemotePathMappingService remotePathMappingService, Logger logger) : base(configService, diskProvider, remotePathMappingService, logger)
24+
public YoutubeClient(IYoutubeDownloadManager dlManager, IConfigService configService, IDiskProvider diskProvider, INamingConfigService namingConfigService, IRemotePathMappingService remotePathMappingService, ILocalizationService localizationService, Logger logger) : base(configService, diskProvider, remotePathMappingService, localizationService, logger)
2425
{
2526
_dlManager = dlManager;
2627
_naminService = namingConfigService;

0 commit comments

Comments
 (0)