minor changes to build metadata

This commit is contained in:
dkanada 2020-05-27 20:28:25 +09:00
parent 655f861861
commit 7e484bc1ee
5 changed files with 18 additions and 23 deletions

View File

View File

@ -8,15 +8,14 @@
<div data-role="content"> <div data-role="content">
<div class="content-primary"> <div class="content-primary">
<form class="nextpvrConfigurationForm"> <form class="nextpvrConfigurationForm">
<div class="inputContainer"> <div class="inputContainer">
<input is="emby-input" type="text" id="txtWebServiceUrl" label="NextPVR base url:" /> <input is="emby-input" type="text" id="txtWebServiceUrl" label="NextPVR Base URL" />
<div class="fieldDescription"> <div class="fieldDescription">
NextPVR URL NextPVR URL
</div> </div>
</div> </div>
<div class="inputContainer"> <div class="inputContainer">
<input is="emby-input" type="text" id="txtPin" label="NextPVR pin:" /> <input is="emby-input" type="text" id="txtPin" label="NextPVR PIN" />
<div class="fieldDescription"> <div class="fieldDescription">
NextPVR PIN NextPVR PIN
</div> </div>
@ -25,7 +24,6 @@
<input is="emby-checkbox" type="checkbox" id="chkDebugLogging" /> <input is="emby-checkbox" type="checkbox" id="chkDebugLogging" />
<span>NextPVR Debug Logging</span> <span>NextPVR Debug Logging</span>
</label> </label>
<button is="emby-button" type="submit" class="raised button-submit block"><span>Save</span></button> <button is="emby-button" type="submit" class="raised button-submit block"><span>Save</span></button>
</form> </form>
</div> </div>
@ -42,7 +40,7 @@
ApiClient.getPluginConfiguration(NextPvrConfigurationPage.pluginUniqueId).then(function (config) { ApiClient.getPluginConfiguration(NextPvrConfigurationPage.pluginUniqueId).then(function (config) {
$('#txtWebServiceUrl', page).val(config.WebServiceUrl || ""); $('#txtWebServiceUrl', page).val(config.WebServiceUrl || "");
$('#txtPin', page).val(config.Pin || ""); $('#txtPin', page).val(config.Pin || "");
$('#chkDebugLogging', page).checked(config.EnableDebugLogging || false).checkboxradio("refresh"); $('#chkDebugLogging', page).checked = config.EnableDebugLogging || false;
Dashboard.hideLoadingMsg(); Dashboard.hideLoadingMsg();
}); });
@ -55,7 +53,7 @@
ApiClient.getPluginConfiguration(NextPvrConfigurationPage.pluginUniqueId).then(function (config) { ApiClient.getPluginConfiguration(NextPvrConfigurationPage.pluginUniqueId).then(function (config) {
config.WebServiceUrl = $('#txtWebServiceUrl', form).val(); config.WebServiceUrl = $('#txtWebServiceUrl', form).val();
config.Pin = $('#txtPin', form).val(); config.Pin = $('#txtPin', form).val();
config.EnableDebugLogging = $('#chkDebugLogging', form).checked(); config.EnableDebugLogging = $('#chkDebugLogging', form).checked;
ApiClient.updatePluginConfiguration(NextPvrConfigurationPage.pluginUniqueId, config).then(Dashboard.processPluginConfigurationUpdateResult); ApiClient.updatePluginConfiguration(NextPvrConfigurationPage.pluginUniqueId, config).then(Dashboard.processPluginConfigurationUpdateResult);
}); });

View File

@ -2,20 +2,17 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework> <TargetFramework>netstandard2.1</TargetFramework>
<AssemblyVersion>3.0.0</AssemblyVersion> <AssemblyVersion>3.0.0.0</AssemblyVersion>
<FileVersion>3.0.0</FileVersion> <FileVersion>3.0.0.0</FileVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<None Remove="Configuration\configPage.html" /> <None Remove="Configuration\configPage.html" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Configuration\configPage.html" /> <EmbeddedResource Include="Configuration\configPage.html" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Jellyfin.Controller" Version="10.5.*" /> <PackageReference Include="Jellyfin.Controller" Version="10.*" />
<PackageReference Include="System.Memory" Version="4.5.1" /> <PackageReference Include="System.Memory" Version="4.5.1" />
</ItemGroup> </ItemGroup>

View File

@ -3,12 +3,14 @@
## About ## About
The Jellyfin NextPVR plugin can be used for watching media provided by a <a href="http://www.nextpvr.com/">NextPVR</a> server. The Jellyfin NextPVR plugin can be used for watching media provided by a <a href="http://www.nextpvr.com">NextPVR</a> server.
## Build & Installation Process ## Build & Installation Process
1. Clone this repository 1. Clone this repository
2. Ensure you have .NET Core SDK set up and installed 2. Ensure you have .NET Core SDK set up and installed
3. Build the plugin with your favorite IDE or the `dotnet` command 3. Build the plugin with your favorite IDE or the `dotnet` command
```sh ```sh

View File

@ -1,16 +1,14 @@
--- ---
name: "jellyfin-plugin-nextpvr" name: "NextPVR"
guid: "9574ac10-bf23-49bc-949f-924f23cfa48f" guid: "9574ac10-bf23-49bc-949f-924f23cfa48f"
version: "3" version: "3.0.0.0"
jellyfin_version: "10.5.0" targetAbi: "10.5.0.0"
nicename: "NextPVR" overview: "Live TV plugin for NextPVR"
description: "Live TV plugin for NextPVR" description: >
overview: >
Provides access to live TV, program guide, and recordings from NextPVR. Provides access to live TV, program guide, and recordings from NextPVR.
category: "LiveTV" category: "LiveTV"
owner: "jellyfin" owner: "jellyfin"
artifacts: artifacts:
- "NextPvr.dll" - "NextPvr.dll"
build_type: "dotnet" changelog: >
dotnet_configuration: "Release" changelog
dotnet_framework: "netstandard2.1"