2013-05-05, 14:32
(2013-04-25, 12:49)devkid Wrote: Not a real fix (since its a XBMC bug) but at least a workaround:
(2013-04-01, 22:48)devkid Wrote: I think it is related to the selective video update triggered by the plugin here in main.py:
Code:def scan(self, library, path):
""" Tell xbmc to scan. Returns immediately when scanning has started. """
while self._xbmc_is_busy():
pass
log("scanning %s (%s)" % (path, library))
xbmc.executebuiltin("UpdateLibrary(%s,%s)" % (library, escape_param(path)))
When I change it to
it works as expected (it takes longer cause it triggers a complete instead of a selective update tho).Code:xbmc.executebuiltin("UpdateLibrary(%s)" % (library))
IMO this workaround should be included in the addon until XBMC is fixed because so many people have problems with it.
I hardly think that many people are affected. It's just that specific directory layout and it's been like this since january it's coming up now. Go back 20 pages and see all the talk about global scanning (which is what it used to do), so I'm not making it default. But I added the hack as an option in the latest release.