diff --git a/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj b/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj index b440ce3..34a985e 100644 --- a/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj +++ b/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj @@ -1,10 +1,10 @@ - netstandard2.1 + net5.0 Jellyfin.Plugin.ServerWMC - 5.0.0.0 - 5.0.0.0 + 6.0.0.0 + 6.0.0.0 diff --git a/Jellyfin.Plugin.ServerWMC/WMCService.cs b/Jellyfin.Plugin.ServerWMC/WMCService.cs index 09d45ce..6b9f2e3 100644 --- a/Jellyfin.Plugin.ServerWMC/WMCService.cs +++ b/Jellyfin.Plugin.ServerWMC/WMCService.cs @@ -16,6 +16,7 @@ using MediaBrowser.Controller.Drawing; using MediaBrowser.Model.Dto; using System.Net; +using System.Net.Http; using System.Xml.Linq; using MediaBrowser.Model.MediaInfo; using MediaBrowser.Model.IO; @@ -62,7 +63,7 @@ public class WMCService : ILiveTvService, IDisposable /// /// constructor /// - public WMCService(IHttpClient httpClient, IFileSystem fileSystem, ILoggerFactory loggerFactory) + public WMCService(IFileSystem fileSystem, ILoggerFactory loggerFactory) { Instance = this; _logger = loggerFactory.CreateLogger(); // start logger diff --git a/build.yaml b/build.yaml index b970cfc..a335e94 100644 --- a/build.yaml +++ b/build.yaml @@ -1,8 +1,9 @@ --- name: "ServerWMC" guid: "1fc322a1-af2e-49a5-b2eb-a89b4240f700" -version: "5.0.0.0" -targetAbi: "10.6.0.0" +version: "6.0.0.0" +targetAbi: "10.7.0.0" +framework: "net5.0" overview: "Jellyfin Live TV plugin for Windows MediaCenter with ServerWMC" description: > Provides access to Live TV, Program Guide and Recordings from your Windows MediaCenter Server running ServerWMC.