asciidisco / plugin.video.netflix

Inputstream based Netflix plugin for Kodi
MIT License
1.24k stars 226 forks source link

Search function doesn't work #645

Open forenuser opened 5 years ago

forenuser commented 5 years ago

I'm submitting a ...

General infomration

Prerequisites

Description

If I try to search something I just get an error message and no search results are shown

Steps to Reproduce

  1. Start the Netflix addon
  2. Select a profile
  3. Select search
  4. Put in the search string
  5. Start search

Expected behavior: Show the search results

Actual behavior: Just an error message is shown but no search results

Context (Environment)

Installation

Operating System

Additional informatin on the environment

CoreElec on Mecool KI Pro

PabloAH commented 5 years ago

It's not working for me either on RPi 3b+ LibreElec 9.0

jakermx commented 5 years ago

Please share your log file,I can almost say that you are getting a timeout error on IPC, so please share it

PabloAH commented 5 years ago

Please share your log file,I can almost say that you are getting a timeout error on IPC, so please share it

Yes, it's a timeout

`2019-03-28 20:11:50.577 T:1457771376 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

jakermx commented 5 years ago

Add a timeout parameter in urlopen call on this file File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 1053, in

From:

call_netflix_service data = urllib2.urlopen(full_url).read()

To: call_netflix_service data = urllib2.urlopen(full_url,timeout=60).read()

and try again

PabloAH commented 5 years ago

yes! that fixed the issue! thanks

grazcata commented 5 years ago

thank you