[RELEASE] Flix2Kodi - Just another Netflix-Addon
I have an Nvidia Shield Android TV with Chrome and Netflix installed.

When opening "http://www.netflix.com/WiPlayer?movieid=70134159" or "http://www.netflix.com/watch/70134159" in Chrome (on my Nvidoa Shield Android TV), the Neflix app (com.netflix.mediaclient, not com.netflix.ninja) opens automatically and starts playing the first episode of X-Files (=movieID=70134159).

Is it possible to add Android as one of the options for Flix2Kodi, so that Flix2Kodi opens the movie url in the Chrome Android App? Chrome will then automatically open the movie/tvshow in the Neflix app if installed / sideloaded. This is what I found about opening urls in the chrome app:

Code:
String url = "http://www.netflix.com/watch/70134159";
    Intent i = new Intent();
    i.setPackage("com.android.chrome");
    i.setAction(Intent.ACTION_VIEW);
    i.setData(Uri.parse(url));
    startActivity(i);

An alternative would be to bypass Chrome, and open the movie directly in the Netflix app right from this addon. The following code opens the first episode of X-Files (=movieID=70134159) in the Neflix app from other Android apps:

Code:
String netFlixId = "70134159";
String watchUrl = "http://www.netflix.com/watch/"+netFlixId;
try {
        Intent intent = new Intent(Intent.ACTION_VIEW);
        intent.setClassName("com.netflix.mediaclient", "com.netflix.mediaclient.ui.launch.UIWebViewActivity");
        intent.setData(Uri.parse(watchUrl));
        startActivity(intent);            
}

Can this be accomplished from inside kodi? With this addon?
Reply


Messages In This Thread
RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - by dorf - 2016-01-28, 19:03
No access to TV show data - by seriousjohn - 2016-11-03, 19:01
Flix2kodi <crashed> - by Garri - 2016-01-08, 19:29
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Flix2Kodi - Just another Netflix-Addon8