croneter/PlexKodiConnect

Kodi not shutting down, many errors in Kodi log file, large Kodi log file

croneter opened this issue · 9 comments

If using PlexKodiConnect with Plex music sync enabled and PKC add-on paths, NOT direct paths, 2 issues remain that will probably never be solved:

Kodi does not shut down properly sometimes

Kodi keeps scanning your music files, but can't find them (as add-on paths are set). This scanning is not aborted properly if you shut down Kodi, unfortunately.

The Kodi log file fills up with error messages

Kodi keeps scanning your music files, but can't find them (as add-on paths are set). Many error messages are recorded in the Kodi log file, see below. This is annoying, but uncritical, except for maybe the log file growing in size and filling up your hard disk space.

23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625377/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625377/' does not exist - skipping scan.
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625378/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625378/' does not exist - skipping scan.

Known issue with Native Paths (non-direct paths) and Plex Music. I have not been able to tinker with the Kodi Music library in a way to avoid these scans.

This issue should NOT prohibit you from using Kodi, but just spam your Kodi log file

Only known workaround/solution currently:

Use Direct Paths or deactivate the sync of music libraries in the PKC settings entirely.

This scanning by Kodi might also lead to Kodi not shutting down, not exiting correctly - forcing you to manually kill the Kodi application

You might (not necessarily) also see the Kodi message Loading media information from files which will be stuck at 0 percent until reboot:
image

I've disabled music scanning in PKC but still get the crash described above (Known issue with Native Paths (non-direct paths) and Plex Music. I have not been able to tinker with the Kodi Music library in a way to avoid these scans).

Besides using direct paths is there any other way around this? I'm not using music with Plex so am fine with disabling it, but it doesn't seem to have helped.
Thanks

@greg4168 Sorry, you're using Kodi 18 Leia. That is yet an alpha version and very unstable, hence no support. Downgrade to the latest Kodi 17....

svb91 commented

Also having this issue! Using Kodi 18.3.
With and without the music library PlexKodiConnect opens a connection to xyz.plex.direct:32400 every 10 seconds which causes Kodi not to shut down correct... How can i fix it ?

Use direct paths instead of addon paths, see my second post above