jellyfin / jellyfin-plugin-opensubtitles

Home Page:https://jellyfin.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin configuration not saving correctly, and gets overwritten on server restart.

jadonclegg opened this issue · comments

I can't get the configuration for version 11 to save. If I hit edit plugin, and fill in the settings and save, the page just reloads and clears all the fields, and the xml file in the plugin config directory still has empty elements for the username, password, and api key. If I manually edit the xml file and restart the server, it clears the file.

I reverted to version 10 and it's working fine with the old API.

Can you check if there are any errors in the server logs and maybe send a screenshot of the page with network inspector open after clicking on the save button (example below)

When I first load the options page it looks like this.
image

This is what it shows in the JS console, it's not even loading the JS to be able to save.
image

I do have a reverse proxy set up with Nginx, and I'm running jellyfin in a container. Not sure if that would affect it.

I went to the jellyfin documentation website, and the nginx config they suggest using has changed, and I updated the Content-Security-Policy header, and it's working fine now. So it wasn't an issue on your end, thanks for the help!

Yeah I assumed it was something like that, glad you solved it!