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

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

Open
croneter opened this issue Apr 26, 2016 · 9 comments

Comments

@croneter
Copy link
Owner

croneter commented Apr 26, 2016

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.
@croneter
Copy link
Owner Author

croneter commented Apr 26, 2016

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.

@croneter
Copy link
Owner Author

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

@croneter croneter changed the title KODI keeps scanning, doesn't take no for an answer (HTTP/1.1 401 Unauthorized) KODI keeps scanning: "Loading media information from files". HTTP/1.1 401 Unauthorized in Logs Aug 11, 2017
@croneter
Copy link
Owner Author

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

@greg4168
Copy link

greg4168 commented Dec 8, 2017

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

@croneter
Copy link
Owner Author

croneter commented Dec 8, 2017

@greg4168 share your debug log files please, see here: https://github.com/croneter/PlexKodiConnect/wiki/How-to-Report-A-Bug

@greg4168
Copy link

greg4168 commented Dec 8, 2017

Hi
kodi.log

@croneter
Copy link
Owner Author

croneter commented Dec 8, 2017

@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....

@croneter croneter changed the title KODI keeps scanning: "Loading media information from files". HTTP/1.1 401 Unauthorized in Logs Issues with Plex music sync and PKC add-on paths Aug 23, 2018
@croneter croneter changed the title Issues with Plex music sync and PKC add-on paths Plex music sync and PKC add-on paths Aug 23, 2018
@croneter croneter changed the title Plex music sync and PKC add-on paths Music sync and PKC add-on paths: Kodi not shutting down and many errors in log Aug 23, 2018
@svb91
Copy link

svb91 commented Aug 18, 2019

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 ?

@croneter
Copy link
Owner Author

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

@croneter croneter pinned this issue Jan 26, 2021
@croneter croneter changed the title Music sync and PKC add-on paths: Kodi not shutting down and many errors in log Kodi not shutting down, many errors in Kodi log file, large Kodi log file Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants