Hello,
I’m developing an recommendation app for kodi.
https://github.com/deblockt/kodiRecommendation
I’have an issue to run kodi and start a video.
I use this intent code to run kodi :
Code:
Intent detailsIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(movie.getPath()));
detailsIntent.setDataAndType(Uri.parse(movie.getPath()), "video/*");
detailsIntent.setPackage("org.xbmc.kodi");
If kodi is not running on background this work fine. If kodi already running in background, kodi start but don’t play video.
Someone have already have the same issue?
Thank’s.