From 0ead19e2330276c72a12cff80fa24d100c679ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Tue, 30 Jun 2020 15:01:49 +0200 Subject: [PATCH 1/3] Also build against prerelease builds --- Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj b/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj index eacfda4..d17c65d 100644 --- a/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj +++ b/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj @@ -8,8 +8,8 @@ - - + + From 9c5a5cb6893a0649d2456036fe6f4285d9d7508f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Sun, 5 Jul 2020 13:22:16 +0200 Subject: [PATCH 2/3] Bump version and targetAbi --- Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj | 4 ++-- build.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj b/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj index d17c65d..b440ce3 100644 --- a/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj +++ b/Jellyfin.Plugin.ServerWMC/Jellyfin.Plugin.ServerWMC.csproj @@ -3,8 +3,8 @@ netstandard2.1 Jellyfin.Plugin.ServerWMC - 4.0.0.0 - 4.0.0.0 + 5.0.0.0 + 5.0.0.0 diff --git a/build.yaml b/build.yaml index cffc23b..b970cfc 100644 --- a/build.yaml +++ b/build.yaml @@ -1,8 +1,8 @@ --- name: "ServerWMC" guid: "1fc322a1-af2e-49a5-b2eb-a89b4240f700" -version: "4.0.0.0" -targetAbi: "10.5.0.0" +version: "5.0.0.0" +targetAbi: "10.6.0.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. @@ -12,4 +12,4 @@ owner: "jellyfin" artifacts: - "Jellyfin.Plugin.ServerWMC.dll" changelog: > - changelog \ No newline at end of file + changelog From d19cd774456ba7590285a49f72d88eff297e2018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Mon, 6 Jul 2020 21:46:12 +0200 Subject: [PATCH 3/3] Fix non-generic ILogger injection --- Jellyfin.Plugin.ServerWMC/WMCService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jellyfin.Plugin.ServerWMC/WMCService.cs b/Jellyfin.Plugin.ServerWMC/WMCService.cs index d2dc559..09d45ce 100644 --- a/Jellyfin.Plugin.ServerWMC/WMCService.cs +++ b/Jellyfin.Plugin.ServerWMC/WMCService.cs @@ -40,7 +40,7 @@ public class WMCService : ILiveTvService, IDisposable int _idStreamInt = 0; // use to generate stream Id string _serverWMC_version = "unknown"; private int _serverWMC_build = 0; - private readonly ILogger _logger; + private readonly ILogger _logger; private readonly string HTTP = @"http://"; @@ -65,7 +65,7 @@ public class WMCService : ILiveTvService, IDisposable public WMCService(IHttpClient httpClient, IFileSystem fileSystem, ILoggerFactory loggerFactory) { Instance = this; - _logger = loggerFactory.CreateLogger(GetType().Name); // start logger + _logger = loggerFactory.CreateLogger(); // start logger _clientVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString(); SocketClientAsync.InitAddress(Plugin.Instance.Configuration.ServerIP, Plugin.Instance.Configuration.ServerPort); // set ip and port