HOW-TO:Use external players on Android
#16
BTW, it only tries to play with the external player now, although I can't see a player actually up on the screen...the "play" button in the bottom left won't activate.
Reply
#17
Deleted the play core file and XBMC internal player started working again....
Reply
#18
Have you a working solution for the CR11S? I only had look with Solid Explorer to MX Player Pro.
Reply
#19
I also cannot get this to work with the latest nightly, here is my log if it helps: http://xbmclogs.com/show.php?id=106201

When I click to view my video XBMC pops up a window titled "External Player Active" with the text "Click OK when playback has ended" and an "OK" button, but the external player is not launched (see log line 485, "12:00:08 T:1737988616 ERROR: CXBMCApp::StartActivity - ExceptionOccurred launching com.mxtech.videoplayer.ad")

[update] After further testing external players to down with the latest nightly! The file I was trying to play when I encountered the error above was on a samba share and does not launch the external player correctly. However, video plugins (e.g. Ice Player) and local files do launch the external player correctly.

Apologies for misleading anyone Blush, and thanks to the devs for getting this working and Ned for letting us know it had been fixed [/update]
Reply
#20
Hi

I have configured playercorefactory.xml to play videos via MX Player optionally.
Meaning when I click Play Using option and select Mx Player for local videos then it will load via MX Player.

My issue is that when I use any addons to load any online video and try to load it via MX Player it wont work.
But if I mod the xml to play all specific format such as mp4,avi then it will load via MX Player for streaming file.

Now in my case how do I mod the xml so that even for streaming file I can choose optionally when to play via MX Player.!!??

Any idea?
Reply
#21
After further testing this is working for me. I have updated my previous post so it does not mislead anyone.

Thanks to the devs, and Ned for letting us know, great stuff!
Reply
#22
I was hoping someone could help me with something? I want XBMC to use my external player (MX Player) instead of the XBMC's player .

I am using both the Frodo 12.4 and Gotham 13 Beta4 versions of XBMC (19th April Nightly build).

I created the file, when i play a film from (1channel Primeware or Mashup) it uses MX Player (the correct External Player), but if i try and play a live stream is states (External Player Active) "Click OK when playback has ended" (an example would be any stream from Expat TV, F.T.V, Navi-X, Mashup, Sports Devil, Nothing works other than films.

If someone could advise it would be great :-)

here is the file contents:-

<playercorefactory>
<players>
<player name="MXPlayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.mxtech.videoplayer.ad</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="MXPlayerPro" type="ExternalPlayer" audio="false" video="true">
<filename>com.mxtech.videoplayer.pro</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="TPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.tiantian.android.player.app</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="DicePlayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.inisoft.mediaplayer.trial</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="VLCPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.vlcforandroid.vlcdirectprofree</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="DicePlayerPaid" type="ExternalPlayer" audio="false" video="true">
<filename>com.inisoft.mediaplayer.a</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="RockPlayerLite" type="ExternalPlayer" audio="false" video="true">
<filename>com.redirectin.rockplayer.android.unified.lite</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="RockPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.rockplayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="BSPlayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.bsplayer.bspandroid.free</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="MoboplayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.clov4r.android.nilz</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="mVideoplayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>afzkl.development.mVideoPlayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="Vplayer" type="ExternalPlayer" audio="false" video="true">
<filename>me.abitno.vplayer.t</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="WondersharePlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.wondershare.player</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="ArchosVideo" type="ExternalPlayer" audio="false" video="true">
<filename>com.archos.mediacenter.video</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="SopCast" type="ExternalPlayer" audio="false" video="true">
<filename>org.sopcast.android</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="DaroonPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.daroonplayer.dsplayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule protocols="smb" player="MXPlayerFree" />
<rule dvdimage="true" player="MXPlayerFree"/>
<rule protocols="rtmp" player="MXPlayerFree"/>
<rule protocols="rtsp" player="MXPlayerFree" />
<rule protocols="sop" player="MXPlayerFree" />
<rule internetstream="true" player="MXPlayerFree" />
<rule video="true" player="MXPlayerFree"/>
</rules>
</playercorefactory>

jj
Reply
#23
(2014-01-05, 14:06)sweatherly Wrote: I also cannot get this to work with the latest nightly, here is my log if it helps: http://xbmclogs.com/show.php?id=106201

When I click to view my video XBMC pops up a window titled "External Player Active" with the text "Click OK when playback has ended" and an "OK" button, but the external player is not launched (see log line 485, "12:00:08 T:1737988616 ERROR: CXBMCApp::StartActivity - ExceptionOccurred launching com.mxtech.videoplayer.ad")

[update] After further testing external players to down with the latest nightly! The file I was trying to play when I encountered the error above was on a samba share and does not launch the external player correctly. However, video plugins (e.g. Ice Player) and local files do launch the external player correctly.

Apologies for misleading anyone Blush, and thanks to the devs for getting this working and Ned for letting us know it had been fixed [/update]

(2014-01-05, 14:06)sweatherly Wrote: I also cannot get this to work with the latest nightly, here is my log if it helps: http://xbmclogs.com/show.php?id=106201

When I click to view my video XBMC pops up a window titled "External Player Active" with the text "Click OK when playback has ended" and an "OK" button, but the external player is not launched (see log line 485, "12:00:08 T:1737988616 ERROR: CXBMCApp::StartActivity - ExceptionOccurred launching com.mxtech.videoplayer.ad")

[update] After further testing external players to down with the latest nightly! The file I was trying to play when I encountered the error above was on a samba share and does not launch the external player correctly. However, video plugins (e.g. Ice Player) and local files do launch the external player correctly.

Apologies for misleading anyone Blush, and thanks to the devs for getting this working and Ned for letting us know it had been fixed [/update]

I was hoping someone could help me with something? I want XBMC to use my external player (MX Player) instead of the XBMC's player .

I am using both the Frodo 12.4 and Gotham 13 Beta4 versions of XBMC (19th April Nightly build).

I created the file, when i play a film from (1channel Primeware or Mashup) it uses MX Player (the correct External Player), but if i try and play a live stream is states (External Player Active) "Click OK when playback has ended" (an example would be any stream from Expat TV, F.T.V, Navi-X, Mashup, Sports Devil, Nothing works other than films.

If someone could advise it would be great :-)

here is the file contents:-

<playercorefactory>
<players>
<player name="MXPlayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.mxtech.videoplayer.ad</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="MXPlayerPro" type="ExternalPlayer" audio="false" video="true">
<filename>com.mxtech.videoplayer.pro</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="TPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.tiantian.android.player.app</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="DicePlayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.inisoft.mediaplayer.trial</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="VLCPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.vlcforandroid.vlcdirectprofree</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="DicePlayerPaid" type="ExternalPlayer" audio="false" video="true">
<filename>com.inisoft.mediaplayer.a</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="RockPlayerLite" type="ExternalPlayer" audio="false" video="true">
<filename>com.redirectin.rockplayer.android.unified.lite</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="RockPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.rockplayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="BSPlayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.bsplayer.bspandroid.free</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="MoboplayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.clov4r.android.nilz</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="mVideoplayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>afzkl.development.mVideoPlayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="Vplayer" type="ExternalPlayer" audio="false" video="true">
<filename>me.abitno.vplayer.t</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="WondersharePlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.wondershare.player</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="ArchosVideo" type="ExternalPlayer" audio="false" video="true">
<filename>com.archos.mediacenter.video</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="SopCast" type="ExternalPlayer" audio="false" video="true">
<filename>org.sopcast.android</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="DaroonPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.daroonplayer.dsplayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule protocols="smb" player="MXPlayerFree" />
<rule dvdimage="true" player="MXPlayerFree"/>
<rule protocols="rtmp" player="MXPlayerFree"/>
<rule protocols="rtsp" player="MXPlayerFree" />
<rule protocols="sop" player="MXPlayerFree" />
<rule internetstream="true" player="MXPlayerFree" />
<rule video="true" player="MXPlayerFree"/>
</rules>
</playercorefactory>
Reply
#24
I want to note, that hidexbmc value depends on your device.
For example on my Android TV on Konka 6369 (DNS K42DS712) external player works only if
Code:
<hidexbmc>false</hidexbmc>

And I has a problem with playing network videos too.
My playercorefactory.xml is
Code:
<playercorefactory>
<players>
<player name="MXPlayerPro" type="ExternalPlayer" audio="false" video="true">
<filename>com.mxtech.videoplayer.pro</filename>
<hidexbmc>false</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
<rules action="prepend">
<rule video="true" player="MXPlayerPro"/>
</rules>
</playercorefactory>
I has a configured access via webdav to my remote Synology NAS (because it much faster then smb and don't need VPN)
(i.e. dav://USERNAMETongueASSWORD@DDNS_HOST_ADRESSTongueORT/SHARED_FOLDER/)
Entire XBMC player can play videos through this connection (but it not fully hardware acseleration compatible yet)
MXPlayerPro can play videos through such connection configured in ES3 File Explorer and DSFile.
But as ExternalPlayer in XBMC MXPlayerPro can't do it - ERROR: CXBMCApp::StartActivity - ExceptionOccurred launching com.mxtech.videoplayer.pro
I try to add rule protocols="dav" and protocols="smb" to playercorefactory.xml but has no difference.

PS: xbmc-20140418-3a77615-Gotham-armeabi-v7a.apk and xbmc-20140419-51d4cbd-Gotham-armeabi-v7a.apk tested
Reply
#25
It does not seem to matter what I do I get the same results. I have cut down the file to the basics see below:-

<playercorefactory>
<players>
<player name="MXPlayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.mxtech.videoplayer.ad</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

</players>
<rules action="prepend">
<rule video="true" player="MXPlayerFree"/>
</rules>
</playercorefactory>

I have tried changing the hidexbmc to false and still no diffference.

I don't understand, if I go to 1channel, it plays a film using MX Player, then if I got to say klm05 sports links in Mashup, I get the message (External Player Active) "Click OK when playback has ended".

I cannot be the only one that experiences this problem, I am sure everyone has had this problem and I hoping someone would share the answer please?

Thanks for your help.
Reply
#26
Is this problem only with SMB shares? I am experiencing the same problems as others, more specifically the external player does not launch.
Reply
#27
I want to use also MXPlayerPro to play videos started over kodi because of HW+ decoding in MXP. Kodi own player have some stuttering on some of my video files.

Code:
<playercorefactory>
        <players>
                <player name="Video" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.mxtech.videoplayer.pro</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>
        </players>
        <rules action="prepend">
                <rule protocols="smb" name="Video"/>
                <rule video="true" player="Video"/>
        </rules>
</playercorefactory>

When starting a file located on smb drive, kodi tries to start/pass the file and goes back in same second to the play list. But when starting a file located on the sdcard, the playback over MXP is ok.

debug-log:
Code:
ERROR: CXBMCApp::StartActivity - ExceptionOccurred launching com.mxtech.videoplayer.pro
NOTICE: ExecuteAppAndroid: Failure
NOTICE: Process: Stop
NOTICE: Process: Showing SPMC window

I am using an AndoidTV but the issue also occurs on a Google Nexus 5 (used only for pre-testing)
Sony KD-65XF9005 ATV 2018 SonyFW [actual crappy / buggy version] - Sony STR-DN1070 - NVIDIA SHIELD TV [2017]
Reply
#28
for 642876 time, MX does not support SMB so that will not work.
Reply
#29
(2017-03-30, 10:33)kinggo Wrote: for 642876 time, MX does not support SMB so that will not work.

Sorry, i assumed that MX is able to play smb files because there is a possibility to open a Networkstream...
Sony KD-65XF9005 ATV 2018 SonyFW [actual crappy / buggy version] - Sony STR-DN1070 - NVIDIA SHIELD TV [2017]
Reply
#30
Is there any way to cache smb share files in kodi and to pass via playercorefactory.xml to the internal video app? Or pass a DLNA stream?
The internal Sony video app supports only USB or DLNA files. But this app has no issues with video playback. Many other video apps (kodi included with different settings) i tried has problems with stuttering on my TV, see post: Link

I set a DLNA server on my NAS, but Kodi is not able to link the movies with a movie database.
Sony KD-65XF9005 ATV 2018 SonyFW [actual crappy / buggy version] - Sony STR-DN1070 - NVIDIA SHIELD TV [2017]
Reply

Logout Mark Read Team Forum Stats Members Help
HOW-TO:Use external players on Android2