plugin.video.netflix icon indicating copy to clipboard operation
plugin.video.netflix copied to clipboard

search errors

Open wombad opened this issue 5 years ago • 13 comments

I'm submitting a ...

  • [x] bug report
  • [ ] feature request
  • [ ] support request

General infomration

Prerequisites

  • [x] Are you running the latest version?

Description

I have a problem with searching for some content. When I want to search, for example, "dexter", "Lord of the Rings", "doctor who" and others I got an Netflix error.

At the beginning I thought that the search engine does not work, but finding some results, for example, for "harry potter", "shrek", "madagascar".

Steps to Reproduce

  1. Open kodi
  2. Open netflix
  3. Start search

Expected behavior:

Search for content

Actual behavior:

Netflix error

Context (Environment)

Installation

  • [ ] I installed the plugin via zip from the Releases page
  • [x] I´m using the Netflix Repo
  • [ ] I´m using a different source (Please tell which)

Operating System

  • [ ] Linux (x86/x64)
  • [ ] OSX (x86/x64)
  • [ ] Windows (x86/x64)
  • [x] Linux (ARM)
  • [ ] Android

Additional informatin on the environment

CoreELEC (official): 8.95.6

Debug log

http://www.wklejto.pl/669438

wombad avatar Dec 08 '18 17:12 wombad

                                          File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 1053, in call_netflix_service
                                                                                          File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 1053, in call_netflix_service
                                            data = urllib2.urlopen(full_url).read()

Edit the line 1053 of the Navigation.py file, add the timeout parameter and set it to 60 seconds, it is enough, but it could delay some other actions in case of real timeouts.. but it will solve your issue. data = urllib2.urlopen(full_url , timeout = 60 ).read()

jakermx avatar Dec 09 '18 06:12 jakermx

Thanks, now everything is correctly searched

wombad avatar Dec 10 '18 10:12 wombad

I can confirm that this also solves the issue #581 which is on a Raspbery Pi3

peno64 avatar Dec 23 '18 22:12 peno64

I am pretty basic with Linux, but I do not seem to have a Navigation.py file. There is a Navigation directory, has this file been removed / split up? Where would this line be now? Here is an image: OSMC_Kodi_Netflix_issue

artanyis1 avatar Apr 07 '19 21:04 artanyis1

Linux is case sensitive, but it doesn´t matter, becuase you have version 0.14, whom have a complete different structure, so if you have a directory called navegartion , you have version 0.14.something, in that case you should modify .kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py , line 76

from urllib2.urlopen(url=url, data=json.dumps(data)).read(),

to this urllib2.urlopen(url=url, data=json.dumps(data), timeout=60).read(),

If you dont have exoerience with linux, I would recomned you modifying the zip file, containing the addon, then uninstall and install the file you modify... rememeber that you have to disable addOn Signals on Netflix config screen

Cheers

jakermx avatar Apr 07 '19 22:04 jakermx

Thank you. I'm not exactly inexperienced with Linux, I'm just not very knowledgeable; I'm a Windows SysAdmin and Network Engineer. It's made learning Linux hard, a bit of a disconnect between the two. Old habits and all that.

I've made the change but am still getting the same, ERROR: GetDirectory - Error getting plugin://plugin.video.netflix

I also don't know what you mean by, "disable addOn Signals on Netflix config screen." I haven't seen that in any of the tutorials I've seen and don't see any options like that in Information or Settings, where should I be looking?

artanyis1 avatar Apr 08 '19 01:04 artanyis1

Go Settings , on Expert check "Use IPC...." then restart

jakermx avatar Apr 08 '19 01:04 jakermx

Thank you, I just overlooked it. I have enabled the option Use IPC over HTTP but am still getting the same error.

artanyis1 avatar Apr 08 '19 01:04 artanyis1

please share the complete log

jakermx avatar Apr 08 '19 01:04 jakermx

Here is the kodi.log

kodi.log

artanyis1 avatar Apr 08 '19 02:04 artanyis1

This is why we always ask for the log files first.]

21:55:44.465 T:1925786112 NOTICE: Starting Kodi (17.6). Platform: Linux ARM (Thumb) 32-bit

You are running KODI 17 instead of 18, so no InputStream.Adaptive is installed, .... please upgrade and test...I would suggest ther use of Libreelec.

Cheers

jakermx avatar Apr 08 '19 02:04 jakermx

Thank you. Sorry for the confusion, this was a new download/install as of 2 days ago, I had not realized it wasn't the newest version. Reloaded and working properly now. Thank you again.

artanyis1 avatar Apr 08 '19 02:04 artanyis1

Cool

jakermx avatar Apr 08 '19 03:04 jakermx