Kodi Community Forum
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 (/showthread.php?tid=211574)



RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Sleuth255 - 2015-10-11

It looks like the retrieve episodes feature of api-global.netflix.com isn't working any more. This plugin uses the netflix internal api to retrieve series/episode info. The episodes api call it uses is now returning no data. I did check a few other known uses of that API and they are still working however. For example:
Code:
http://api-global.netflix.com/desktop/search/autocomplete?term=Mad+Men

Anyway, here's the call to their internal API that's failing:
Code:
http://api-global.netflix.com/desktop/odp/episodes?languages="+language+"&forceEpisodes=true&routing=redirect&video="+seriesID+"&country="+country

Bad news is that this call is being used in ZumZen's code too. So much for the theory that the internal API would remain fairly robust/intact...


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Sleuth255 - 2015-10-11

Ok, after sleeping on this my next step is to wireshark trace phone traffic while using its netflix app to retrieve episodes. Maybe I'll be able to see something interesting...

edit nope. It's all TLS...


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - AgileHumor - 2015-10-12

(2015-10-11, 16:05)Sleuth255 Wrote: Ok, after sleeping on this my next step is to wireshark trace phone traffic while using its netflix app to retrieve episodes. Maybe I'll be able to see something interesting...

edit nope. It's all TLS...

You'll want to use Fiddler with HTTPS debugging:
http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/DecryptHTTPS


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - jchirag - 2015-10-12

great


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Iveoles - 2015-10-12

I've gotten past that before using an app on the Mac, I don't have it handy as I'm on my phone. Unfortunately trying to understand the output was very difficult, it's not like the old endpoint. It looks very similar to the Ajax calls you can see when using the site.

I thought about finding an older device that has Netflix and listening to that. Unfortunately the oldest thing I have is an Apple TV which is fairly up to date. Does anyone else have something old they can set up an http proxy on?


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Cr0wl3r - 2015-10-12

Hi there,

seems there is again a problem with Netflixbmc in Germany.
When opening a series to see the episodes you will get a script error.
I installed the latest plugin from the repository.
I still running Kodi 14.2, but don't think that's the problem

Here the log file as I tried to open Lost.
Hope you guys can help me to fix that.

Code:
20:35:39 T:2628  NOTICE: -->Python Interpreter Initialized<--
20:35:41 T:2628  NOTICE: SSL is Disabled
20:35:41 T:2628  NOTICE: URL: http://api-global.netflix.com/desktop/odp/episodes?languages=en-US&forceEpisodes=true&routing=redirect&video=70136118&country=DE
20:35:41 T:2628   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: No JSON object could be decoded
                                            Traceback (most recent call last):
                                              File "C:\Users\htpc\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 1338, in <module>
                                                listSeasons(name, url, thumb)
                                              File "C:\Users\htpc\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 482, in listSeasons
                                                content = json.loads(content)
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\json\__init__.py", line 338, in loads
                                                return _default_decoder.decode(s)
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\json\decoder.py", line 366, in decode
                                                obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\json\decoder.py", line 384, in raw_decode
                                                raise ValueError("No JSON object could be decoded")
                                            ValueError: No JSON object could be decoded
                                            -->End of Python script error report<--
20:35:41 T:652   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listSeasons&name=Lost&thumb=C%3a%5cUsers%5chtpc%5cAppData%5cRoaming%5cKodi%5cuserdata%5caddon_data%5cplugin.video.netflixbmc%5ccache%5ccovers%5c70136118.jpg&url=70136118
20:35:41 T:652   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listSeasons&name=Lost&thumb=C%3a%5cUsers%5chtpc%5cAppData%5cRoaming%5cKodi%5cuserdata%5caddon_data%5cplugin.video.netflixbmc%5ccache%5ccovers%5c70136118.jpg&url=70136118) failed
20:35:41 T:3212  NOTICE: Thread BackgroundLoader start, auto delete: false
20:36:00 T:3900  NOTICE: Previous line repeats 2 times.
20:36:00 T:3900  NOTICE: Thread LanguageInvoker start, auto delete: false



RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Sleuth255 - 2015-10-12

please review the 5-10 posts immediately above your post


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - mrclever80 - 2015-10-18

So curious gents; is the API for Netflixbmc still not working? Just curious so I dont waste my time installing it if its still down for 14.2 Helix on Pi


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - corona - 2015-10-18

(2015-10-18, 03:36)mrclever80 Wrote: So curious gents; is the API for Netflixbmc still not working? Just curious so I dont waste my time installing it if its still down for 14.2 Helix on Pi

Sorry it's a no on two fronts. When the addon is fixed it will certainly be published here first.
Secondly, it's never worked on raspberry pi (as stated on first post). If netflix doesn't work in chrome on the platform, it's not going to work in this plugin.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Sleuth255 - 2015-10-20

Would anybody here find any value in a version of this plugin that just brings up Netflix in episodes view mode for TV series? For example, if you click on a TV show saved in my-list, it would launch Netflix in kiosk mode with the TV show's episodes shown ( by using the URL http://www.netflix.com/title/<show id>). Of course, this would require a mouse to actually select an episode for viewing since the Netflix website doesn't support keyboard based navigation. I could also give the option to automatically launch the next unwatched episode (http://www.netflix.com/watch/<show id>). So, clicking on a show saved in my-list would bring up a different sub-menu:

Watch Next Episode
Select Episode to watch

I'm probably going to make this change so if there's any interest I'll also post a copy of default.py here.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Sleuth255 - 2015-10-20

Here's the version that launches Netflix in episodes view when you click on a show from any TV menu:

http://pastebin.com/JPQFdq1T

It actually works fairly well given that you need to use a mouse to navigate.... To help out here, windows7 users might want to check out apptui which adds mouse and netflix specific capabilities to iphone/android devices, giving them the ability to act as a mouse enabled remote control for your windows server running Kodi.

edit. Actually, apptui is pretty cool. It automatically switches to a Kodi specific remote when it connects then to a Netflix specific remote (with mouse capabilities) when chrome launches. I really like this and it (appears to be) completely free. I'm wondering what the catch is...


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - tree_and_kite - 2015-10-21

Not sure if this has been mentioned or if this is even useful but Netflix Roulette has an api here: http://netflixroulette.net/api/


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - corona - 2015-10-22

(2015-10-20, 17:07)Sleuth255 Wrote: Here's the version that launches Netflix in episodes view when you click on a show from any TV menu:

http://pastebin.com/JPQFdq1T

It actually works fairly well given that you need to use a mouse to navigate.... To help out here, windows7 users might want to check out apptui which adds mouse and netflix specific capabilities to iphone/android devices, giving them the ability to act as a mouse enabled remote control for your windows server running Kodi.


I'm actually thinking of doing something similar to this for a medium term / alternate solution to the addons's issues, but also integrating keyboard control of the entire netflix interface.
I've done some work on this in the past, and have since found this project - which is currently also a bit broken but can be taken as inspiration to add controls. https://github.com/cheald/NetflixNavigator/

Some people may prefer to use netflix's interface over kodi's for browsing if their remote was going to work :-)


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - corona - 2015-10-22

(2015-10-21, 12:41)tree_and_kite Wrote: Not sure if this has been mentioned or if this is even useful but Netflix Roulette has an api here: http://netflixroulette.net/api/

Yeah a couple of us did quite a bit of investigation a good few pages back on various third party sites with usable api's. roulette does not provide anything that gives us a menu structure, so isn't going to help with browsing netflix. Ideally we still want to use the real netflix site/private api's for this to give people their personalized shows/results.

Roulette could be useful for the final step of getting show details however, once we have a display/menu/structure from netflix, it's probably a more stable api than scraping the private json/javascript api's and/or html from netflix's site for those details.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Sleuth255 - 2015-10-26

FYI, I'm currently working with apptui to get a close chrome browser capability into the netflix specific remote. Once I have that then it'll be a great remote for kodi/netflixbmc. Obviously some sort of chrome extension that can orchestrate Kodi remote button actions onto the "mouse only" netflix web gui would be ideal here but that could take a while. I wonder if we could successfully mount a campaign to get netflix to add keyboard navigation to the web gui instead. I'm not sure why they don't have this already since a mouse-only gui discriminates against disabled individuals who are trying to use netflix. Besides, I'd much prefer something official that wouldn't break.