Namo2 / InPlayerEpisodePreview

A Jellyfin plugin for the web and client version, which displayes an episode list inside the player
MIT License
102 stars 7 forks source link

[BUG] Plugin breaks Jellyfin #39

Open NathanaelLip opened 3 days ago

NathanaelLip commented 3 days ago

I have an issue where it goes to load assets for this plugin and give an error in the web console

GET http://192.168.12.34:8096/InPlayerPreview/ClientScript net::ERR_ABORTED 404 (Not Found)

I completely stops the webpage from being loaded. I have already attempted removing the files manually to get ride of this error as well as disabling the plugin in all Jellyfin configs but it seems to have done nothing.

The webpage is now just black. This is the ONLY error I am getting from anywhere. So it is the only thing I can think of as the problem.

Namo2 commented 2 days ago

So to get you back to a workable jellyfin instance, please

  1. Uninstall the plugin (removing the folder from the config/plugin directory is the only thing i can think of right now)
  2. If you are using docker, than just repull and redeploy the jellyfin image
  3. If you are not using docker, than you have to find your jellyfin installation, open the index.html and remove the line that looks like the following ''

Also try to clear your browser cache. CTRL + R on your jellyfin website should be enough

This should at least remove the call which causes the error. Sorry for the inconvenience.

To fix this error a few questions.

  1. Is the URL in the error the correct URL of your jellyfin instance or do you maybe use a subpath?
  2. How did you install the plugin?
  3. Did you delete any plugin files before you saw that error the first time?
  4. Which Jellyfin version are you running?
  5. Which Plugin version?
NathanaelLip commented 2 days ago

I managed to get it fixed by reinstalling jellyfin-web. Here's what I had done before reinstall to try and fix it.

I disabled the plugin script injection from the plugin config restarted, no effect.

I disabled the plugin in the system settings file, restarted, no effect.

I deleted the files and removed the plugin from Jellyfin configuration completely, restarted, no effect.

Lastly, I managed to find the web files and removed the script section you had pointed out already as I saw that's what it was attempting to pull and it was still not loading the webpage.

Now to anwser your questions:

  1. No I do not use any subpath.
  2. I used the same method as all plugins, through the dashboard
  3. Latest version, yes I am sure
  4. Latest version, yes I am sure

I am not 100% sure if this plugin was the cause for this problem, but I had a few issues before with installing it as well, would not load for a while. Hope this helps, if there is anything else you need info wise let me know.

teachhaylim commented 15 hours ago

I got this error as well, "The webpage is now just black". I had to remove the plugin, reinstall the server and reinstall the plugin again.

There was an error log [2024-10-19 09:11:58.239 +07:00] [ERR] [3] Namo.Plugin.InPlayerEpisodePreview.Api.InPlayerPreviewController: InPlayerEpisodePreviewPlugin: "Namo.Plugin.InPlayerEpisodePreview.Web.InPlayerPreview.js"

image

Namo2 commented 11 hours ago

Could you post the whole error line? I think it is cut in half

teachhaylim commented 8 hours ago

this is the whole line

[2024-10-19 09:11:58.239 +07:00] [ERR] [3] Namo.Plugin.InPlayerEpisodePreview.Api.InPlayerPreviewController: InPlayerEpisodePreviewPlugin: "Namo.Plugin.InPlayerEpisodePreview.Web.InPlayerPreview.js"

image