Jump to content

Create server plugin setting page


Haxy

Recommended Posts

Hi all,

 

I am trying to add setting page for my plugin but still get: "This plugin has no settings to configure."

 

 5ad76fc649734_Przechwytywanie.png

 

I copied configPage.html from https://github.com/MediaBrowser/roku-bif/tree/master/RokuMetadata/Configuration and I changed pluginId to my plugin GUID from Plugin.cs

 

Restarted Emby server several times and still the same Alert on plugin page

Link to comment
Share on other sites

  • 3 months later...
pmathbliss

If anyone else is still having troubles with this. I had to add the reference html into the project.

 

If you are using the Roku plugin as a template.

https://github.com/MediaBrowser/roku-bif/blob/master/RokuMetadata/RokuMetadata.csproj

  <ItemGroup>
    <None Remove="Configuration\configPage.html" />
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Include="Configuration\configPage.html" />
  </ItemGroup>

Unload your plugin project,

Add these elements, pointing to the location of the settings page.

Reload the project

Build.

 

When you add the html page to visual studio, it doesnt automatically add the reference, so it wont be in your build.

Link to comment
Share on other sites

chef

Are you setting the HTML page as an embedded resource?

Edited by chef
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...