Kodi Community Forum

Full Version: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2015-08-26, 19:05)msmith8228 Wrote: [ -> ]I suspect that requesting an official KODI - Netflix plugin or the exact details about the closed Netflix API will get us a zero response.

With the withdrawal of the public API, closing down the WMC Netflix interface on Sept 15th and all of the constant changes to the web interface HTML code we seem to be stepping backwards further and further each day from any kind of working long term KODI interface to Netflix. Add to that the apparent ongoing fear Netflix seems to have of adding any keyboard arrow navigation keys to the current web interface makes this whole thing very painful. I am not sure what their problem is with keyboard commands -- possibly some sort of security fear for content owners ??. Clearly they seem to have no concept of the need for any type of a HTPC interface -- most likely due to the fact that HTPC users are a small percentage of their overall user base (and decreasing each month compared to all the other NetFlix devices out there).

If I understand it correctly there is a similar mess in trying to integrate HULU or Amazon instant video into KODI with the constant almost daily break down and resulting security changes to the Adobe Flash plugin.

All in all a very frustrating experience. KODI is a perfect as a media center -- except for all these web streaming integration issues -- and in the end none of these problems are really KODI's fault in any way. Having a fully integrated KODI - Netflix experience (or a least a somewhat seamless KODI - Chrome - Netflix experience) is something that is not going to happen in the near future.

I hope I am wrong about this but without the details as to the closed API this whole thing will remain a mess.

Ask them to add keyboard controls to the Windows App. I'd think that's the absolute easiest to do. At least this is what I've been asking for whenever I talk to support.
(2015-08-26, 19:05)msmith8228 Wrote: [ -> ]I suspect that requesting an official KODI - Netflix plugin or the exact details about the closed Netflix API will get us a zero response.

With the withdrawal of the public API, closing down the WMC Netflix interface on Sept 15th and all of the constant changes to the web interface HTML code we seem to be stepping backwards further and further each day from any kind of working long term KODI interface to Netflix. Add to that the apparent ongoing fear Netflix seems to have of adding any keyboard arrow navigation keys to the current web interface makes this whole thing very painful. I am not sure what their problem is with keyboard commands -- possibly some sort of security fear for content owners ??. Clearly they seem to have no concept of the need for any type of a HTPC interface -- most likely due to the fact that HTPC users are a small percentage of their overall user base (and decreasing each month compared to all the other NetFlix devices out there).

If I understand it correctly there is a similar mess in trying to integrate HULU or Amazon instant video into KODI with the constant almost daily break down and resulting security changes to the Adobe Flash plugin.

All in all a very frustrating experience. KODI is a perfect as a media center -- except for all these web streaming integration issues -- and in the end none of these problems are really KODI's fault in any way. Having a fully integrated KODI - Netflix experience (or a least a somewhat seamless KODI - Chrome - Netflix experience) is something that is not going to happen in the near future.

I hope I am wrong about this but without the details as to the closed API this whole thing will remain a mess.

I hope you are wrong, but you may be right. I don't understand Netflix decisions to not allow support of as many legal devices as possible. It isn't like we are trying to pirate the stuff or record it. We are using the official DRM support in Chrome to keep it locked down. That is fine. All I want is a SINGLE place for over-the-air recorded TV and Netflix with a single 10 foot interface that is remote capable. That WAS WMC until Netflix killed that (and Microsoft is going that was too with 10, but that is a separate problem.) That single point could easily be KODI.

But I can't have a hacked Netflix viewer that quits or needs updates while I'm away from home. Wife will end up buying DirecTV again and I don't want that!

AARRRR!!!!! NETFLIX. MICROSOFT. You are both doing bad things to me!!!!
Microsoft recently announced that sometime in 2016 the Xbox One will be able to function as a DVR. I feel like that is where they want the Windows Media Center users to go. I don't think it will work too well considering that we are all forced to find new solutions in the mean time. That and the cost of an Xbox One, the TV tuner, and an external hard drive.
For now I think I'm going to order a mini keyboard remote with track pad and setup Kodi to open the windows netflix app from the home menu. I'll have two remotes (which I don't want) but I think that's the best solution for me.

The other option is Tablo and Roku. But that's still two remotes and a lot more money.
The last thing I want to do is turn anyone away from this great add-on effort, but after just finishing up with WMC's die-off of Netflix, I don't want to deal with that again. As I've upgraded to Windows 10 and have used the Netflix app on my desktop PC, it occurred to me today to install the Netflix app on my HTPC. It works rather well but it does require a Netflix web remote interface, which I do have.

I much rather have the integration in Kodi, but right now, that doesn't seem possible. So my question is would this app provide enough of an interface to incorporate into Kodi? Huh
I'm very sorry to ask a question that has probably been asked and answered many times, but when a topic has this many pages it becomes difficult and very time consuming to read everything.

I just installed the latest NetFlixXBMC on my Isengard release, with Chrome v44 and Python 2.7.10 (64bit) installed.

I have two issues:

1) It doesn't ask me for a profile, anywhere, even with the 'ask for profile on each start' radio button selected

2) Choosing anything, TV, Movies results in the following error in the log file

Code:
14:23:40 T:5956  NOTICE: -->Python Interpreter Initialized<--
14:23:47 T:5956   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'match' referenced before assignment
                                            Traceback (most recent call last):
                                              File "C:\Users\Robert\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc-1.3.4\default.py", line 977, in <module>
                                                listVideos(url, type)
                                              File "C:\Users\Robert\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc-1.3.4\default.py", line 164, in listVideos
                                                for videoID in match:
                                            UnboundLocalError: local variable 'match' referenced before assignment
                                            -->End of Python script error report<--
14:23:47 T:5320   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=tv&url=http%3a%2f%2fwww.netflix.com%2fWiGenre%3fagid%3d83
14:23:47 T:5320   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=tv&url=http%3a%2f%2fwww.netflix.com%2fWiGenre%3fagid%3d83) failed

Again, apologies for asking something that's most likely already been asked, and help would be much appreciated.
(2015-08-26, 19:43)hstegeman Wrote: [ -> ]http://instantwatcher.com/
The problem with this site is that the source is for US only. Some links don't exists in the Netherlands by example. But the site looks great.

Good find with this site, I wonder if there's another similar one that's international?
This appears to be similar to netflixroulette in that it's one of the very few third-party sites that was granted an api key when netflix shut down the public api.

There's no way they're going to give us access to the private api, we're open source so it wouldn't be private anymore! There's nothing stopping us from using a site like this as our defacto proxy-api though :-)
I can already see some interesting things on their page, such as: http://jsapi.netflix.com/us/api/js/api.js

UPDATE

Taking this one step further, I found a couple of mentions in various blogs of the list of sites that were granted api access when the public api was turned off, after checking them out one stood out dramatically

http://www.yidio.com/

This is an aggregator for a large list of online steaming services. You can see shows available on any/all of them, or filter by service.

If we can parse this site instead, well, stuff netflix site - this gives us a semi-universal streaming plugin. Seeing as I'm already handing playback over to a browser it doesn't matter that yidio hands us over to different websites for playback.

developer teaser: I've had good luck already, try this in your browser :-)
http://cf.yidio.com/ajax_base_dir_shows_...letter=All

stay tuned.... my next plugin once I've released my sbs online one won't be a hulu addon, it'll be yidio
(2015-08-27, 08:28)corona Wrote: [ -> ]
(2015-08-26, 19:43)hstegeman Wrote: [ -> ]http://instantwatcher.com/
The problem with this site is that the source is for US only. Some links don't exists in the Netherlands by example. But the site looks great.

Good find with this site, I wonder if there's another similar one that's international?
This appears to be similar to netflixroulette in that it's one of the very few third-party sites that was granted an api key when netflix shut down the public api.

There's no way they're going to give us access to the private api, we're open source so it wouldn't be private anymore! There's nothing stopping us from using a site like this as our defacto proxy-api though :-)
I can already see some interesting things on their page, such as: http://jsapi.netflix.com/us/api/js/api.js

UPDATE

Taking this one step further, I found a couple of mentions in various blogs of the list of sites that were granted api access when the public api was turned off, after checking them out one stood out dramatically

http://www.yidio.com/

This is an aggregator for a large list of online steaming services. You can see shows available on any/all of them, or filter by service.

If we can parse this site instead, well, stuff netflix site - this gives us a semi-universal streaming plugin. Seeing as I'm already handing playback over to a browser it doesn't matter that yidio hands us over to different websites for playback.

developer teaser: I've had good luck already, try this in your browser :-)
http://cf.yidio.com/ajax_base_dir_shows_...letter=All

stay tuned.... my next plugin once I've released my sbs online one won't be a hulu addon, it'll be yidio

Quote:Good find with this site, I wonder if there's another similar one that's international?

An other international site that was granted an api key would be:
http://www.allflicks.net/

other countries:
http://www.allflicks.nl/
http://www.allflicks.net/uk/
http://de.allflicks.net/

An other option:
http://www.moreflicks.com/
The option all countries would be interresting, but it's also posible to select one country.

I did also look at.
http://www.yidio.com/
I did make an account, but I was not able to activate my Netflix account to yidio.
I think the problem is country related, I did also try their android app, but I see this item isn't available in your country.
By making use of aptoide, I am was able to download/install the android app, it's working but I can't select the Netherlands.
To make use of this app does only work for me incombination with a vpn connection like hola.

Other interresting sites:
http://nld.istreamguide.com/?
http://usa.istreamguide.com/?
And other languages.
or the beta version:
http://beta.istreamguide.com/

Edit:
My favourite solution would be completely different, a seperation between indexers and sources.
The indexer would be imdb, and the sources netflix, amazon, hulu,etc.

For amazon this shouldn't be a problem.
Within the next list you can find all amazon movies.

Most Popular Feature Films With Online Videos Available on Amazon Instant Video, Amazon Prime Instant Video
http://www.imdb.com/search/title?online_...pe=feature

Imdb and amazon are related, so an option for netflix is just an illusion.
Hi and thx for developing this addon.

I have installed the latsest version of lubuntu, kodi and Chrome browser(not chronioum). Netflix works in the chrome browser.
Installed netflixbmc from ur repository with chrome launcher.
Set it up for my account.
It logs in , loads 100% and gets to the lists. However whenever i choose a list, doesnt matter which one, no movies or episodes show up just a list with the go back button and next page button. No errors are shown.

What do i do?
(2015-08-27, 09:38)hstegeman Wrote: [ -> ]An other option:
http://www.moreflicks.com/
The option all countries would be interresting, but it's also posible to select one country.

I did also look at.
http://www.yidio.com/
I did make an account, but I was not able to activate my Netflix account to yidio.
I think the problem is country related, I did also try their android app, but I see this item isn't available in your country.
By making use of aptoide, I am was able to download/install the android app, it's working but I can't select the Netherlands.
To make use of this app does only work for me incombination with a vpn connection like hola.

Other interresting sites:
http://nld.istreamguide.com/?
http://usa.istreamguide.com/?
And other languages.
or the beta version:
http://beta.istreamguide.com/

Thanks for doing some decent legwork :-)

I certainly appreciate that yidio's lack of internationalization on netflix is a real limitation. moreflicks appears a much better option in this regard, it supports a few services and various countries for netflix.
They don't have a particularly great api jumping out at me, rather their ajax work is to spit out blobs of jquery wrapped html to inject into the page, eg:

http://www.moreflicks.com/search?ccat=mo...=&scroll=3

It certainly could be used though to build an addon.

istreamguide.com looks like a gem as far as netflix is concerned.
It was easy to find it's nice json api: https://jsonformatter.curiousconcept.com...ge=1&per=3
I have stopped using netflixbmc almost completely all except for the play video action which I initiate over json from android. But its buggy the remote seems to still send events to kodi in background so I make sure I am in the weather tab before initiating a video.

I miss the nice integration with kodi

Appreciate all the hard work from everyone
Greetings all,

I have recently begun setting up Kodi to use as my Neflix interface due to WMC stopping support on Sept. 15th. I'm using Chrome Launcher and Netflixbmc on Windows 7. Two weeks ago, I had it working perfectly, but then, something changed. At first, all my movies and shows were missing from My List. I edited the default.py in the Netflixbmc folder per post 1075 of this thread. That got all my movies back. However, I now have a different problem. At first, I was able to watch a movie the first time I started up Kodi. However, if I exit out of Chrome and Kodi and then tried to go back and watch something else later, Chrome shows the "He's Dead, Jim" screen. The address bar has the location of the 'black.html' file used by Chrome Launcher. I can get it all working again by reinstalling Chrome Launcher, but it'll just give me the same error the second time I try to watch something.

Here's the error I found in the log:

17:58:46 T:3440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'black_background' is not defined
Traceback (most recent call last):
File "C:\Users\Vern1980\AppData\Roaming\Kodi\addons\plugin.program.chrome.launcher\default.py", line 387, in <module>
showSite(url, stopPlayback, kiosk, userAgent)
File "C:\Users\Vern1980\AppData\Roaming\Kodi\addons\plugin.program.chrome.launcher\default.py", line 214, in showSite
fullUrl = getFullPath(chrome_path, url, kiosk, userAgent)
File "C:\Users\Vern1980\AppData\Roaming\Kodi\addons\plugin.program.chrome.launcher\default.py", line 161, in getFullPath
with open(black_background, "w") as launch:
NameError: global name 'black_background' is not defined
-->End of Python script error report<--

I don't really know anything about code and I wasn't able to find much help in this thread or the Chrome Launcher one. I hope someone out there can offer some assistance. Please let me know if you need anything else from me.

Thanks!
(2015-08-21, 18:54)TooManyAntennas Wrote: [ -> ]Well, as much as I LOVE this add-on and really think the work is great, I'm afraid Netflix (or Google) will break it while I'm working in the field and Wife is not going to be happy. Official API would be REALLY nice.

So the squeaky wheel get the grease. We ALL need to open an request for official API or official support with Netflix. I just did and if enough of us WMC refugees, along with regular users of Kodi, suggest Kodi support, Maybe it will happen. Remember, we are not pirating anything and with tuner support, Kodi is a very valid way to watch OTA and Netflix from one common 10 foot, remote friendly interface. A valid WMC replacer.... Guy I chatted with said he would pass on to correct department. Here is how I did the chat with Netflix:

From eHow: "To reach the Help Center, first log on to Netflix and then mouse over your account name in the upper right-hand corner. A menu appears. Click "Help Center". The Help Center provides links with answers to common questions. You will see categories like "Learn About Netflix", "Manage My Account," "Watching Netflix," and more, but none of the selections will let you make a direct request for a new title. To request a new title you will need to communicate directly with a Netflix representative using a chat session or by calling the customer service number.

Read more : http://www.ehow.com/how_8194260_request-...tflix.html"

Tell them you really would like offical support for Kodi. Even an offical API to program against would be better than nothing, then Netflix wouldn't even have to write it, would they?

Let the complaining to Netflix begin...

Well, I just requested an official Netflix app for Kodi through Netflix' chat support. They said they would pass it on to their developers since they like to have it available on as many platforms as possible. She was likely blowing smoke up my wazoo, but at least they have the request. Heck, ya never know, if enough of us request it......
(2015-08-26, 19:43)hstegeman Wrote: [ -> ]
(2015-08-26, 03:27)Sleuth255 Wrote: [ -> ]Verified. It looks like the HTML has been modified so the regex searches are broken.
Just an idea, if the html from netflix is changing all the time, wouldn't it be possible to scrape a website containing the netflix information.
By example:

http://instantwatcher.com/
The problem with this site is that the source is for US only. Some links don't exists in the Netherlands by example. But the site looks great.

Additional information:
How are you associated with Netflix?
Netflix built something called the Netflix API, which lets independent software developers use Netflix's database to build useful applications for Netflix users. This website uses the Netflix API to build its own, separate database of Netflix's streaming titles. This website is not owned or controlled by Netflix.

The problem is My List. Probably the single most important Netflix metadata for most people.
(2015-08-29, 00:25)Sleuth255 Wrote: [ -> ]
(2015-08-26, 19:43)hstegeman Wrote: [ -> ]
(2015-08-26, 03:27)Sleuth255 Wrote: [ -> ]Verified. It looks like the HTML has been modified so the regex searches are broken.
Just an idea, if the html from netflix is changing all the time, wouldn't it be possible to scrape a website containing the netflix information.
By example:

http://instantwatcher.com/
The problem with this site is that the source is for US only. Some links don't exists in the Netherlands by example. But the site looks great.

Additional information:
How are you associated with Netflix?
Netflix built something called the Netflix API, which lets independent software developers use Netflix's database to build useful applications for Netflix users. This website uses the Netflix API to build its own, separate database of Netflix's streaming titles. This website is not owned or controlled by Netflix.

The problem is My List. Probably the single most important Netflix metadata for most people.
That's no problem, you could make use of two sources. Netflix for the list, which is still working fine, and a second website source which making use of the secret netflix api.
It's still possible to make use of netflixbmc, but you have to place your movies and tv shows in My List. That can be done by making use of the android netflix app.
An other option is to add My List to xbmc library.