mrknow / filmkodi

Mrknow addons for Kodi / Wtyczki Mrknow do Kodi
http://filmkodi.com
Apache License 2.0
68 stars 67 forks source link

Kodi Library cleanup triggering GetMatchingSource: no matching source when using library integration #730

Open joaomneto opened 7 years ago

joaomneto commented 7 years ago

Kodi & OS


Addon / Wtyczka


Issue / Zgłoszenie


Descryption / Opis

Before everything else I'm very grateful that you are developping this addon. It is by far the most superior streaming addon for kodi right now.

As for my problem, I'm now using the library integration feature. I've configured the TvShow folder for scanning with the TVDB feature and as a test I decided to add the Vikings series. My Kodi system however is configured to perform regular library updates and cleanups. No issue with the updating but when I perform a library cleanup Kodi doesn't seem to recognize specto streaming sources and asks me everytime if I want to remove the source from the library.

Here's the relevant log excerpt:

[...] 18:33:34 T:140472207759360 DEBUG: CUtil::GetMatchingSource: no matching source found for [special://userdata/addon_data/plugin.video.specto/TVShows/Vikings (2013)/Season 4/Vikings (2013) S04E16.strm] 18:33:34 T:140472207759360 DEBUG: CUtil::GetMatchingSource: no matching source found for [special://userdata/addon_data/plugin.video.specto/TVShows/Vikings (2013)/Season 4/Vikings (2013) S04E17.strm] 18:33:34 T:140472207759360 DEBUG: CUtil::GetMatchingSource: no matching source found for [special://userdata/addon_data/plugin.video.specto/TVShows/Vikings (2013)/Season 4/Vikings (2013) S04E18.strm] 18:33:34 T:140472207759360 DEBUG: CUtil::GetMatchingSource: no matching source found for [special://userdata/addon_data/plugin.video.specto/TVShows/] [...]

Is this a bug? Is there any way I can make Kodi ignore Specto's sources? Is there a patch I can make in the addon?

I've included the full log for the entire cleanup operation.

Thank you very much for your attention on this issue and keep up the good work!

kodi-log.txt

joaomneto commented 7 years ago

I forgot to mention, that this wouldn't be a problem per se, but because of this Kodi asks if the Specto library folder is to be removed from the library or kept each time the library is cleaned.

earithramir commented 6 years ago

You can "whitelist" the strm file extension. This can be done through advancedsettings.xml

`

.strm

`

Or you can use a plugin "Easy advanced settings" to create (if not present) or edit your advancedsettings.xml in kodi itself

Then when scanning/cleaning the library kodi recognizes these files as video files. 👍 Good luck!