Jump to content

Updated plugin doesnt refresh generated html


Recommended Posts

HawkXP71
Posted

This is a general help question for how to debug plugins.

I am enhancing the statistics plugin, mainly as a learning experience (I am adding the Dolby Vision profile so I can easily find those with DV10 that cause problems for some of my users)

Im running on my local machine with minimal media, so it can run quickly.

Setup:

Windows 11
Visual Studio 2026
Emby: 4.9.5.0

On the server I have debug logging enabled


My general flow:

  • Build the dll
  • Stop the server
  • copy the dll to the plugins directory
    • Sometimes I delete the configuration file, but doing so does not change
  • start the server
    • This also launches chrome to the servers page
  • I confirm in the log that the plugin is getting loaded
  • Got to the scheduled tasks, run the statistics task to generate the necessary information

Go to the statistics configuration page, but the page is out of date.

The data does update, but the HTML itself is out of date.

I click refresh, and I click "force refresh ctrl-f5", I have run in incognito mode.

Any thoughts would be appreciated.  Is there a whitepaper on debugging plugins? Or developing plugins?

Any help would be most appreciated.

TIA

Scott

 

 

pünktchen
Posted

In Chrome or Edge open the Developer Tools and do a hard refresh of the cache by right clicking on the normal reload button in the browser.

  • Like 1
HawkXP71
Posted

Thanks I'll give it a try. 

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...