jellyfin / jellyfin-kodi

Jellyfin Plugin for Kodi
https://jellyfin.org
GNU General Public License v3.0
785 stars 105 forks source link

Settings are not retained #865

Closed lcapriotti closed 1 month ago

lcapriotti commented 1 month ago

Describe the bug "Enable Kodi Sync Queue" value defaults at restart to false, even if set to true via the configuration GUI.

To Reproduce Open Jellyfin addon configration Enable Kodi sync queue Exit Kodi Start Kodi again Open Jellyfin addon configuration Verify Kodi sync queue is didsabled

Expected behavior Kodii sync queue should stay enabled

Logs this a relevant excerpt of the Kodi log:

2024-05-20 12:35:54.380 T:21808 info : JELLYFIN.jellyfin_kodi.jellyfin.http -> ERROR::jellyfin_kodi\jellyfin\http.py:124 404 Client Error: Not Found for url: http://{jellyfin-server}/Jellyfin.Plugin.KodiSyncQueue/GetPluginSettings 2024-05-20 12:35:54.384 T:21808 info : JELLYFIN.jellyfin_kodi.jellyfin.api -> WARNING::jellyfin_kodi\jellyfin\api.py:273 Error checking companion installed state: (404, HTTPError('404 Client Error: Not Found for url: http://{jellyfin-server}/Jellyfin.Plugin.KodiSyncQueue/GetPluginSettings'))

System (please complete the following information):

lcapriotti commented 1 month ago

I figured out the sync plugin in Jellyfin server was not active as a restart was pending. All good after the restart.