asciidisco / plugin.video.netflix

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

linux video not playing #579

Open neas15us opened 5 years ago

neas15us commented 5 years ago

I'm submitting a ...

General infomration

Prerequisites

Description

[Description of the bug or feature]

Steps to Reproduce

  1. [try to play a video]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [video to play]

Actual behavior: [video not playing]

Context (Environment)

Installation

Operating System

Additional informatin on the environment

[Ubuntu 18.04 + kodi 18.0-rc2]

Debug log

[https://pastebin.com/Ec78qVwf]

Other information

[e.g. detailed explanation, related issues, suggestions how to fix, links for us to have context, etc.]

Screenshots

[Please add a screenshot if that helps understanding your problem]

[You can erase any parts of this template not applicable to your Issue.]

jakermx commented 5 years ago

Please share complete log file

rdehouss commented 5 years ago

Hi, pasting here since I have more or less the same setup.

Here is the pastebin link with debug mode enabled http://paste.ubuntu.com/p/73HYj4T5HB/

The issue is the following

15:43:09.839 T:140374047844096   ERROR:   File "/home/rdehouss/.kodi/addons/plugin.video.netflix/resources/lib/MSLv2.py", line 332, in __decrypt_payload_chunks
15:43:09.839 T:140374047844096   ERROR:     decrypted_payload = decrypted_payload[1]['payload']
15:43:09.839 T:140374047844096   ERROR: KeyError: 1
15:43:09.839 T:140374047844096   DEBUG: ----------------------------------------
15:43:09.839 T:140373854930688   ERROR: CCurlFile::FillBuffer - Failed: Server returned nothing (no headers, no data)(52)
15:43:09.839 T:140373854930688   ERROR: CCurlFile::Open failed with code 0 for http://localhost:56151/manifest?id=80002312&dolby=true&hevc=false&hdr=false&dolbyvision=false&vp9=false:
15:43:09.839 T:140373854930688   ERROR: AddOnLog: InputStream Adaptive: Cannot download http://localhost:56151/manifest?id=80002312&dolby=true&hevc=false&hdr=false&dolbyvision=false&vp9=false
15:43:09.839 T:140373854930688   ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (http://localhost:56151/manifest?id=80002312&dolby=true&hevc=false&hdr=false&dolbyvision=false&vp9=false)
15:43:09.840 T:140373854930688   DEBUG: AddOnLog: InputStream Adaptive: Session::~Session()
15:43:09.841 T:140373854930688   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.netflix/?action=play_video&infoLabels=%7B%27rating%27%3A+0%2C+%27writer%27%3A+%27%27%2C+%27episode%27%3A+1%2C+%27plot%27%3A+u%22Jessica+Jones+est+engag%5Cxe9e+pour+retrouver+une+jolie+%5Cxe9tudiante+de+l%27universit%5Cxe9+de+New%5Cxa0York+qui+a+disparu%2C+mais+l%27affaire+semble+finalement+plus+complexe.%22%2C+%27season%27%3A+1%2C+%27tvshowtitle%27%3A+u%22Marvel%27s+Jessica+Jones%22%2C+%27title%27%3A+u%27AKA+La+soir%5Cxe9e+filles%27%2C+%27mediatype%27%3A+u%27episode%27%2C+%27mpaa%27%3A+u%27-%27%2C+%27director%27%3A+%27%27%2C+%27genre%27%3A+u%27S%5Cxe9ries+prim%5Cxe9es%27%2C+%27year%27%3A+2015%2C+%27duration%27%3A+3169%7D&video_id=80002312&pin=False&start_offset=-1]
15:43:09.841 T:140373854930688  NOTICE: CVideoPlayer::OnExit()
15:43:09.841 T:140373854930688   DEBUG: AddOnLog: InputStream Adaptive: Close()
rdehouss commented 5 years ago

I just tried the beta 0.14.0 and it doesn't work neither

Here is the pastebin http://paste.ubuntu.com/p/Y5ZdBGRHQw/

fuero commented 5 years ago

Hi, I ran into the same issue. Turns out, Netflix blocked was IP blocking me as I am using an IPv6 tunnel. Defaulting to IPv4 instead of v6 fixed that issue.

I suggest displaying an appropriate error message in that case.

If it helps, decrypted_payload looks like this prior to JSON parsing:

{
  "version": 2,
  "id": xxxxxx,
  "serverTime": 1549162000108,
  "from": "nq_cadmium_pbo_manifests@1.16.1/pbo-client@1.16.1",
  "error": {
    "pboc": true,
    "code": "BLACKLISTED_IP",
    "detail": "manifest/pbcs-434: Blacklisted IP Address [viewableId=xxxx] (nq_cadmium_pbo_manifests@1.16.1/pbo-client@1.16.1)",
    "display": "You seem to be using an unblocker or proxy. Please turn off any of these services and try again. For more help, visit netflix.com/proxy.",
    "errorDisplayMessage": "You seem to be using an unblocker or proxy. Please turn off any of these services and try again. For more help, visit netflix.com/proxy.",
    "errorActionId": 3,
    "nccpError": {},
    "errorSubCode": 0,
    "errorReasonCode": 0,
    "errorNccpCode": 0,
    "errorExternalCode": 0,
    "bladeRunnerMessage": "manifest/pbcs-434: Blacklisted IP Address [viewableId=xxxx] (nq_cadmium_pbo_manifests@1.16.1/pbo-client@1.16.1)",
    "bladeRunnerCode": "434"
  }
}