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

View File

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

View File

@ -3,12 +3,14 @@
## 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
1. Clone this repository
2. Ensure you have .NET Core SDK set up and installed
3. Build the plugin with your favorite IDE or the `dotnet` command
```sh

View File

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