Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving settings or manually updating library results in hanging #2078

Open
Mibix opened this issue May 3, 2024 · 3 comments
Open

Saving settings or manually updating library results in hanging #2078

Mibix opened this issue May 3, 2024 · 3 comments

Comments

@Mibix
Copy link

Mibix commented May 3, 2024

Help yourself

Yes * I did try to restart Kodi :-)
Yes * I checked the PKC Frequently Asked Questions on the PKC wiki
Yes * I did try to reset the Kodi database by going to PKC Settings -> Advanced -> "Reset the database and optionally reset PlexKodiConnect" and then hitting YES, NO
Yes * I did check the existing issues on Github

Describe the bug

For a while now whenever I go in to the PKC settings and hit manual refresh or change any of the settings in there it just spins forever till I restart Kodi. I usually need to do manual refreshes quite often because of standby and constant version updates for shows. I saw in the logs some things about an old database but I have wiped everything and reinstalled since Omega became official and am still having the same problems.

To Reproduce

Steps to reproduce the behavior:

  1. go in to PKC settings. Change any setting and hit ok or hit manual update.

Expected behavior

Saves the settings or finish the scan then stops spinning

You need to attach a KODI LOG FILE!

kodi.log

@Mibix
Copy link
Author

Mibix commented Jun 25, 2024

Did you ever take a look at this? When I do the manual sync now it shows:

2024-06-24 21:23:37.279 T:24916   error <general>: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.plexkodiconnect/?mode=manualsync
2024-06-24 21:23:37.281 T:29924   error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.plexkodiconnect/?mode=manualsync) failed
2024-06-24 21:23:37.721 T:38244   error <general>: C:\Users\Mibix\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\watchdog\observers\__init__.py:87: UserWarning: Failed to import read_directory_changes. Fall back to polling.
                                                     warnings.warn("Failed to import read_directory_changes. Fall back to polling.")

@croneter
Copy link
Owner

I haven't found anything suspicious in your log file, unfortunately. I don't think what you just posted is the cause of your experience.

Could you try and capture another debug log file? Enable debug logging, restart Kodi. WAIT FOR 5 MIN. Then enter the PKC settings, hit "manual update". Wait again for a minute doing nothing, then exit Kodi and grab the log.

thanks!

@Mibix
Copy link
Author

Mibix commented Jun 25, 2024

I haven't found anything suspicious in your log file, unfortunately. I don't think what you just posted is the cause of your experience.

Could you try and capture another debug log file? Enable debug logging, restart Kodi. WAIT FOR 5 MIN. Then enter the PKC settings, hit "manual update". Wait again for a minute doing nothing, then exit Kodi and grab the log.

thanks!

Here is a new one where I waited a while and did the manual update with debugging enabled from my Nvidia Shield 2019:
kodi.log

I also did a fresh install on my laptop with only PKC installed and am having the same issue but the error is a little different in the logs:
kodi.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants