croneter / PlexKodiConnect

Plex integration in Kodi done right
GNU General Public License v2.0
1.17k stars 77 forks source link

Kodi cannot locate the file | Kodi 19 | Davs: #1407

Closed Casburggraaf closed 3 years ago

Casburggraaf commented 3 years ago

Describe the bug

Plex kodi connect works fine, but gives the error on every sync. "Kodi cannot local the file, stop syncing?" If I press no the sync complets normally and I can play the files without a problem. This error only occurs on tv-shows.

Expected behavior

No Error

You need to attach a KODI LOG FILE!


2021-03-16 11:14:06.406 T:3874009    INFO <general>: PLEX.movies: UPDATE movie plex_id: 163635 - Soul
2021-03-16 11:14:08.661 T:3874009    INFO <general>: PLEX.movies: ADD movie plex_id: 173859 - Vanguard
2021-03-16 11:14:08.681 T:3874009    INFO <general>: PLEX.movies: ADD movie plex_id: 173842 - Come True
2021-03-16 11:14:11.590 T:3874009    INFO <general>: PLEX.movies: ADD movie plex_id: 173857 - Adverse
2021-03-16 11:14:11.621 T:3874009    INFO <general>: PLEX.movies: ADD movie plex_id: 173845 - Yes Day
2021-03-16 11:14:14.399 T:3874009    INFO <general>: PLEX.movies: ADD movie plex_id: 173846 - SAS: Red Notice
2021-03-16 11:14:14.435 T:3874009    INFO <general>: PLEX.movies: ADD movie plex_id: 173839 - Cherry
2021-03-16 11:14:14.493 T:3874009    INFO <general>: PLEX.sync.process_metadata: Finished processing section successfully: {'index': 0, 'name': 'Movies', 'section_id': 1, 'section_type': 'movie', 'sync_to_kodi': True, 'last_sync': 1615745075}
2021-03-16 11:14:15.346 T:3874009   ERROR <general>: CCurlFile::Exists - Failed: Unsupported protocol(1) for davs://USERNAME:PASSWORD@SEVER:PORT/video/tv/Zondag%20met%20Lubach/
2021-03-16 11:14:15.347 T:3874009 WARNING <general>: PLEX.api: Cannot access file: davs://USERNAME:PASSWORD@SEVER:PORT/video/tv/Zondag%20met%20Lubach
croneter commented 3 years ago

You chose to use PlexKodiConnect direct paths instead of add on paths. Davs does not seem to be supported by Kodi.

Please use PlexKodiConnect add-on paths, see https://github.com/croneter/PlexKodiConnect/wiki/Direct-Paths-Explained Remember to reset the Kodi database in order to trigger a resync of the changed paths

Casburggraaf commented 3 years ago

Davs works fine, I can playback the files with no problem, only it gives a error. If I see this website(https://www.qed42.com/blog/using-curl-commands-webdav) I think the problem is dat davs:// isn't rewritten to https://

But the strange part is. The problem only exist with the tv-shows update, the movie update is just fine

The error is also on a curl of a folder and not a file, can that even work?

croneter commented 3 years ago

Then choose https:// as replace paths target?

croneter commented 3 years ago

Kindly share the entire DEBUG log as described here: https://github.com/croneter/PlexKodiConnect/wiki/How-to-Report-A-Bug

Casburggraaf commented 3 years ago

But if I replace the paths it will give a error I presume right? Playback is working, syncing is working but gives an error https://gist.github.com/Casburggraaf/729d204dac006c4940b030f09684c962

croneter commented 3 years ago

Error as in "only an error in the Kodi log file"? Do you experience any drawbacks from an end user perspective - is something not working like it's supposed to?

Casburggraaf commented 3 years ago

no as a fullscreen error when syncing. And with the question if I want the sync to quit or not. It's on al my Kodi devices so not a device specific problem

croneter commented 3 years ago

But playback still works even though you get an error?

Casburggraaf commented 3 years ago

yes playback is fine, but if I try the command on my Mac I get a error to, curl: (1) Protocol "davs" not supported or disabled in libcurl

First I thought the problem was that it tried to get a folder and that is not supported but the sync for movies is fine..

Then I thought maybe the Kodi installation was the problem, but its on all my devices

croneter commented 3 years ago

But if I understand you correctly, the ONLY issue is that there is this log file entry:

ERROR <general>: CCurlFile::Exists - Failed: Unsupported protocol(1) for davs://USERNAME:PASSWORD@SERVER:PORT/video/tv/Snowpiercer/

Correct? Then simply ignore that 😉

Casburggraaf commented 3 years ago

Nope, the "problem" is this error screen every time there is a update in the tv-library

Screenshot 2021-03-17 at 16 26 05
Sada-Mio commented 3 years ago

@Casburggraaf off topic, but what skin is that you are using in your screenshot?

croneter commented 3 years ago

Try PKC beta version 3.1.3. Do set the new setting Verify access to media files while synching in the PKC settings, section Sync Options, to False, then make sure to reboot Kodi

croneter commented 3 years ago

@Casburggraaf Is this working for you now?

Casburggraaf commented 3 years ago

Yes it works! Didn't get any messages any more! thnx @croneter

Casburggraaf commented 3 years ago

@Casburggraaf off topic, but what skin is that you are using in your screenshot? @Sada-Mio

It's the auro skin, https://forum.kodi.tv/showthread.php?tid=328558