I can't get my search function to work.
The only thing I see is that there is an error in the script
Here is snipset of my log
Code:
09:56:17 T:5116 NOTICE: initialize done
09:56:17 T:5100 NOTICE: Thread LanguageInvoker start, auto delete: false
09:56:17 T:5100 NOTICE: -->Python Interpreter Initialized<--
09:56:18 T:5116 NOTICE: Running the application...
09:56:18 T:2236 NOTICE: Thread JobWorker start, auto delete: true
09:56:18 T:5116 NOTICE: ES: Starting event server
09:56:18 T:5868 NOTICE: Thread TCPServer start, auto delete: false
09:56:18 T:3796 NOTICE: Thread EventServer start, auto delete: false
09:56:18 T:3796 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
09:56:18 T:3796 NOTICE: UDP: Listening on port 9777
09:56:18 T:728 NOTICE: Thread JobWorker start, auto delete: true
09:56:18 T:5516 NOTICE: Thread AlarmClock start, auto delete: false
09:56:18 T:3252 NOTICE: Thread RSSReader start, auto delete: false
09:56:20 T:5484 NOTICE: Thread LanguageInvoker start, auto delete: false
09:56:20 T:5484 NOTICE: -->Python Interpreter Initialized<--
09:56:22 T:1068 NOTICE: Thread BackgroundLoader start, auto delete: false
09:56:24 T:4416 NOTICE: Thread LanguageInvoker start, auto delete: false
09:56:24 T:4416 NOTICE: -->Python Interpreter Initialized<--
09:56:24 T:1812 NOTICE: Thread BackgroundLoader start, auto delete: false
09:56:26 T:4092 NOTICE: Thread LanguageInvoker start, auto delete: false
09:56:26 T:4092 NOTICE: -->Python Interpreter Initialized<--
09:56:31 T:4092 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('galleryVideos',)
Traceback (most recent call last):
File "C:\Users\christian.prins\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 888, in <module>
search(type)
File "C:\Users\christian.prins\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 526, in search
listSearchVideos("http://api-global.netflix.com/desktop/search/instantsearch?esn=www&term="+search_string+"&locale="+addon.getSetting("language")+"&country=US&authURL="+addon.getSetting("auth")+"&_retry=0&routing=redirect", type)
File "C:\Users\christian.prins\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 173, in listSearchVideos
for item in content["galleryVideos"]["items"]:
KeyError: ('galleryVideos',)
-->End of Python script error report<--
09:56:31 T:5116 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=search&thumb&type=tv&url
09:56:31 T:5116 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=search&thumb&type=tv&url) failed
09:56:31 T:5636 NOTICE: Thread LanguageInvoker start, auto delete: false
09:56:31 T:5636 NOTICE: -->Python Interpreter Initialized<--
I already changed my user agent string as given above but without any result.
I'm running XBMC in a Windows 7 machine