2013-02-20, 01:42
(2013-02-16, 13:33)takoi Wrote: That is very strange indeed. Never seen anything like it. Can you try to map your key to exactly the string "UpdateLibrary(video,smb://192.168.120.178/Media/TV Shows/)"? That's what the script is sending. And try to add an even longer delay, like a couple of min. Just for the sake of confirming it's not caching trouble.
I set my keyboard.xml to this:
Code:
<keymap>
<global>
<keyboard>
<one mod='alt'>UpdateLibrary(video,smb://192.168.120.178/Media/TV Shows/)</one>
<two mod='alt'>UpdateLibrary(video)</two>
<nine mod='alt'>Quit()</nine>
</keyboard>
</global>
</keymap>
As you can see, alt+1 scans with the path argument like your addon does and alt+2 scans with no path argument.
I added an episode and watch dog didn't find it, pressed alt+1 and didn't find it, finally pressed alt+2 and found it.
Check out the log: log file
You can see the 3 different scans and how the first two didn't find anything but the third did.
This is beginning to look more like a problem with the UpdateLibrary function. What do you think?