2016-01-28, 19:03
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:
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:
Can this be accomplished from inside kodi? With this addon?
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?